CFx SDK Documentation  2020SP3
Classes | Typedefs | Functions
DbPointCloud.h File Reference
#include "DbPointCloudObjExports.h"
#include "DbPointCloudClipping.h"
#include "DbPointCloudIntensityStyle.h"
#include "TD_PackPush.h"
#include "DbEntity.h"
#include "TD_PackPop.h"

Go to the source code of this file.

Classes

class  OdDbPointCloud
 

Typedefs

typedef OdSmartPtr< OdDbPointCloudOdDbPointCloudPtr
 

Functions

DBPOINTCLOUDOBJ_EXPORT OdResult oddbCreatePointCloudEntity (OdDbBlockTableRecord *pBlockToAdd, OdDbPointCloudPtr &newPointCloud, const OdString &indexFile, const OdString &sourceFile, const OdGePoint3d &location=OdGePoint3d::kOrigin, double scale=1.0, double rotation=0.0, const OdGeVector3d &vAxis=OdGeVector3d::kZAxis)
 

Typedef Documentation

◆ OdDbPointCloudPtr

This template class is a specialization of the OdSmartPtr class for OdDbPointCloud entity pointers.

Definition at line 374 of file DbPointCloud.h.

Function Documentation

◆ oddbCreatePointCloudEntity()

DBPOINTCLOUDOBJ_EXPORT OdResult oddbCreatePointCloudEntity ( OdDbBlockTableRecord pBlockToAdd,
OdDbPointCloudPtr newPointCloud,
const OdString indexFile,
const OdString sourceFile,
const OdGePoint3d location = OdGePoint3d::kOrigin,
double  scale = 1.0,
double  rotation = 0.0,
const OdGeVector3d vAxis = OdGeVector3d::kZAxis 
)

This method performs the whole point cloud entity creation routine: creates the OdDbPointCloud entity, appends it to the database, applies specified attributes, creates the OdDbPointCloudDef object (if needed), restores or creates new links to the OdDbPointCloudDef object, adds reactors.

Parameters
pBlockToAdd[in] Pointer to the block table record to add the point cloud entity to.
newPointCloud[out] Recieves a pointer to the created point cloud entity.
indexFile[in] Index file path.
sourceFile[in] Source file path.
location[in] Location of the entity.
scale[in] Scale factor.
rotation[in] Rotation angle.
vAxis[in] Rotation axis.
Returns
Returns eOk.