CFx SDK Documentation
2022 SP0
|
#include <DbPointCloudDef.h>
Static Public Member Functions | |
static int | classVersion () |
static OdDbObjectId | createPointCloudDictionary (OdDbDatabase &) |
static OdDbObjectId | pointCloudDictionary (const OdDbDatabase &) |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
This class defines Point Cloud Definition objects in an OdDbDatabase instance.
<group OdDbPointCloud_Classes>
Definition at line 45 of file DbPointCloudDef.h.
OdDbPointCloudDef::OdDbPointCloudDef | ( | ) |
Default constructor. Constructs an empty OdDbPointCloudDef object.
OdString OdDbPointCloudDef::activeFileName | ( | ) | const |
Returns the path name of the actual point cloud file being currently used for this PointCloud Definition object.
|
static |
|
static |
Returns Pointcloud Dictionary ID. Creates the dictionary, if one is not already present, in the specified OdDbDatabase instance.
Db | [in] The database. |
double OdDbPointCloudDef::defaultHeight | ( | ) | const |
Returns the default height of this OdDbPointCloudDef object.
double OdDbPointCloudDef::defaultLength | ( | ) | const |
Returns the default length of this OdDbPointCloudDef object.
double OdDbPointCloudDef::defaultWidth | ( | ) | const |
Returns the default width of this OdDbPointCloudDef object.
|
virtual |
Reads the .dwg file data of this object.
pFiler | [in] Filer object from which data are read. |
This function is called by dwgIn() to allow the object to read its data.
When overriding this function:
1) Call assertWriteEnabled(). 2) Call the parent class's dwgInFields(pFiler). 3) If it returns eOK, continue; otherwise return whatever the parent's dwgInFields(pFiler) returned. 4) Call the OdDbDwgFiler(pFiler) methods to read each of the object's data items in the order they were written. 5) Return pFiler->filerStatus().
Reimplemented from OdDbObject.
|
virtual |
Writes the .dwg file data of this object.
pFiler | [in] Pointer to the filer to which data are written. |
This function is called by dwgIn() to allow the object to write its data.
When overriding this function:
1) Call assertReadEnabled(). 2) Call the parent class's dwgOutFields(pFiler). 3) Call the OdDbDwgFiler(pFiler) methods to write each of the object's data items in the order they were written.
Reimplemented from OdDbObject.
|
virtual |
Reads the DXF data of this object.
pFiler | [in] Pointer to the filer from which data are read. |
This function is called by dxfIn() to allow the object to read its data.
When overriding this function:
1) Call assertWriteEnabled(). 2) Call the parent class's dwgInFields(pFiler). 3) If it returns eOK, continue; otherwise return whatever the parent's dxfInFields(pFiler) returned. 4) Call the OdDbDxfFiler(pFiler) methods to read each of the object's data items in the order they were written. 5) Return pFiler->filerStatus().
Reimplemented from OdDbObject.
|
virtual |
Writes the DXF data of this object.
pFiler | [in] Pointer to the filer to which data are to be written. |
This function is called by dxfOut() to allow the object to write its data.
When overriding this function:
1) Call assertReadEnabled(). 2) Call the parent class's dxfOutFields(pFiler). 4) Use pFiler to call the OdDbDxfFiler methods to write each of the object's data items in the order they were written.
Reimplemented from OdDbObject.
int OdDbPointCloudDef::entityCount | ( | bool * | ) | const |
Returns the number of OdDbPointCloud entities in the current drawing that are dependent upon this object.
pbLocked | [in] If it's non-zero, then this function will set the true value at that pointer if any dependent entities reside on locked layers, or set false otherwise. |
Returns the type of the source file containing the point cloud data for this PointCloud Definition object (as it is stored in file).
OdResult OdDbPointCloudDef::getNativeCloudExtent | ( | OdGeExtents3d & | ) | const |
Calculates the extents of this OdDbPointCloudDef object.
bool OdDbPointCloudDef::isLoaded | ( | ) | const |
Returns true if and only if the point cloud file for this PointCloud definition object is loaded.
OdResult OdDbPointCloudDef::load | ( | bool | bModifyDatabase | ) |
Currently not implemented.
OdDbPointCloudDef::ODDB_DECLARE_MEMBERS | ( | OdDbPointCloudDef | ) |
|
static |
Returns the Object ID of the point cloud dictionary in the specified OdDbDatabase instance.
Db | [in] The database. |
Returns the path name of the actual point cloud file being currently used for this PointCloud Definition object.
void OdDbPointCloudDef::setExtents | ( | const OdGeExtents3d & | ) |
Sets the extents for this OdDbPointCloudDef object.
exts | [in] Extents to be set. |
Sets the name of the external file containing the point cloud data (.pcg or .isd) for this PointCloud Definition object (as it is stored in file).
OdString OdDbPointCloudDef::sourceFileName | ( | ) | const |
Returns the name of the external file containing the point cloud data (.pcg or .isd) for this PointCloud Definition object (as it is stored in file).
|
virtual |
Called as the first operation as this object is being closed, for database -resident objects only.
When overriding this function:
1) If the OdDbObject's state is incorrect, throw exception.
2) Call parent class's subClose().
3) If other actions are required before close, do them.
The default implementation of this function does nothing. This function can be overridden in custom classes.
Reimplemented from OdDbObject.
|
virtual |
Called as the first operation as this object is being erased or unerased.
erasing | [in] A copy of the erasing argument passed to erase(). |
Returns eOk if and only if erase() is to continue.
When overriding this function:
1) If the OdDbObject's state is incorrect, return something other than eOk.
2) If the parent class's subErase() returns anything other than eOk, immediately return it.
3) If other actions are required before erase, do them.
4) Return eOk.
If you must make changes to this object's state, either make them after step 2, or roll them back if step 2 returns other than eOk.
The default implementation of this function does nothing but return eOk. This function can be overridden in custom classes.
Reimplemented from OdDbObject.
|
virtual |
Called as the first operation of the handOverTo function.
pNewObject | [in] Pointer to the object with which to replace this object in the database. |
This function is notified just before an object is to be handed over; giving this function the ability to cancel the handover.
When overriding this function:
1) If the OdDbObject's state is incorrect, throw exception.
2) Call parent class's subHandover().
3) If other actions are required before handover, do them.
The default implementation of this function does nothing. This function can be overridden in custom classes.
Reimplemented from OdDbObject.
|
virtual |
Reimplemented from OdDbObject.
OdUInt64 OdDbPointCloudDef::totalPointsCount | ( | ) | const |
Returns the total number of points of this OdDbPointCloudDef object.
void OdDbPointCloudDef::unload | ( | bool | bModifyDatabase | ) |
Currently not implemented.