qCC_db version 2.13.alpha (Qt) - 31 May 2022
CloudCompare 3D entities
|
Useful class to (try to) statically cast a basic ccHObject to a given type. More...
#include <ccHObjectCaster.h>
Static Public Member Functions | |
static ccPointCloud * | ToPointCloud (ccHObject *obj, bool *isLockedVertices=nullptr) |
Converts current object to 'equivalent' ccPointCloud. More... | |
static ccGenericPointCloud * | ToGenericPointCloud (ccHObject *obj, bool *isLockedVertices=nullptr) |
Converts current object to 'equivalent' ccGenericPointCloud. More... | |
static ccShiftedObject * | ToShifted (ccHObject *obj, bool *isLockedVertices=nullptr) |
Converts current object to 'equivalent' ccShiftedObject. More... | |
static ccGenericMesh * | ToGenericMesh (ccHObject *obj) |
Converts current object to ccGenericMesh (if possible) | |
static ccMesh * | ToMesh (ccHObject *obj) |
Converts current object to ccMesh (if possible) | |
static ccSubMesh * | ToSubMesh (ccHObject *obj) |
Converts current object to ccSubMesh (if possible) | |
static ccPolyline * | ToPolyline (ccHObject *obj) |
Converts current object to ccPolyline (if possible) | |
static ccFacet * | ToFacet (ccHObject *obj) |
Converts current object to ccFacet (if possible) | |
static ccPlanarEntityInterface * | ToPlanarEntity (ccHObject *obj) |
Converts current object to ccPlanarEntityInterface (if possible) | |
static ccGenericPrimitive * | ToPrimitive (ccHObject *obj) |
Converts current object to ccGenericPrimitive (if possible) | |
static ccSphere * | ToSphere (ccHObject *obj) |
Converts current object to ccSphere (if possible) | |
static ccCylinder * | ToCylinder (ccHObject *obj) |
Converts current object to ccCylinder (if possible) | |
static ccCone * | ToCone (ccHObject *obj) |
Converts current object to ccCone (if possible) | |
static ccPlane * | ToPlane (ccHObject *obj) |
Converts current object to ccPlane (if possible) | |
static ccDish * | ToDish (ccHObject *obj) |
Converts current object to ccDish (if possible) | |
static ccExtru * | ToExtru (ccHObject *obj) |
Converts current object to ccExtru (if possible) | |
static ccTorus * | ToTorus (ccHObject *obj) |
Converts current object to ccTorus (if possible) | |
static ccOctreeProxy * | ToOctreeProxy (ccHObject *obj) |
Converts current object to ccOctreeProxy (if possible) | |
static ccOctree * | ToOctree (ccHObject *obj) |
Converts current object to ccOctree (if possible) | |
static ccKdTree * | ToKdTree (ccHObject *obj) |
Converts current object to ccKdTree (if possible) | |
static ccSensor * | ToSensor (ccHObject *obj) |
Converts current object to ccSensor (if possible) | |
static ccGBLSensor * | ToGBLSensor (ccHObject *obj) |
Converts current object to ccGBLSensor (if possible) | |
static ccCameraSensor * | ToCameraSensor (ccHObject *obj) |
Converts current object to ccCameraSensor (if possible) | |
static ccImage * | ToImage (ccHObject *obj) |
Converts current object to ccImage (if possible) | |
static cc2DLabel * | To2DLabel (ccHObject *obj) |
Converts current object to cc2DLabel (if possible) | |
static cc2DViewportLabel * | To2DViewportLabel (ccHObject *obj) |
Converts current object to cc2DViewportLabel (if possible) | |
static cc2DViewportObject * | To2DViewportObject (ccHObject *obj) |
Converts current object to cc2DViewportObject (if possible) | |
static ccIndexedTransformationBuffer * | ToTransBuffer (ccHObject *obj) |
Converts current object to ccIndexedTransformationBuffer (if possible) | |
static ccCoordinateSystem * | ToCoordinateSystem (ccHObject *obj) |
Converts current object to ccCoordinateSystem (if possible) | |
Useful class to (try to) statically cast a basic ccHObject to a given type.
|
static |
Converts current object to 'equivalent' ccGenericPointCloud.
Warning: if a mesh is passed, this method returns its vertices.
|
static |
Converts current object to 'equivalent' ccPointCloud.
Warning: if a mesh is passed, this method returns its vertices.
obj | ccHObject to dynamically cast to a ccPointCloud object |
isLockedVertices | the caller can be warned if the returned cloud corresponds to locked vertices |
|
static |
Converts current object to 'equivalent' ccShiftedObject.
Warning: if a mesh is passed, this method returns its vertices.