public enum ELcdOGC3DTilesPointCloudCompressionType extends Enum<ELcdOGC3DTilesPointCloudCompressionType>
Enum Constant and Description |
---|
DRACO
Draco point cloud compression.
|
NONE
No point cloud compression
|
Modifier and Type | Method and Description |
---|---|
static ELcdOGC3DTilesPointCloudCompressionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ELcdOGC3DTilesPointCloudCompressionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ELcdOGC3DTilesPointCloudCompressionType NONE
public static final ELcdOGC3DTilesPointCloudCompressionType DRACO
The Google Draco library is an open-source royalty-free library offering compression for 3D graphics.
Draco point cloud 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 PNTS files referred to 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 point cloud is less than 1mm.
public static ELcdOGC3DTilesPointCloudCompressionType[] values()
for (ELcdOGC3DTilesPointCloudCompressionType c : ELcdOGC3DTilesPointCloudCompressionType.values()) System.out.println(c);
public static ELcdOGC3DTilesPointCloudCompressionType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null