Enum Class ELcdOGC3DTilesMeshCompressionType
- All Implemented Interfaces:
Serializable
,Comparable<ELcdOGC3DTilesMeshCompressionType>
,Constable
Supported values:
Use:
TLcdOGC3DTilesModelEncoder.setMeshCompression(com.luciad.format.tiled3d.ogc3dtiles.ELcdOGC3DTilesMeshCompressionType)
- Since:
- 2021.1
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static ELcdOGC3DTilesMeshCompressionType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
No mesh compression -
DRACO
Draco mesh compression.The Google Draco library is an open-source royalty-free library offering compression for 3D graphics. The library was extended for GLTF 2.0 by Khronos.
Draco mesh compression can significantly reduce the size of 3D content: it compresses vertex positions, normals, texture coordinates, colors, and other generic properties. This reduces the size of the B3DM files inside the OGC 3D Tiles dataset, which leads to faster streaming. The client in which you want to visualize the data needs to support Draco compression. It will decompress the data at runtime.
Although the time to decode the tiles increases, the time to stream the tiles decreases more, resulting in an overall reduction of load times. The maximum error for the resulting mesh is less than 1mm.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-