|
CFx SDK Documentation 2026 SP0
|
#include <GiDrawable.h>
Protected Member Functions | |
| OdGiDrawable () | |
| virtual OdUInt32 | subSetAttributes (OdGiDrawableTraits *traits) const =0 |
| virtual bool | subWorldDraw (OdGiWorldDraw *wd) const =0 |
| virtual void | subViewportDraw (OdGiViewportDraw *vd) const =0 |
| virtual OdUInt32 | subViewportDrawLogicalFlags (OdGiViewportDraw *vd) const |
| virtual OdUInt32 | subRegenSupportFlags () const |
Friends | |
| class | OdGiDrawableOverrule |
Additional Inherited Members | |
Static Public Member Functions inherited from OdRxObject | |
| static OdRxObjectPtr | cast (const OdRxObject *pointer) |
| static OdRxClass * | desc () |
| static void | rxInit () |
| static void | rxUninit () |
This class is the base class for all graphical objects, both transient and persistent.
<group OdGi_Classes>
Definition at line 47 of file GiDrawable.h.
Drawable types.
Definition at line 90 of file GiDrawable.h.
Attribute flags for a drawable.
Definition at line 57 of file GiDrawable.h.
|
protected |
|
inlinevirtual |
Retrieves a type of this drawable.
Reimplemented in OdDbGradientBackground, OdDbGroundPlaneBackground, OdDbIBLBackground, OdDbImageBackground, OdDbLight, OdDbSkyBackground, OdDbSolidBackground, and OdDbSun.
Definition at line 116 of file GiDrawable.h.
|
virtual |
Retrieves a WCS bounding box that represents the extents of this entity.
| extents | [out] Receives the WCS extents. |
Reimplemented in OdDbBlockTableRecord, OdDbEntity, OdDbLayout, and OdDbLSSymbolComponent.
|
pure virtual |
Retrieves the OdGsCache associated with this object.
Implemented in OdDbGeoDataChunks, OdDbGeoDataMarker, OdDbGeoDataProvidersString, OdDbObject, OdGiDrawableImpl< T >, and OdGiDrawableImpl< OdGiDrawable >.
|
pure virtual |
Retrieves the database ID of this object.
Implemented in OdDbGeoDataChunks, OdDbGeoDataMarker, OdDbGeoDataProvidersString, OdDbObject, OdGiDrawableImpl< T >, and OdGiDrawableImpl< OdGiDrawable >.
|
pure virtual |
Checks whether this object is persistent (stored in a database).
Implemented in OdDbGeoDataChunks, OdDbGeoDataMarker, OdDbGeoDataProvidersString, OdDbObject, OdGiDrawableImpl< T >, and OdGiDrawableImpl< OdGiDrawable >.
| OdGiDrawable::ODRX_DECLARE_MEMBERS | ( | OdGiDrawable | ) |
| ODRX_SEALED_VIRTUAL OdUInt32 OdGiDrawable::regenSupportFlags | ( | ) | const |
Retrieves a set of flags that represents the multi-threaded rendering support of this entity.
| ODRX_SEALED_VIRTUAL OdUInt32 OdGiDrawable::setAttributes | ( | OdGiDrawableTraits * | pTraits | ) | const |
Sets the vectorization attributes of this object, and returns its attribute flags.
| pTraits | [in] Pointer to OdGiDrawableTraits object from and to which the attributes are to be set. |
Assigns the specified OdGsCache to this object.
| pGsNode | [in] Pointer to the OdGsCache to be assigned. |
Implemented in OdDbGeoDataChunks, OdDbGeoDataMarker, OdDbGeoDataProvidersString, OdDbObject, OdGiDrawableImpl< T >, and OdGiDrawableImpl< OdGiDrawable >.
|
protectedvirtual |
|
protectedpure virtual |
Implemented in AECDbEntity, CFxBIMEntityReference, CFxBIMSection, CFxBIMSectionEntity, CFxBIMSectionView, CFxEdInputTracker, OdDb3dSolid, OdDbAbstractViewTableRecord, OdDbAttributeDefinition, OdDbBlockReference, OdDbBlockTableRecord, OdDbBody, OdDbCamera, OdDbDimension, OdDbEntity, OdDbFace, OdDbGeoDataChunks, OdDbGeoDataMarker, OdDbGeoDataProvidersString, OdDbGeoPositionMarker, OdDbGradientBackground, OdDbGroundPlaneBackground, OdDbIBLBackground, OdDbImageBackground, OdDbLayerTableRecord, OdDbLayout, OdDbLeader, OdDbLight, OdDbLinetypeTableRecord, OdDbMaterial, OdDbMentalRayRenderSettings, OdDbMLeader, OdDbMText, OdDbNavisworksReference, OdDbObject, OdDbPdfReference, OdDbPoint, OdDbRapidRTRenderSettings, OdDbRasterImage, OdDbRegion, OdDbRenderEnvironment, OdDbRenderSettings, OdDbSkyBackground, OdDbSolidBackground, OdDbSubDMesh, OdDbSun, OdDbSurface, OdDbTextStyleTableRecord, OdDbUnderlayReference, OdDbViewport, OdDbVisualStyle, and OdDbWipeout.
|
protectedpure virtual |
Implemented in AECDbEntity, CFxBIMEntityReference, CFxBIMRoomSectionEntity, CFxBIMSection, CFxBIMSectionEntity, OdDb3dSolid, OdDbAttribute, OdDbAttributeDefinition, OdDbBlockReference, OdDbBody, OdDbCamera, OdDbDimension, OdDbEntity, OdDbFace, OdDbFcf, OdDbGeoDataChunks, OdDbGeoDataMarker, OdDbGeoDataProvidersString, OdDbGeoMap, OdDbGeoPositionMarker, OdDbHatch, OdDbLayerTableRecord, OdDbLayout, OdDbLeader, OdDbLight, OdDbMLeader, OdDbMText, OdDbObject, OdDbOle2Frame, OdDbPoint, OdDbPointCloud, OdDbPointCloudEx, OdDbPolyline, OdDbRasterImage, OdDbSection, OdDbSolid, OdDbSurface, OdDbTable, OdDbText, OdDbTrace, OdDbUnderlayReference, OdDbViewRepBlockReference, OdDbViewRepImage, OdGiDrawableImpl< T >, and OdGiDrawableImpl< OdGiDrawable >.
|
protectedvirtual |
|
protectedpure virtual |
Implemented in AECDbEntity, CFxBIMEntityReference, CFxBIMRoomSectionEntity, CFxBIMSection, CFxBIMSectionEntity, CFxEdInputTracker, OdDb2dPolyline, OdDb3dPolyline, OdDb3dSolid, OdDbArc, OdDbArcAlignedText, OdDbAttribute, OdDbAttributeDefinition, OdDbBlockReference, OdDbBlockTableRecord, OdDbBody, OdDbCamera, OdDbCircle, OdDbDetailSymbol, OdDbDimension, OdDbEllipse, OdDbEntity, OdDbFace, OdDbFcf, OdDbGeoDataChunks, OdDbGeoDataMarker, OdDbGeoDataProvidersString, OdDbGeoMap, OdDbGeoPositionMarker, OdDbHatch, OdDbLayerTableRecord, OdDbLayout, OdDbLeader, OdDbLight, OdDbLine, OdDbMInsertBlock, OdDbMLeader, OdDbMline, OdDbMPolygon, OdDbMText, OdDbNavisworksReference, OdDbObject, OdDbOle2Frame, OdDbPoint, OdDbPointCloud, OdDbPointCloudEx, OdDbPolyFaceMesh, OdDbPolygonMesh, OdDbPolyline, OdDbRasterImage, OdDbRay, OdDbRegion, OdDbSection, OdDbSectionSymbol, OdDbShape, OdDbShHistory, OdDbShPrimitive, OdDbSolid, OdDbSpline, OdDbSubDMesh, OdDbSurface, OdDbTable, OdDbText, OdDbTrace, OdDbUnderlayReference, OdDbViewBorder, OdDbViewport, OdDbViewRepBlockReference, OdDbViewRepImage, OdDbViewSymbol, OdDbWipeout, OdDbXline, and RText.
| ODRX_SEALED_VIRTUAL void OdGiDrawable::viewportDraw | ( | OdGiViewportDraw * | pVd | ) | const |
Creates a viewport-dependent geometric representation of this object.
This function is called once per viewport.
The default implementation of this function does nothing. This function can be overridden in custom classes.
| pVd | [in] Pointer to the OdGiViewportDraw interface. |
| ODRX_SEALED_VIRTUAL OdUInt32 OdGiDrawable::viewportDrawLogicalFlags | ( | OdGiViewportDraw * | pVd | ) | const |
Retrieves the setAttributes flags for the current viewportDraw.
| pVd | [in] Pointer to OdGiViewportDraw interface. |
| ODRX_SEALED_VIRTUAL bool OdGiDrawable::worldDraw | ( | OdGiWorldDraw * | pWd | ) | const |
Creates a viewport-independent geometric representation of this object.
The 3D GS will call this function at least once but may cache subsequent display updates.
Use OdGsModel::onModified() to ensure that the 3D GS will call worldDraw() for next display update.
The default implementation does nothing but return true. This function can be overridden in custom classes.
| pWd | [in] Pointer to the OdGiWorldDraw interface. |
|
friend |
Definition at line 247 of file GiDrawable.h.