qCC_db version 2.13.alpha (Qt) - 31 May 2022
CloudCompare 3D entities
|
CloudCompare object type flags. More...
Enumerations | |
enum | : CC_CLASS_ENUM { OBJECT = 0 , HIERARCHY_OBJECT = CC_HIERARCH_BIT , POINT_CLOUD = HIERARCHY_OBJECT | CC_CLOUD_BIT , MESH = HIERARCHY_OBJECT | CC_MESH_BIT , SUB_MESH = HIERARCHY_OBJECT | CC_MESH_BIT | CC_LEAF_BIT , MESH_GROUP = MESH | CC_GROUP_BIT , FACET = HIERARCHY_OBJECT | CC_FACET_BIT , POINT_OCTREE = HIERARCHY_OBJECT | CC_OCTREE_BIT | CC_LEAF_BIT , POINT_KDTREE = HIERARCHY_OBJECT | CC_KDTREE_BIT | CC_LEAF_BIT , POLY_LINE = HIERARCHY_OBJECT | CC_POLYLINE_BIT , IMAGE = CC_HIERARCH_BIT | CC_IMAGE_BIT , CALIBRATED_IMAGE = IMAGE | CC_LEAF_BIT , SENSOR = CC_HIERARCH_BIT | CC_SENSOR_BIT , GBL_SENSOR = SENSOR | CC_GROUND_BASED_BIT , CAMERA_SENSOR = SENSOR | CC_CAMERA_BIT , PRIMITIVE = MESH | CC_PRIMITIVE_BIT , PLANE = PRIMITIVE | CC_PLANE_BIT , SPHERE = PRIMITIVE | CC_SPHERE_BIT , TORUS = PRIMITIVE | CC_TORUS_BIT , CONE = PRIMITIVE | CC_CONE_BIT , OLD_CYLINDER_ID = PRIMITIVE | CC_CYLINDER_BIT , CYLINDER = PRIMITIVE | CC_CYLINDER_BIT | CC_CONE_BIT , BOX = PRIMITIVE | CC_BOX_BIT , DISH = PRIMITIVE | CC_DISH_BIT , EXTRU = PRIMITIVE | CC_EXTRU_BIT , QUADRIC = PRIMITIVE | CC_QUADRIC_BIT , MATERIAL_SET = CC_MATERIAL_BIT | CC_GROUP_BIT | CC_LEAF_BIT , ARRAY = CC_ARRAY_BIT , NORMALS_ARRAY = CC_ARRAY_BIT | CC_NORMAL_BIT | CC_LEAF_BIT , NORMAL_INDEXES_ARRAY = CC_ARRAY_BIT | CC_COMPRESSED_NORMAL_BIT | CC_LEAF_BIT , RGB_COLOR_ARRAY = CC_ARRAY_BIT | CC_RGB_COLOR_BIT | CC_LEAF_BIT , RGBA_COLOR_ARRAY = CC_ARRAY_BIT | CC_RGBA_COLOR_BIT | CC_LEAF_BIT , TEX_COORDS_ARRAY = CC_ARRAY_BIT | CC_TEX_COORDS_BIT | CC_LEAF_BIT , LABEL_2D = HIERARCHY_OBJECT | CC_LABEL_BIT | CC_LEAF_BIT , VIEWPORT_2D_OBJECT = HIERARCHY_OBJECT | CC_VIEWPORT_BIT | CC_LEAF_BIT , VIEWPORT_2D_LABEL = VIEWPORT_2D_OBJECT | CC_LABEL_BIT , CLIPPING_BOX = CC_CLIP_BOX_BIT | CC_LEAF_BIT , TRANS_BUFFER = HIERARCHY_OBJECT | CC_TRANS_BUFFER_BIT | CC_LEAF_BIT , COORDINATESYSTEM = PRIMITIVE | CC_COORDINATESYSTEM_BIT , CUSTOM_H_OBJECT = HIERARCHY_OBJECT | CC_CUSTOM_BIT , CUSTOM_LEAF_OBJECT = CUSTOM_H_OBJECT | CC_LEAF_BIT } |
CloudCompare object type flags.
anonymous enum : CC_CLASS_ENUM |
Enumerator | |
---|---|
CUSTOM_H_OBJECT | Custom objects are typically defined by plugins. They can be inserted in an object hierarchy or displayed in an OpenGL context like any other ccHObject. To differentiate custom objects, use the meta-data mechanism (see ccObject::getMetaData and ccObject::setMetaData). You can also define a custom icon (see ccHObject::getIcon). It is highly advised to use the ccCustomHObject and ccCustomLeafObject interfaces to define a custom types. Carefully read the ccCustomHObject::isDeserialized method's description and the warning below! Warning: custom objects can't be 'fully' serialized. Don't overload the 'ccSerializableObject::toFile' method for them as this would break the deserialization mechanism! They can only be serialized as plain ccHObject instances (CC_TYPES::HIERARCHY_OBJECT). Hierarchical custom objects (CC_TYPES::CUSTOM_H_OBJECT) will be deserialized as ccCustomHObject instances. Leaf custom objects (CC_TYPES::CUSTOM_LEAF_OBJECT) will be deserialized as ccCustomLeafObject instances. |