CFx SDK Documentation
2022 SP0
|
#include <DbEntity.h>
Friends | |
class | OdDbPropertiesOverrule |
class | OdDbOsnapOverrule |
class | OdDbTransformOverrule |
class | OdDbGripOverrule |
class | OdDbSubentityOverrule |
class | OdDbHighlightOverrule |
class | OdDbVisibilityOverrule |
class | OdDbGeometryOverrule |
Additional Inherited Members | |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
Protected Attributes inherited from OdDbObject | |
OdDbObjectImpl * | m_pImpl |
This class is the base class for all graphical objects contained in an OdDbDatabase instance.
<group OdDb_Classes>
Definition at line 89 of file DbEntity.h.
Enumerator | |
---|---|
kFullVisualStyle | |
kFaceVisualStyle | |
kEdgeVisualStyle |
Definition at line 358 of file DbEntity.h.
OdDbEntity::OdDbEntity | ( | ) |
ODRX_SEALED_VIRTUAL OdResult OdDbEntity::addSubentPaths | ( | const OdDbFullSubentPathArray & | paths | ) |
Add one or more subentities to an entity.
paths | [in] The array of OdDbFullSubentPath objects. |
|
virtual |
This function appends this object to the specified owner object.
idPair | [in] ID pair to append. |
pOwnerObject | [in] Pointer to the owner object. |
ownerIdMap | [in/out] Owner's ID map. |
This function is used internally to subDeepClone() and subWblockClone().
Throws:
Cause eInvalidOwnerObject !pOwnerObject->get()
Reimplemented from OdDbObject.
|
virtual |
Notification function called each time an Undo operation is performed this object is using partial Undo.
pUndoFiler | [in] A pointer to the undo filer with the partial undo information. |
pClassObj | [in] A pointer to the OdRxClass object for the class that will handle the Undo. |
This member function must know which types of fields to scan, and must stop after reading what it it needs.
If the class type specified by pClassObj does not matches the class of this object, this member function must call the parent class's applyPartialUndo() and return whatever it returns.
If it does match the class of this object, this member function must use pUndoFiler to read the undo data, then typically use this object's set() method.
Throws:
Cause eNotThatKindOfClass pClassObj != OdDbObject::desc()
Reimplemented from OdDbObject.
OdDbObjectId OdDbEntity::blockId | ( | ) | const |
Returns the Object ID of the OdDbBlockTableRecord that owns this entity.
OdResult OdDbEntity::boundingBoxIntersectWith | ( | const OdDbEntity * | pEnt, |
OdDb::Intersect | intType, | ||
const OdGePlane & | projPlane, | ||
OdGePoint3dArray & | points, | ||
OdGsMarker | thisGsMarker, | ||
OdGsMarker | otherGsMarker | ||
) | const |
Uses the bounding box of this object to determine an intersection array of points.
OdResult OdDbEntity::boundingBoxIntersectWith | ( | const OdDbEntity * | pEnt, |
OdDb::Intersect | intType, | ||
OdGePoint3dArray & | points, | ||
OdGsMarker | thisGsMarker, | ||
OdGsMarker | otherGsMarker | ||
) | const |
Uses the bounding box of this object to determine an intersection array of points.
|
virtual |
Returns the CastShadows flag for this entity..
ODRX_SEALED_VIRTUAL bool OdDbEntity::cloneMeForDragging | ( | ) |
Returns the cloneMeForDragging flag for this entity.
|
virtual |
Returns the CollisionType for this entity.
OdCmColor OdDbEntity::color | ( | ) | const |
Returns the color information of this entity as an OdCmColor instance.
OdDbObjectId OdDbEntity::colorId | ( | ) | const |
Returns the Object ID of the OdDbColor object referenced by this entity.
OdUInt16 OdDbEntity::colorIndex | ( | ) | const |
Returns the color index of this entity (DXF 62).
0 indicates a color of BYBLOCK. 256 indicates a color of BYLAYER.
|
virtual |
Copies the contents of the specified object into this object when possible.
pSource | [in] Pointer to the source object. |
Throws:
Cause eNullObjectPointer pSource->isNull()
Reimplemented from OdDbObject.
Reimplemented in OdDbBlockReference, OdDbMLeader, and OdDbTable.
ODRX_SEALED_VIRTUAL OdResult OdDbEntity::deleteSubentPaths | ( | const OdDbFullSubentPathArray & | paths | ) |
Deletes one or more subentities from an entity.
paths | [in] The array of OdDbFullSubentPath objects. |
|
virtual |
Notification function called when this entity is involved in a drag operation.
status | [in] Status of the drag operation. |
|
virtual |
Returns a pointer to the OdGiDrawable for the object. If the object doesn't have an associated OdGiDrawable object, this function returns NULL.
Reimplemented from OdDbObject.
|
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.
Reimplemented in CFxBIMSectionView, CFxBIMSectionEntity, CFxBIMSection, CFxBIMEntityReference, OdDbViewRepBlockReference, OdDbWipeout, OdDbRasterImage, OdDbPolyline, OdDbFcf, RText, OdDbViewSymbol, OdDbViewRepImage, OdDbViewBorder, OdDbSectionSymbol, OdDbDetailSymbol, OdDbAssocProjectedEntityPersSubentIdHolder, OdDbXline, OdDbViewport, OdDbNavisworksReference, OdDbPdfReference, OdDbUnderlayReference, OdDbTrace, OdDbText, OdDbTable, OdDbSweptSurface, OdDbSurface, OdDbSubDMesh, OdDbSpline, OdDbSolid, OdDbShape, OdDbSection, OdDbRotatedDimension, OdDbRevolvedSurface, OdDbRegion, OdDbRay, OdDbRadialDimensionLarge, OdDbRadialDimension, OdDbProxyEntity, OdDbPolygonMeshVertex, OdDbPolygonMesh, OdDbPolyFaceMeshVertex, OdDbPolyFaceMesh, OdDbPoint, OdDbPlaneSurface, OdDbOrdinateDimension, OdDbOle2Frame, OdDbNurbSurface, OdDbMText, OdDbMPolygon, OdDbMline, OdDbMInsertBlock, OdDbLoftedSurface, OdDbLine, OdDbLight, OdDbLeader, OdDbHelix, OdDbHatch, OdDbGeoPositionMarker, OdDbFaceRecord, OdDbFace, OdDbExtrudedSurface, OdDbEllipse, OdDbDimension, OdDbDiametricDimension, OdDbCircle, OdDbCamera, OdDbBody, OdDbBlockReference, OdDbBlockBegin, OdDbAttributeDefinition, OdDbAttribute, OdDbArcDimension, OdDbArcAlignedText, OdDbArc, OdDbAlignedDimension, OdDb3PointAngularDimension, OdDb3dSolid, OdDb3dPolylineVertex, OdDb3dPolyline, OdDb2LineAngularDimension, OdDb2dVertex, OdDb2dPolyline, OdDbMLeader, OdDbPointCloudEx, and OdDbPointCloud.
|
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.
Reimplemented in CFxBIMSectionView, CFxBIMSectionEntity, CFxBIMSection, CFxBIMEntityReference, OdDbViewRepBlockReference, OdDbWipeout, OdDbRasterImage, OdDbPolyline, OdDbFcf, RText, OdDbViewSymbol, OdDbViewRepImage, OdDbViewBorder, OdDbSectionSymbol, OdDbDetailSymbol, OdDbAssocProjectedEntityPersSubentIdHolder, OdDbXline, OdDbViewport, OdDbNavisworksReference, OdDbUnderlayReference, OdDbTrace, OdDbText, OdDbTable, OdDbSweptSurface, OdDbSurface, OdDbSubDMesh, OdDbSpline, OdDbSolid, OdDbShape, OdDbSection, OdDbRotatedDimension, OdDbRevolvedSurface, OdDbRegion, OdDbRay, OdDbRadialDimensionLarge, OdDbRadialDimension, OdDbProxyEntity, OdDbPolygonMeshVertex, OdDbPolygonMesh, OdDbPolyFaceMeshVertex, OdDbPolyFaceMesh, OdDbPoint, OdDbPlaneSurface, OdDbOrdinateDimension, OdDbOle2Frame, OdDbNurbSurface, OdDbMText, OdDbMPolygon, OdDbMline, OdDbMInsertBlock, OdDbLoftedSurface, OdDbLine, OdDbLight, OdDbLeader, OdDbHelix, OdDbHatch, OdDbGeoPositionMarker, OdDbFaceRecord, OdDbFace, OdDbExtrudedSurface, OdDbEllipse, OdDbDimension, OdDbDiametricDimension, OdDbCircle, OdDbCamera, OdDbBody, OdDbBlockReference, OdDbBlockBegin, OdDbAttributeDefinition, OdDbAttribute, OdDbArcDimension, OdDbArcAlignedText, OdDbArc, OdDbAlignedDimension, OdDb3PointAngularDimension, OdDb3dSolid, OdDb3dPolylineVertex, OdDb3dPolyline, OdDb2LineAngularDimension, OdDb2dVertex, OdDb2dPolyline, OdDbMLeader, OdDbPointCloudEx, and OdDbPointCloud.
|
virtual |
Reads the DXF format data of this object from the specified filer.
pFiler | [in] Pointer to the filer from which the data are to be read. |
This function calls this object's dxfInFields(pFiler), then loads any Xdata associated with this object.
Reimplemented from OdDbObject.
Reimplemented in OdDbSequenceEnd, OdDbProxyEntity, OdDbPolygonMesh, OdDbPolyFaceMesh, OdDbBlockReference, OdDbBlockBegin, OdDb3dPolyline, and OdDb2dPolyline.
|
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.
Reimplemented in CFxBIMSectionView, CFxBIMSectionEntity, CFxBIMSection, CFxBIMEntityReference, OdDbViewRepBlockReference, OdDbWipeout, OdDbRasterImage, OdDbPolyline, OdDbFcf, RText, OdDbViewSymbol, OdDbViewRepImage, OdDbViewBorder, OdDbSectionSymbol, OdDbDetailSymbol, OdDbAssocProjectedEntityPersSubentIdHolder, OdDbXline, OdDbViewport, OdDbVertex, OdDbNavisworksReference, OdDbPdfReference, OdDbUnderlayReference, OdDbTrace, OdDbText, OdDbTable, OdDbSweptSurface, OdDbSurface, OdDbSubDMesh, OdDbSpline, OdDbSolid, OdDbShape, OdDbSection, OdDbRotatedDimension, OdDbRevolvedSurface, OdDbRegion, OdDbRay, OdDbRadialDimensionLarge, OdDbRadialDimension, OdDbProxyEntity, OdDbPolygonMesh, OdDbPolyFaceMesh, OdDbPoint, OdDbPlaneSurface, OdDbOrdinateDimension, OdDbOle2Frame, OdDbNurbSurface, OdDbMText, OdDbMPolygon, OdDbMline, OdDbMInsertBlock, OdDbLoftedSurface, OdDbLine, OdDbLight, OdDbLeader, OdDbHelix, OdDbHatch, OdDbGeoPositionMarker, OdDbFaceRecord, OdDbFace, OdDbExtrudedSurface, OdDbEllipse, OdDbDimension, OdDbDiametricDimension, OdDbCircle, OdDbCamera, OdDbBody, OdDbBlockReference, OdDbBlockEnd, OdDbBlockBegin, OdDbAttributeDefinition, OdDbAttribute, OdDbArcDimension, OdDbArcAlignedText, OdDbArc, OdDbAlignedDimension, OdDb3PointAngularDimension, OdDb3dSolid, OdDb3dPolyline, OdDb2LineAngularDimension, OdDb2dPolyline, OdDbMLeader, OdDbPointCloudEx, and OdDbPointCloud.
|
virtual |
Reads the DXF R12 format data of this object.
pFiler | [in] Pointer to the filer from which data are to be 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 dxfInFields_R12(pFiler). 3) If it returns eOK, continue; otherwise return whatever the parent's dxfOutFields_R12(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.
Reimplemented in OdDbPolyline, OdDbViewport, OdDbTrace, OdDbText, OdDbSolid, OdDbShape, OdDbRotatedDimension, OdDbRadialDimension, OdDbPolygonMeshVertex, OdDbPolygonMesh, OdDbPolyFaceMeshVertex, OdDbPolyFaceMesh, OdDbPoint, OdDbOrdinateDimension, OdDbLine, OdDbFaceRecord, OdDbFace, OdDbDimension, OdDbDiametricDimension, OdDbCircle, OdDbBlockReference, OdDbBlockEnd, OdDbBlockBegin, OdDbAttributeDefinition, OdDbAttribute, OdDbArc, OdDbAlignedDimension, OdDb3PointAngularDimension, OdDb3dPolylineVertex, OdDb3dPolyline, OdDb2LineAngularDimension, OdDb2dVertex, and OdDb2dPolyline.
|
virtual |
Writes the DXF format data of this object to the specified filer.
pFiler | [in] Pointer to the filer to which the data are to be written. |
Reimplemented from OdDbObject.
Reimplemented in OdDbShape, OdDbPolygonMesh, OdDbPolyFaceMesh, OdDbBlockReference, OdDb3dPolyline, and OdDb2dPolyline.
|
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.
Reimplemented in CFxBIMSectionView, CFxBIMSectionEntity, CFxBIMSection, CFxBIMEntityReference, OdDbViewRepBlockReference, OdDbWipeout, OdDbRasterImage, OdDbPolyline, OdDbFcf, RText, OdDbViewSymbol, OdDbViewRepImage, OdDbViewBorder, OdDbSectionSymbol, OdDbDetailSymbol, OdDbAssocProjectedEntityPersSubentIdHolder, OdDbXline, OdDbViewport, OdDbVertex, OdDbNavisworksReference, OdDbUnderlayReference, OdDbTrace, OdDbText, OdDbTable, OdDbSweptSurface, OdDbSurface, OdDbSubDMesh, OdDbSpline, OdDbSolid, OdDbShape, OdDbSequenceEnd, OdDbSection, OdDbRotatedDimension, OdDbRevolvedSurface, OdDbRegion, OdDbRay, OdDbRadialDimensionLarge, OdDbRadialDimension, OdDbProxyEntity, OdDbPolygonMesh, OdDbPolyFaceMesh, OdDbPoint, OdDbPlaneSurface, OdDbOrdinateDimension, OdDbOle2Frame, OdDbNurbSurface, OdDbMText, OdDbMPolygon, OdDbMline, OdDbMInsertBlock, OdDbLoftedSurface, OdDbLine, OdDbLight, OdDbLeader, OdDbHelix, OdDbHatch, OdDbGeoPositionMarker, OdDbFaceRecord, OdDbFace, OdDbExtrudedSurface, OdDbEllipse, OdDbDimension, OdDbDiametricDimension, OdDbCircle, OdDbCamera, OdDbBody, OdDbBlockReference, OdDbBlockEnd, OdDbBlockBegin, OdDbAttributeDefinition, OdDbAttribute, OdDbArcDimension, OdDbArcAlignedText, OdDbArc, OdDbAlignedDimension, OdDb3PointAngularDimension, OdDb3dSolid, OdDb3dPolyline, OdDb2LineAngularDimension, OdDb2dPolyline, OdDbMLeader, OdDbPointCloudEx, and OdDbPointCloud.
|
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). 3) 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.
Reimplemented in OdDbViewport, OdDbTrace, OdDbText, OdDbSolid, OdDbShape, OdDbRotatedDimension, OdDbRadialDimension, OdDbPolygonMeshVertex, OdDbPolygonMesh, OdDbPolyFaceMeshVertex, OdDbPolyFaceMesh, OdDbPoint, OdDbOrdinateDimension, OdDbLine, OdDbFaceRecord, OdDbFace, OdDbDimension, OdDbDiametricDimension, OdDbCircle, OdDbBlockReference, OdDbBlockEnd, OdDbBlockBegin, OdDbAttributeDefinition, OdDbAttribute, OdDbArc, OdDbAlignedDimension, OdDb3PointAngularDimension, OdDb3dPolylineVertex, OdDb3dPolyline, OdDb2LineAngularDimension, OdDb2dVertex, and OdDb2dPolyline.
|
virtual |
Returns the OdCmEntityColor settings of this object.
ODRX_SEALED_VIRTUAL OdResult OdDbEntity::explode | ( | OdRxObjectPtrArray & | entitySet | ) | const |
Explodes this entity into a set of simpler entities.
entitySet | [in/out] Receives an array of pointers to the new entities. |
|
virtual |
Explodes this entity into a set of simpler entities.
entitySet | [in/out] Receives an array of pointers to the new entities. |
Reimplemented in OdDb2dPolyline, OdDbViewport, OdDbPolyline, OdDbPolygonMesh, OdDbPolyFaceMesh, OdDbMText, OdDbMline, OdDbHatch, OdDbDimension, OdDbBlockReference, and OdDb3dPolyline.
|
virtual |
Explodes this entity into a set of simpler entities, and adds them to the specified block.
pBlockRecord | [in] Pointer to the Block Table Record. |
ids | [in/out] Receives array of Object IDs of the new entities. |
|
virtual |
Explodes this entity into a set of simpler entities, and adds them to the specified block table record.
pBlockRecord | [in] Pointer to the Block Table Record. |
ids | [in/out] Receives an array of Object IDs of the new entities. |
The newly created entities are database resident or not depending on the block table record they are appended to. If block table record is database resident the entities are database resident as well. If block table record is not database resident newly created entities are not database resident.
The default implementation of this function returns eNotApplicable. This function can be overridden in custom classes.
Reimplemented in OdDbMInsertBlock, and OdDbBlockReference.
ODRX_SEALED_VIRTUAL OdResult OdDbEntity::getCompoundObjectTransform | ( | OdGeMatrix3d & | xM | ) | const |
Is applicable for compound objects only which return the kDrawableIsCompoundObject flag from subSetAttributes(). The matrix returned is the one that is passed to pushModelTransform before rendering nested objects. Default implementation returns OdDb::eNotApplicable and the identity matrix in xM.
|
virtual |
Returns the entity coordinate system matrix.
Reimplemented in OdDbUnderlayReference, OdDbTrace, OdDbSolid, OdDbShape, OdDbPolyline, OdDbMText, OdDbLine, OdDbHatch, OdDbDimension, OdDbCircle, OdDbArc, and OdDb2dPolyline.
|
virtual |
Returns a WCS bounding box that represents the extents of this entity.
extents | [out] Receives the WCS extents. |
Reimplemented from OdGiDrawable.
ODRX_SEALED_VIRTUAL OdResult OdDbEntity::getGripPoints | ( | OdDbGripDataPtrArray & | grips, |
const double | curViewUnitSize, | ||
const int | gripSize, | ||
const OdGeVector3d & | curViewDir, | ||
const int | bitFlags | ||
) | const |
Returns OdDbGripData objects for grip points of this entity.
grips | [in/out] Receives an array of OdDbGripData objects. |
ODRX_SEALED_VIRTUAL OdResult OdDbEntity::getGripPoints | ( | OdGePoint3dArray & | gripPoints | ) | const |
Returns all grip points of this entity.
gripPoints | [in/out] Receives an array of WCS grip points. |
ODRX_SEALED_VIRTUAL OdResult OdDbEntity::getGripPointsAtSubentPath | ( | const OdDbFullSubentPath & | path, |
OdDbGripDataPtrArray & | grips, | ||
const double | curViewUnitSize, | ||
const int | gripSize, | ||
const OdGeVector3d & | curViewDir, | ||
const OdUInt32 | bitflags | ||
) | const |
Gets the grip points and supporting information about the grips for a subentity.
path | [in] The OdDbFullSubentPath to the subentity. |
grips | [in/out] Receives an array of pointers of OdDbGripData objects, one object for each grip point in the subentity. |
curViewUnitSize | [in] The size (in pixels) of one drawing unit in the current viewport. |
gripSize | [in] The current grip size (in pixels). |
curViewDir | [in] The view direction in the current viewport. |
bitflags | [in] The bitmap of one or more flags specified by the GetGripPointsFlags enumeration. |
ODRX_SEALED_VIRTUAL OdResult OdDbEntity::getGsMarkersAtSubentPath | ( | const OdDbFullSubentPath & | subPath, |
OdGsMarkerArray & | gsMarkers | ||
) | const |
Returns all graphic system marker by subentity paths for complex entities, that has the ability to associate an integer identifier (GS marker) with each graphic primitive or with groups of primitives during draw themself.
subPath | [in] The OdDbFullSubentPath to the subentity. |
gsMarkers | [in/out] The array of integer identifiers (GS markers). |
ODRX_SEALED_VIRTUAL OdResult OdDbEntity::getOsnapPoints | ( | OdDb::OsnapMode | osnapMode, |
OdGsMarker | gsSelectionMark, | ||
const OdGePoint3d & | pickPoint, | ||
const OdGePoint3d & | lastPoint, | ||
const OdGeMatrix3d & | xWorldToEye, | ||
OdGePoint3dArray & | snapPoints | ||
) | const |
Returns all appropriate object snap points of this entity.
osnapMode | [in] The object snap mode being queried. |
gsSelectionMark | [in] The GS marker of the subentity being queried. |
pickPoint | [in] The WCS point being queried. |
lastPoint | [in] The WCS point picked before pickPoint. |
xWorldToEye | [in] The WCS->DCS transformation matrix. |
snapPoints | [in/out] Receives an array of UCS object snap points. |
osnapMode must be one of the following:
Value Description OdDb::kOsModeEnd 1 Endpoint OdDb::kOsModeMid 2 Midpoint OdDb::kOsModeCen 3 Center OdDb::kOsModeNode 4 Node OdDb::kOsModeQuad 5 Quadrant OdDb::kOsModeIntersec 6 Intersection OdDb::kOsModeIns 7 Insertion point OdDb::kOsModePerp 8 Perpendicular OdDb::kOsModeTan 9 Tangent OdDb::kOsModeNear 10 Nearest OdDb::kOsModeApint 11 Apparent intersection OdDb::kOsModePar 12 Parallel OdDb::kOsModeStart 13 Unknown
ODRX_SEALED_VIRTUAL OdResult OdDbEntity::getOsnapPoints | ( | OdDb::OsnapMode | osnapMode, |
OdGsMarker | gsSelectionMark, | ||
const OdGePoint3d & | pickPoint, | ||
const OdGePoint3d & | lastPoint, | ||
const OdGeMatrix3d & | xWorldToEye, | ||
OdGePoint3dArray & | snapPoints, | ||
const OdGeMatrix3d & | insertionMat | ||
) | const |
Returns all appropriate object snap points of this entity.
osnapMode | [in] The object snap mode being queried. |
gsSelectionMark | [in] The GS marker of the subentity being queried. |
pickPoint | [in] The WCS point being queried. |
lastPoint | [in] The WCS point picked before pickPoint. |
xWorldToEye | [in] The WCS->DCS transformation matrix. |
snapPoints | [in/out] Receives an array of UCS object snap points. |
osnapMode must be one of the following:
Value Description OdDb::kOsModeEnd 1 Endpoint OdDb::kOsModeMid 2 Midpoint OdDb::kOsModeCen 3 Center OdDb::kOsModeNode 4 Node OdDb::kOsModeQuad 5 Quadrant OdDb::kOsModeIntersec 6 Intersection OdDb::kOsModeIns 7 Insertion point OdDb::kOsModePerp 8 Perpendicular OdDb::kOsModeTan 9 Tangent OdDb::kOsModeNear 10 Nearest OdDb::kOsModeApint 11 Apparent intersection OdDb::kOsModePar 12 Parallel OdDb::kOsModeStart 13 Unknown
|
virtual |
Returns the plane that contains this entity.
plane | [out] Receives the plane that contains this entity. |
planarity | [out] Receives the planarity of this entity. |
planarity and plane return values as follows::
Value Description plane kNonPlanar 0 Non-planar Not set kPlanar 1 Planar Entity plane kLinear 2 Linear Arrbitrary plane containing this entity
Reimplemented in OdDbMLeader, OdDbText, OdDbSpline, OdDbShape, OdDbRegion, OdDbPolyline, OdDbPolygonMesh, OdDbPolyFaceMesh, OdDbPlaneSurface, OdDbMText, OdDbLeader, OdDbHatch, OdDbFace, OdDbDimension, OdDbBlockReference, OdDb3dPolyline, OdDb2dPolyline, OdDbXline, OdDbTrace, OdDbSolid, OdDbRay, OdDbPoint, OdDbLine, OdDbEllipse, OdDbCircle, and OdDbArc.
OdDb::PlotStyleNameType OdDbEntity::getPlotStyleNameId | ( | OdDbObjectId & | plotStyleNameId | ) | const |
Returns the PlotStyleName of this entity.
plotStyleNameId | [out] Receives the Object ID of the Plot Style Name of this entity. |
ODRX_SEALED_VIRTUAL OdResult OdDbEntity::getStretchPoints | ( | OdGePoint3dArray & | stretchPoints | ) | const |
Returns all stretch points of this entity.
stretchPoints | [in/out] Receives an array of WCS stretch points. |
ODRX_SEALED_VIRTUAL OdResult OdDbEntity::getSubentClassId | ( | const OdDbFullSubentPath & | path, |
void * | clsId | ||
) |
Obtains the CLSID of the wrapper coclass for the subentity.
path | [in] The OdDbFullSubentPath to the subentity. |
clsId | [in/out] The pointer to a CLSID structure whose contents are set to the CLSID of the wrapper for the subentity. |
ODRX_SEALED_VIRTUAL OdResult OdDbEntity::getSubentPathGeomExtents | ( | const OdDbFullSubentPath & | path, |
OdGeExtents3d & | extents | ||
) |
Returns the geometric extents for a subentity.
path | [in] The OdDbFullSubentPath to the subentity. |
extents | [in/out] The geometric extents, expressed in world coordinates, of the subentity. |
ODRX_SEALED_VIRTUAL OdResult OdDbEntity::getSubentPathsAtGsMarker | ( | OdDb::SubentType | type, |
OdGsMarker | gsMark, | ||
const OdGePoint3d & | pickPoint, | ||
const OdGeMatrix3d & | xfm, | ||
OdDbFullSubentPathArray & | subentPaths, | ||
const OdDbObjectIdArray * | pEntAndInsertStack = 0 |
||
) | const |
Returns all subentity paths by graphic system marker for complex entities, that has the ability to associate an integer identifier (GS marker) with each graphic primitive or with groups of primitives during draw themself.
type | [in] The subentity type being queried. |
gsMarker | [in] The GS marker of the subentity being queried. |
pickPoint | [in] The WCS point being queried. |
xrm | [in] The WCS->DCS transformation matrix. |
subentPaths | [out] The array of OdDbFullSubentPath objects. |
pEntAndInsertStack | [in] The array of objectIds of the objects that are the nested containers of the subentity. |
Value Description OdDb::kFaceSubentType 1 Face subentity OdDb::kEdgeSubentType 2 Edge subentity OdDb::kVertexSubentType 3 Vertex subentity OdDb::kMlineSubentCache 4 Not used yet OdDb::kClassSubentType 5 MultiType subentity
ODRX_SEALED_VIRTUAL OdResult OdDbEntity::getTransformedCopy | ( | const OdGeMatrix3d & | xfm, |
OdDbEntityPtr & | pCopy | ||
) | const |
Creates a copy of this entity, and applies the supplied transformation to the newly created copy.
xfm | [in] 3D transformation matrix. |
pCopy | [out] Receives a SmartPointer to the newly created copy. |
ODRX_SEALED_VIRTUAL void OdDbEntity::gripStatus | ( | const OdDb::GripStat | status | ) |
Notification function called when this entity is involved in a grip operation.
status | [in] Status of the grip operation. |
ODRX_SEALED_VIRTUAL bool OdDbEntity::hideMeForDragging | ( | ) | const |
Returns the hideMeForDragging flag for this entity.
ODRX_SEALED_VIRTUAL void OdDbEntity::highlight | ( | bool | bDoIt = true , |
const OdDbFullSubentPath * | pSubId = 0 , |
||
bool | highlightAll = false |
||
) | const |
ODRX_SEALED_VIRTUAL OdResult OdDbEntity::intersectWith | ( | const OdDbEntity * | pEnt, |
OdDb::Intersect | intType, | ||
const OdGePlane & | projPlane, | ||
OdGePoint3dArray & | points, | ||
OdGsMarker | thisGsMarker = 0 , |
||
OdGsMarker | otherGsMarker = 0 |
||
) | const |
Intersects this entity with other entity if possible.
pEnt | [in] Pointer to other entity |
intType | [in] Determines type of intersection to be calculated |
ODRX_SEALED_VIRTUAL OdResult OdDbEntity::intersectWith | ( | const OdDbEntity * | pEnt, |
OdDb::Intersect | intType, | ||
OdGePoint3dArray & | points, | ||
OdGsMarker | thisGsMarker = 0 , |
||
OdGsMarker | otherGsMarker = 0 |
||
) | const |
Intersects this entity with other entity if possible.
pEnt | [in] Pointer to other entity |
intType | [in] Determines type of intersection to be calculated |
ODRX_SEALED_VIRTUAL bool OdDbEntity::isContentSnappable | ( | ) | const |
|
virtual |
Returns true if and only if this entity is planar.
Reimplemented in OdDbPolyline, OdDbMLeader, OdDbXline, OdDbTrace, OdDbText, OdDbSpline, OdDbShape, OdDbRegion, OdDbRay, OdDbPolygonMesh, OdDbPolyFaceMesh, OdDbPoint, OdDbLine, OdDbLeader, OdDbHatch, OdDbEllipse, OdDbDimension, OdDbCircle, OdDbBlockReference, OdDbArc, OdDb3dPolyline, and OdDb2dPolyline.
OdString OdDbEntity::layer | ( | ) | const |
Returns the name of the layer referenced by this entity (DXF 8).
OdDbObjectId OdDbEntity::layerId | ( | ) | const |
Returns the Object ID of the OdDbLayerTableRecord referenced by this entity.
OdString OdDbEntity::linetype | ( | ) | const |
Returns the name of the linetype referenced by this entity (DXF 6).
OdDbObjectId OdDbEntity::linetypeId | ( | ) | const |
Returns the Object ID of the linetype referenced by this entity (DXF 6).
double OdDbEntity::linetypeScale | ( | ) | const |
Returns the linetype scale of this entity (DXF 48).
OdDb::LineWeight OdDbEntity::lineWeight | ( | ) | const |
Returns the lineweight property of this entity (DXF 370).
ODRX_SEALED_VIRTUAL void OdDbEntity::list | ( | ) | const |
This method is triggered by the standard LIST command and is to be display the dxf format contents of the entity to the display.
OdString OdDbEntity::material | ( | ) | const |
Returns the name of the material referenced by this entity (DXF 347).
OdDbObjectId OdDbEntity::materialId | ( | ) | const |
Returns the Object ID of the material referenced by this entity (DXF 347).
|
virtual |
Returns OdGiMapper used to map a material to the entity. Returns null if the default mapper is used.
ODRX_SEALED_VIRTUAL OdResult OdDbEntity::moveGripPointsAt | ( | const OdDbVoidPtrArray & | grips, |
const OdGeVector3d & | offset, | ||
int | bitFlags | ||
) |
Moves the specified grip points of this entity.
gripAppData | [in] Array of appData pointers from the OdDbGripData objects (one for each grip point to be moved). |
offset | [in] The direction and magnitude of the grip points offset (WCS). |
ODRX_SEALED_VIRTUAL OdResult OdDbEntity::moveGripPointsAt | ( | const OdIntArray & | indices, |
const OdGeVector3d & | offset | ||
) |
Moves the specified grip points of this entity.
indices | [in] Array of indicies. |
offset | [in] The direction and magnitude of the grip points offset (WCS). |
ODRX_SEALED_VIRTUAL OdResult OdDbEntity::moveGripPointsAtSubentPaths | ( | const OdDbFullSubentPathArray & | paths, |
const OdDbVoidPtrArray & | gripAppData, | ||
const OdGeVector3d & | offset, | ||
const OdUInt32 | bitflags | ||
) |
Applies a vector offset to one or more grip points exposed by subentities on the object.
paths | [in] The array of OdDbFullSubentPath objects. |
gripAppData | [in] The array of pointers of OdDbGripData objects. |
offset | [in] The vector (in WCS coordinates) indicating the direction and magnitude of the translation. |
bitflags | [in] The bitmap of one or more flags specified by the GetGripPointsFlags enumeration. |
ODRX_SEALED_VIRTUAL OdResult OdDbEntity::moveStretchPointsAt | ( | const OdIntArray & | indices, |
const OdGeVector3d & | offset | ||
) |
Moves the specified stretch points of this entity.
stretchPoints | [in] Array of moved grip points. |
indices | [in] Array of indicies. |
offset | [in] The direction and magnitude of the stretch points offset (WCS). |
OdDbEntity::ODDB_DECLARE_MEMBERS | ( | OdDbEntity | ) |
OdString OdDbEntity::plotStyleName | ( | ) | const |
Returns the name of the plotStyleName string associated with this entity (DXF 390).
|
virtual |
Returns the ReceiveShadows flag for this entity..
Sets the bit flag indicating the entity's geometry is changed.
graphicsModified | [in] New value. |
|
virtual |
Creates a geometric representation of this entity for saving proxy graphics or converting to previous formats.
pWd | [in] Pointer to the OdGiWorldDraw object. |
ver | [in] Specifies the reason why the method is called. |
Reimplemented in OdDbRegion, OdDbMPolygon, OdDbBody, and OdDb3dSolid.
|
virtual |
Controls the CastShadows flag for this entity.
castShadows | [in] CastShadows flag. |
Sets the color information of this entity from an OdCmColor instance.
color | [in] OdCmColor object. |
doSubents | [in] If and only if true, applies the change to all sub-entities owned by this entity. |
Reimplemented in OdDbProxyEntity.
|
virtual |
Assigns the specified OdDbColor object to this entity.
colorId | [in] Object ID of the OdDbColor object. |
doSubents | [in] If and only if true, applies the change to all sub-entities owned by this entity. |
Reimplemented in OdDbProxyEntity.
Sets the color index of this entity (DXF 62).
colorIndex | [in] Color index. |
doSubents | [in] If and only if true, applies the change to all sub-entities owned by this entity. |
colorIndex will be in the range [0 .. 256]. 0 indicates a color of BYBLOCK. 256 indicates a color of BYLAYER.
Reimplemented in OdDbProxyEntity.
void OdDbEntity::setDatabaseDefaults | ( | OdDbDatabase * | pDb = 0 , |
bool | doSubents = false |
||
) |
Applies the default properties of the specified database to this entity.
pDb | [in] Pointer to the database whose default values are to be used. |
doSubents | [in] Set to true if subentities should be processed |
The following properties are set color layer linetype linetype scale lineweight plotstyle visibility
|
virtual |
Sets the layer to be referenced by this entity (DXF 8).
layerName | [in] Name of the layer. |
doSubents | [in] If and only if true, applies the change to all sub-entities owned by this entity. |
Reimplemented in OdDbProxyEntity.
|
virtual |
Sets the layer to be referenced by this entity (DXF 8).
layerId | [in] Object ID of the LayerTableRecord. |
doSubents | [in] If and only if true, applies the change to all sub-entities owned by this entity. |
Reimplemented in OdDbProxyEntity.
|
virtual |
Sets the linetype to be referenced by this entity (DXF 6).
linetypeName | [in] Name of the linetype. |
doSubents | [in] If and only if true, applies the change to all sub-entities owned by this entity. |
Reimplemented in OdDbProxyEntity.
|
virtual |
Sets the linetype to be referenced by this entity (DXF 6).
linetypeID | [in] Object ID of the linetype. |
doSubents | [in] If and only if true, applies the change to all sub-entities owned by this entity. |
Reimplemented in OdDbProxyEntity.
|
virtual |
Sets the Linetype scale of this entity (DXF 48).
linetypeScale | [in] Linetype scale factor. |
doSubents | [in] If and only if true, applies the change to all sub-entities owned by this entity. |
Reimplemented in OdDbProxyEntity.
|
virtual |
Sets the lineweight property of this entity (DXF 370).
lineWeight | [in] Lineweight. |
doSubents | [in] If and only if true, applies the change to all sub-entities owned by this entity. |
Reimplemented in OdDbProxyEntity.
|
virtual |
Sets the material to be referenced by this entity (DXF 347).
materialName | [in] Name of the material. |
doSubents | [in] If and only if true, applies the change to all sub-entities owned by this entity. |
Reimplemented in OdDbProxyEntity.
|
virtual |
Sets the material to be referenced by this entity (DXF 347).
materialID | [in] Object ID of the material. |
doSubents | [in] If and only if true, applies the change to all sub-entities owned by this entity. |
Reimplemented in OdDbProxyEntity.
|
virtual |
Sets the mapper used to map a material to the entity.
mapper | [in] The mapper of a material. |
doSubents | [in] If and only if true, applies the change to all sub-entities owned by this entity. |
|
virtual |
Sets the plot style of this entity.
plotStyleName | [in] Name of the plot style. |
doSubents | [in] If and only if true, applies the change to all sub-entities owned by this entity. |
Reimplemented in OdDbProxyEntity.
|
virtual |
Sets the plot style of this entity.
plotStyleNameType | [in] Plot Style Name Type. |
plotStyleNameId | [in] Object ID of the plot style name. |
doSubents | [in] If and only if true, applies the change to all sub-entities owned by this entity. |
plotStyleNameId is used only when plotStyleNameType == kPlotStyleNameById.
plotStyleNameType must be one of the following:
Value OdDb::kPlotStyleNameByLayer 0 OdDb::kPlotStyleNameByBlock 1 OdDb::kPlotStyleNameIsDictDefault 2 OdDb::kPlotStyleNameById 3
Reimplemented in OdDbProxyEntity.
void OdDbEntity::setPropertiesFrom | ( | const OdDbEntity * | pSource, |
bool | doSubents = true |
||
) |
Copies the properties from the specified entity to this entity.
pSource | [in] Pointer to the source entity. |
doSubents | [in] If and only if true, applies the change to all sub-entities owned by this entity. |
|
virtual |
Controls the Receivehadows flag for this entity.
receiveShadows | [in] ReceiveShadows flag. |
void OdDbEntity::setTempVisibility | ( | OdDb::Visibility | visibility | ) |
Sets the temporary (not saved to file) visibility status of this entity.
visibility | [in] Visibility status, must be one of the following: |
|
virtual |
Sets the transparency setting of this entity, and returns eOk if successful.
transparency | [in] OdCmTransparency object be assigned. |
doSubents | [in] If and only if true, applies the change to all sub-entities owned by this entity. |
If you override this function, you must call OdDbEntity::setTransparency(), passing to it the calling arguments.
ODRX_SEALED_VIRTUAL OdResult OdDbEntity::setVisibility | ( | OdDb::Visibility | visibility, |
bool | doSubents = true |
||
) |
Sets the visibility status of this entity (DXF 60).
visibility | [in] Visibility status. |
doSubents | [in] If and only if true, applies the change to all sub-entities owned by this entity. |
visibility must be one of the following:
Value OdDb::kInvisible 1 OdDb::kVisible 0
|
virtual |
Sets the visual style to be used by this entity.
visualStyleId | [in] Object ID of the visual style. |
vstype | [in] Type of the visual style. |
doSubents | [in] If and only if true, applies the change to all sub-entities owned by this entity. |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Reimplemented from OdDbObject.
Reimplemented in OdDbMLeader, CFxBIMSectionView, CFxBIMSectionEntity, CFxBIMSection, CFxBIMEntityReference, OdDbRasterImage, OdDbProxyEntity, and OdDbCamera.
|
protectedvirtual |
Reimplemented in OdDbMLeader.
ODRX_SEALED_VIRTUAL void OdDbEntity::subentGripStatus | ( | OdDb::GripStat | status, |
const OdDbFullSubentPath & | subentity | ||
) |
ODRX_SEALED_VIRTUAL OdDbEntityPtr OdDbEntity::subentPtr | ( | const OdDbFullSubentPath & | path | ) | const |
Create an object by OdDbFullSubentPath to the subentity.
path | [in] The OdDbFullSubentPath to the subentity. |
|
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.
Reimplemented in CFxBIMSectionView, CFxBIMSectionEntity, CFxBIMSection, CFxBIMEntityReference, OdDbViewport, OdDbSequenceEnd, OdDbProxyEntity, OdDbPolygonMeshVertex, OdDbPolyFaceMeshVertex, OdDbLight, OdDbFaceRecord, and OdDbCamera.
|
protectedvirtual |
Reimplemented in CFxBIMSectionEntity, OdDbTable, OdDbRasterImage, OdDbProxyEntity, OdDbMLeader, OdDbLeader, OdDbHatch, OdDbDimension, OdDbBlockReference, OdDbArcAlignedText, OdDb2dPolyline, OdDbSurface, OdDbSubDMesh, OdDbSpline, OdDbRegion, OdDbPolyline, OdDbPolygonMesh, OdDbPolyFaceMesh, OdDbPlaneSurface, OdDbMText, OdDbMPolygon, OdDbMline, OdDbMInsertBlock, OdDbHelix, OdDbBody, OdDb3dSolid, and OdDb3dPolyline.
Reimplemented from OdDbObject.
Reimplemented in OdDbWipeout, OdDbRasterImage, OdDbPolyline, OdDbMLeader, OdDbFcf, OdDb2dPolyline, OdDbXline, OdDbViewport, OdDbPdfReference, OdDbDgnReference, OdDbDwfReference, OdDbTrace, OdDbText, OdDbTable, OdDbSweptSurface, OdDbSurface, OdDbSpline, OdDbSolid, OdDbShape, OdDbSection, OdDbRotatedDimension, OdDbRevolvedSurface, OdDbRegion, OdDbRay, OdDbRadialDimensionLarge, OdDbRadialDimension, OdDbPolygonMesh, OdDbPolyFaceMesh, OdDbPoint, OdDbPlaneSurface, OdDbOrdinateDimension, OdDbOle2Frame, OdDbMText, OdDbMline, OdDbMInsertBlock, OdDbLoftedSurface, OdDbLine, OdDbLeader, OdDbHelix, OdDbHatch, OdDbFace, OdDbExtrudedSurface, OdDbEllipse, OdDbDimension, OdDbDiametricDimension, OdDbCircle, OdDbCamera, OdDbBlockReference, OdDbAttributeDefinition, OdDbAttribute, OdDbArcDimension, OdDbArc, OdDbAlignedDimension, OdDb3PointAngularDimension, OdDb3dSolid, OdDb3dPolyline, and OdDb2LineAngularDimension.
|
protectedvirtual |
Reimplemented in OdDbDimension, and OdDbBlockReference.
|
protectedvirtual |
Reimplemented in CFxBIMSectionEntity, CFxBIMSection, CFxBIMEntityReference, OdDbViewRepBlockReference, OdDbRasterImage, OdDbPolyline, OdDbMLeader, OdDbFcf, OdDbXline, OdDbViewport, OdDbVertex, OdDbTable, OdDbSurface, OdDbSubDMesh, OdDbSpline, OdDbSequenceEnd, OdDbRegion, OdDbRay, OdDbPolyFaceMesh, OdDbPointCloud, OdDbMText, OdDbMInsertBlock, OdDbLine, OdDbGeoPositionMarker, OdDbFaceRecord, OdDbEllipse, OdDbCircle, OdDbCamera, OdDbBody, OdDbBlockReference, OdDbBlockEnd, OdDbBlockBegin, OdDbArc, OdDb3dSolid, OdDb3dPolyline, and OdDb2dPolyline.
|
protectedvirtual |
Reimplemented in CFxBIMSectionView, CFxBIMSectionEntity, CFxBIMSection, and CFxBIMEntityReference.
|
protectedvirtual |
Reimplemented in CFxBIMSectionView, CFxBIMSectionEntity, CFxBIMSection, CFxBIMEntityReference, and OdDbDetailSymbol.
|
protectedvirtual |
|
protectedvirtual |
Reimplemented in OdDbViewRepBlockReference, OdDbMLeader, OdDbBlockReference, OdDbTrace, OdDbSurface, OdDbSubDMesh, OdDbSolid, OdDbRegion, OdDbPolyline, OdDbPolygonMesh, OdDbPolyFaceMesh, OdDbMline, OdDbLeader, OdDbHatch, OdDbFace, OdDbBody, OdDb3dSolid, OdDb3dPolyline, and OdDb2dPolyline.
|
protectedvirtual |
Reimplemented in CFxBIMSectionView, CFxBIMSectionEntity, CFxBIMSection, CFxBIMEntityReference, and OdDbUnderlayReference.
|
protectedvirtual |
Reimplemented in CFxBIMSectionView, CFxBIMSectionEntity, CFxBIMSection, and CFxBIMEntityReference.
|
protectedvirtual |
Reimplemented in CFxBIMSectionView, CFxBIMSectionEntity, CFxBIMSection, and CFxBIMEntityReference.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Reimplemented in OdDbMLeader, OdDbHatch, OdDbSurface, OdDbRegion, OdDb3dSolid, OdDbBlockReference, OdDbPolyline, OdDbBody, OdDbTrace, OdDbSubDMesh, OdDbSolid, OdDbPolygonMesh, OdDbPolyFaceMesh, OdDbMline, OdDbLeader, OdDbFace, OdDb3dPolyline, and OdDb2dPolyline.
|
protectedvirtual |
Reimplemented in OdDbLeader, OdDbMLeader, CFxBIMSectionEntity, CFxBIMEntityReference, OdDbText, OdDbHatch, OdDbDimension, OdDbBlockReference, OdDbTable, OdDbCircle, OdDbArc, OdDbWipeout, OdDbPolyline, RText, OdDbViewport, OdDbSurface, OdDbSequenceEnd, OdDbSection, OdDbOle2Frame, OdDbMText, OdDbMline, and OdDb2dVertex.
|
protectedvirtual |
Reimplemented in CFxBIMSectionView, CFxBIMSectionEntity, CFxBIMSection, and CFxBIMEntityReference.
|
virtual |
Returns the WCS geometric extents of this entity.
extents | [out] Receives the extents. |
The extents are the WCS corner points of a box, aligned with the WCS axes, that encloses the 3D extents of this entity.
Reimplemented from OdDbObject.
|
protectedvirtual |
|
protectedvirtual |
Reimplemented in OdDbViewBorder, OdDbLight, and OdDbCamera.
|
protectedvirtual |
Reimplemented in OdDbRegion.
|
protectedvirtual |
Reimplemented in OdDbRegion.
|
protectedvirtual |
Reimplemented in CFxBIMSectionView, CFxBIMSectionEntity, CFxBIMSection, CFxBIMEntityReference, OdDbPdfReference, OdDbDgnReference, and OdDbDwfReference.
|
virtual |
|
protectedvirtual |
Reimplemented in CFxBIMSectionView, CFxBIMSectionEntity, CFxBIMSection, and CFxBIMEntityReference.
|
protectedvirtual |
Reimplemented in CFxBIMSectionView, CFxBIMSectionEntity, CFxBIMSection, CFxBIMEntityReference, OdDbDetailSymbol, and OdDbMLeader.
|
protectedvirtual |
|
protectedvirtual |
Reimplemented in CFxBIMSectionView, CFxBIMSectionEntity, CFxBIMSection, and CFxBIMEntityReference.
|
virtual |
Sets the values of this object's subentity traits, and returns with the calling object's subentity traits.
pTraits | [in] Pointer to the OdGiDrawableTraits object to be set. |
A derived class may not remove flags for any reason.
The default implementation does nothing but returns kDrawableNone. This function can be overridden in custom classes.
Reimplemented from OdDbObject.
Reimplemented in CFxBIMSectionView, CFxBIMSectionEntity, CFxBIMSection, CFxBIMEntityReference, OdDbNavisworksReference, OdDbPdfReference, OdDbUnderlayReference, OdDbMLeader, OdDbLeader, OdDbViewport, OdDbSurface, OdDbSubDMesh, OdDbRegion, OdDbPoint, OdDbLight, OdDbDimension, OdDbCamera, OdDbBody, OdDbBlockReference, OdDbAttributeDefinition, and OdDb3dSolid.
|
virtual |
Called by setDatabaseDefaults() after the values are set.
pDb | [in] Pointer to the database whose default values are to be used. |
doSubents | [in] Set to true if subentities should be processed |
This function allows custom classes to inspect and modify the values set by setDatabaseDefaults.
The default implementation of this function returns eNotApplicable. This function can be overridden in custom classes.
Reimplemented in OdDbOle2Frame, OdDbText, OdDbMLeader, OdDbFcf, OdDbViewport, OdDbTable, OdDbMText, OdDbMPolygon, OdDbMline, OdDbLeader, OdDbHatch, OdDbGeoPositionMarker, and OdDbDimension.
|
protectedvirtual |
Reimplemented in OdDbProxyEntity.
|
protectedvirtual |
|
protectedvirtual |
Reimplemented in OdDbMLeader, OdDbVertex, OdDbPolyline, OdDbHatch, OdDb3dPolyline, OdDb2dPolyline, OdDbSurface, OdDbRegion, OdDbBody, OdDb3dSolid, and OdDbArc.
|
virtual |
This function is called as the first operation of the swapIdWith() function.
otherId | [in] Object ID of object with which to swap. |
swapXdata | [in] XData will be swaped if and only if swapXData is true. |
swapExtDict | [in] Extension dictionaries will be swapped if and only if swapExtDict is true. |
The default implementation of this function does nothing. This function can be overridden in custom classes.
Reimplemented from OdDbObject.
|
protectedvirtual |
Reimplemented in OdDbMLeader, OdDbViewBorder, OdDbVertex, OdDbSection, OdDbPointCloudEx, OdDbGeoPositionMarker, OdDbMPolygon, OdDbBody, CFxBIMSectionEntity, CFxBIMEntityReference, OdDbDetailSymbol, OdDbViewport, OdDbText, OdDbRasterImage, OdDbProxyEntity, OdDbPolyline, OdDbOle2Frame, OdDbLine, OdDbLeader, OdDbHatch, OdDbFcf, OdDbDimension, OdDbBlockReference, OdDbArcAlignedText, OdDb2dVertex, OdDb2dPolyline, RText, OdDbXline, OdDbNavisworksReference, OdDbUnderlayReference, OdDbTrace, OdDbTable, OdDbSweptSurface, OdDbSurface, OdDbSubDMesh, OdDbSpline, OdDbSolid, OdDbShape, OdDbRevolvedSurface, OdDbRegion, OdDbRay, OdDbPolygonMesh, OdDbPolyFaceMesh, OdDbPointCloud, OdDbPoint, OdDbMText, OdDbMline, OdDbMInsertBlock, OdDbLoftedSurface, OdDbLight, OdDbHelix, OdDbFace, OdDbExtrudedSurface, OdDbEllipse, OdDbCircle, OdDbCamera, OdDbArc, OdDb3dSolid, and OdDb3dPolyline.
|
protectedvirtual |
|
virtual |
Reimplemented from OdDbObject.
Reimplemented in CFxBIMSectionEntity, CFxBIMSection, CFxBIMEntityReference, OdDbHatch, OdDbGeoPositionMarker, OdDbViewRepBlockReference, OdDbRasterImage, OdDbPolyline, OdDbOle2Frame, OdDbLeader, OdDbFcf, OdDbViewRepImage, OdDbUnderlayReference, OdDbTrace, OdDbText, OdDbSolid, OdDbSection, OdDbPointCloudEx, OdDbPointCloud, OdDbPoint, OdDbMText, OdDbLight, OdDbFace, OdDbDimension, OdDbCamera, OdDbBody, OdDbBlockReference, OdDbAttributeDefinition, OdDbAttribute, OdDb3dSolid, and OdDbMLeader.
|
protectedvirtual |
|
protectedvirtual |
Reimplemented from OdDbObject.
Reimplemented in OdDbMLeader, CFxBIMSectionView, CFxBIMSectionEntity, CFxBIMSection, CFxBIMEntityReference, OdDbProxyEntity, OdDbDimension, OdDbCamera, and OdDbFcf.
|
virtual |
Reimplemented from OdDbObject.
Reimplemented in CFxBIMSectionView, CFxBIMSectionEntity, CFxBIMSection, CFxBIMEntityReference, OdDbViewSymbol, OdDbSectionSymbol, OdDbDetailSymbol, OdDbGeoPositionMarker, OdDbViewRepBlockReference, OdDbWipeout, OdDbRasterImage, OdDbPolyline, OdDbOle2Frame, OdDbMLeader, OdDbLeader, OdDbFcf, OdDbArcAlignedText, RText, OdDbViewRepImage, OdDbViewBorder, OdDbXline, OdDbViewport, OdDbNavisworksReference, OdDbUnderlayReference, OdDbTrace, OdDbText, OdDbTable, OdDbSurface, OdDbSubDMesh, OdDbSpline, OdDbSolid, OdDbShape, OdDbSection, OdDbRegion, OdDbRay, OdDbPolygonMesh, OdDbPolyFaceMesh, OdDbPointCloudEx, OdDbPointCloud, OdDbPoint, OdDbMText, OdDbMPolygon, OdDbMline, OdDbMInsertBlock, OdDbLine, OdDbLight, OdDbHatch, OdDbFace, OdDbEllipse, OdDbDimension, OdDbCircle, OdDbCamera, OdDbBody, OdDbBlockReference, OdDbAttributeDefinition, OdDbAttribute, OdDbArc, OdDb3dSolid, OdDb3dPolyline, and OdDb2dPolyline.
OdDb::Visibility OdDbEntity::tempVisibility | ( | ) | const |
Returns the temporary (not saved) visibility status of this entity.
Value OdDb::kInvisible 1 OdDb::kVisible 0
ODRX_SEALED_VIRTUAL OdResult OdDbEntity::transformBy | ( | const OdGeMatrix3d & | xfm | ) |
Applies the specified 3D transformation matrix to this entity.
xfm | [in] 3D transformation matrix. |
ODRX_SEALED_VIRTUAL OdResult OdDbEntity::transformSubentPathsBy | ( | const OdDbFullSubentPathArray & | paths, |
const OdGeMatrix3d & | xform | ||
) |
Applies a geometric transformation to one or more subentities on an object.
paths | [in] The array of OdDbFullSubentPath objects. |
xform | [in] The WCS transformation to apply to each of the supplied subentities. |
OdCmTransparency OdDbEntity::transparency | ( | ) | const |
Returns the transparency setting of this entity.
OdDb::Visibility OdDbEntity::visibility | ( | ) | const |
Returns the visibility status of this entity. It takes into account both permanent (DXF 60) and temporary visibility statuses: the entity is visible only if it's visible in both parts.
Value OdDb::kInvisible 1 OdDb::kVisible 0
OdDbObjectId OdDbEntity::visualStyleId | ( | VisualStyleType | vstype = kFullVisualStyle | ) | const |
Returns the Object ID of the visual style used by this entity.
|
friend |
Definition at line 1299 of file DbEntity.h.
|
friend |
Definition at line 1295 of file DbEntity.h.
|
friend |
Definition at line 1297 of file DbEntity.h.
|
friend |
Definition at line 1293 of file DbEntity.h.
|
friend |
Definition at line 1292 of file DbEntity.h.
|
friend |
Definition at line 1296 of file DbEntity.h.
|
friend |
Definition at line 1294 of file DbEntity.h.
|
friend |
Definition at line 1298 of file DbEntity.h.