qCC_db  version 2.5.4 (Qt) - 19 Apr 2014
 All Classes Functions Variables Typedefs Enumerations Enumerator Pages
Static Public Member Functions | List of all members
ccHObjectCaster Class Reference

Useful class to (try to) statically cast a basic ccHObject to a given type. More...

#include <ccHObjectCaster.h>

Static Public Member Functions

static ccPointCloudToPointCloud (ccHObject *obj, bool *isLockedVertices=0)
 converts current object to 'equivalent' ccPointCloud More...
 
static ccGenericPointCloudToGenericPointCloud (ccHObject *obj, bool *isLockedVertices=0)
 converts current object to 'equivalent' ccGenericPointCloud More...
 
static ccGenericMeshToGenericMesh (ccHObject *obj)
 converts current object to ccGenericMesh (if possible)
 
static ccMeshToMesh (ccHObject *obj)
 converts current object to ccMesh (if possible)
 
static ccSubMeshToSubMesh (ccHObject *obj)
 converts current object to ccSubMesh (if possible)
 
static ccPolylineToPolyline (ccHObject *obj)
 converts current object to ccPolyline (if possible)
 
static ccFacetToFacet (ccHObject *obj)
 converts current object to ccFacet (if possible)
 
static ccGenericPrimitiveToPrimitive (ccHObject *obj)
 converts current object to ccGenericPrimitive (if possible)
 
static ccOctreeToOctree (ccHObject *obj)
 converts current object to ccOctree (if possible)
 
static ccKdTreeToKdTree (ccHObject *obj)
 converts current object to ccKdTree (if possible)
 
static ccSensorToSensor (ccHObject *obj)
 converts current object to ccSensor (if possible)
 
static ccGBLSensorToGBLSensor (ccHObject *obj)
 converts current object to ccGBLSensor (if possible)
 
static ccCameraSensorToCameraSensor (ccHObject *obj)
 converts current object to ccCameraSensor (if possible)
 
static ccImageToImage (ccHObject *obj)
 converts current object to ccImage (if possible)
 
static ccCalibratedImageToCalibratedImage (ccHObject *obj)
 converts current object to ccCalibratedImage (if possible)
 
static cc2DLabelTo2DLabel (ccHObject *obj)
 converts current object to cc2DLabel (if possible)
 
static cc2DViewportLabelTo2DViewportLabel (ccHObject *obj)
 converts current object to cc2DViewportLabel (if possible)
 
static cc2DViewportObjectTo2DViewportObject (ccHObject *obj)
 converts current object to cc2DViewportObject (if possible)
 
static
ccIndexedTransformationBuffer
ToTransBuffer (ccHObject *obj)
 converts current object to ccIndexedTransformationBuffer (if possible)
 

Detailed Description

Useful class to (try to) statically cast a basic ccHObject to a given type.

Member Function Documentation

ccGenericPointCloud * ccHObjectCaster::ToGenericPointCloud ( ccHObject obj,
bool *  isLockedVertices = 0 
)
static

converts current object to 'equivalent' ccGenericPointCloud

Waring: if a mesh is passed, this method returns its vertices.

ccPointCloud * ccHObjectCaster::ToPointCloud ( ccHObject obj,
bool *  isLockedVertices = 0 
)
static

converts current object to 'equivalent' ccPointCloud

Waring: if a mesh is passed, this method returns its vertices.

Parameters
objccHObject to dynamically cast to a ccPointCloud object
isLockedVerticesthe caller can be warned if the returned cloud corresponds to locked vertices

The documentation for this class was generated from the following files: