ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
CV_TYPES Namespace Reference

cloudViewer object type flags More...

Enumerations

enum  GeometryType : CV_CLASS_ENUM {
  OBJECT = 0 , HIERARCHY_OBJECT = 0x00000000000001 , POINT_CLOUD = HIERARCHY_OBJECT | 0x00000000000100 , MESH = HIERARCHY_OBJECT | 0x00000000000200 ,
  SUB_MESH = HIERARCHY_OBJECT | 0x00000000000200 | 0x00000000000002 , MESH_GROUP = MESH | 0x00000000000004 , FACET = HIERARCHY_OBJECT | 0x00000000800000 , POINT_OCTREE = HIERARCHY_OBJECT | 0x00000000000400 | 0x00000000000002 ,
  POINT_KDTREE = HIERARCHY_OBJECT | 0x00000000400000 | 0x00000000000002 , POLY_LINE = HIERARCHY_OBJECT | 0x00000000000800 , CIRCLE = POLY_LINE | 0x00002000000000 , IMAGE = 0x00000000000001 | 0x00000000001000 ,
  CALIBRATED_IMAGE = IMAGE | 0x00000000000002 , SENSOR = 0x00000000000001 | 0x00000000002000 , GBL_SENSOR = SENSOR | 0x00000008000000 , CAMERA_SENSOR = SENSOR | 0x00000100000000 ,
  PRIMITIVE = MESH | 0x00000000000008 , PLANE = PRIMITIVE | 0x00000000004000 , SPHERE = PRIMITIVE | 0x00000000008000 , TORUS = PRIMITIVE | 0x00000000010000 ,
  CONE = PRIMITIVE | 0x00000000040000 , OLD_CYLINDER_ID , CYLINDER , BOX = PRIMITIVE | 0x00000000080000 ,
  DISH = PRIMITIVE | 0x00000000100000 , EXTRU = PRIMITIVE | 0x00000000200000 , QUADRIC = PRIMITIVE | 0x00000200000000 , MATERIAL_SET = 0x00000001000000 | 0x00000000000004 | 0x00000000000002 ,
  ARRAY = 0x00000000000010 , NORMALS_ARRAY = 0x00000000000010 | 0x00000020000000 | 0x00000000000002 , NORMAL_INDEXES_ARRAY , RGB_COLOR_ARRAY = 0x00000000000010 | 0x00000010000000 | 0x00000000000002 ,
  RGBA_COLOR_ARRAY = 0x00000000000010 | 0x00000400000000 | 0x00000000000002 , TEX_COORDS_ARRAY = 0x00000000000010 | 0x00000080000000 | 0x00000000000002 , LABEL_2D = HIERARCHY_OBJECT | 0x00000000000020 | 0x00000000000002 , VIEWPORT_2D_OBJECT = HIERARCHY_OBJECT | 0x00000000000040 | 0x00000000000002 ,
  VIEWPORT_2D_LABEL = VIEWPORT_2D_OBJECT | 0x00000000000020 , CLIPPING_BOX = 0x00000002000000 | 0x00000000000002 , TRANS_BUFFER = HIERARCHY_OBJECT | 0x00000004000000 | 0x00000000000002 , COORDINATESYSTEM = PRIMITIVE | 0x00000800000000 ,
  DISC = PRIMITIVE | 0x00004000000000 , MESH_BASE = HIERARCHY_OBJECT | 0x20000000000000 , TETRA_MESH = MESH_BASE | 0x40000000000000 , HALF_EDGE_MESH = MESH_BASE | 0x80000000000000 ,
  VOXEL_GRID = HIERARCHY_OBJECT | 0x01000000000000 , LINESET = HIERARCHY_OBJECT | 0x08000000000000 , LINE3D = HIERARCHY_OBJECT | 0x10000000000000 , BBOX = HIERARCHY_OBJECT | 0x00200000000000 | 0x00000000000002 ,
  ORIENTED_BBOX = HIERARCHY_OBJECT | 0x00400000000000 | 0x00000000000002 , IMAGE2 = HIERARCHY_OBJECT | 0x02000000000000 | 0x00000000000002 , POINT_OCTREE2 = HIERARCHY_OBJECT | 0x00800000000000 | 0x00000000000002 , RGBD_IMAGE = HIERARCHY_OBJECT | 0x04000000000000 | 0x00000000000002 ,
  CUSTOM_H_OBJECT = HIERARCHY_OBJECT | 0x00000000000080 , CUSTOM_LEAF_OBJECT = CUSTOM_H_OBJECT | 0x00000000000002
}
 

Detailed Description

cloudViewer object type flags

Enumeration Type Documentation

◆ GeometryType

Enumerator
OBJECT 
HIERARCHY_OBJECT 
POINT_CLOUD 
MESH 
SUB_MESH 
MESH_GROUP 
FACET 
POINT_OCTREE 
POINT_KDTREE 
POLY_LINE 
CIRCLE 
IMAGE 
CALIBRATED_IMAGE 
SENSOR 
GBL_SENSOR 
CAMERA_SENSOR 
PRIMITIVE 
PLANE 
SPHERE 
TORUS 
CONE 
OLD_CYLINDER_ID 
CYLINDER 
BOX 
DISH 
EXTRU 
QUADRIC 
MATERIAL_SET 
ARRAY 
NORMALS_ARRAY 
NORMAL_INDEXES_ARRAY 
RGB_COLOR_ARRAY 
RGBA_COLOR_ARRAY 
TEX_COORDS_ARRAY 
LABEL_2D 
VIEWPORT_2D_OBJECT 
VIEWPORT_2D_LABEL 
CLIPPING_BOX 
TRANS_BUFFER 
COORDINATESYSTEM 
DISC 
MESH_BASE 
TETRA_MESH 
HALF_EDGE_MESH 
VOXEL_GRID 
LINESET 
LINE3D 
BBOX 
ORIENTED_BBOX 
IMAGE2 
POINT_OCTREE2 
RGBD_IMAGE 
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 (CV_TYPES::HIERARCHY_OBJECT). Hierarchical custom objects (CV_TYPES::CUSTOM_H_OBJECT) will be deserialized as ccCustomHObject instances. Leaf custom objects (CV_TYPES::CUSTOM_LEAF_OBJECT) will be deserialized as ccCustomLeafObject instances.

CUSTOM_LEAF_OBJECT 

Definition at line 101 of file CVTypes.h.