CFx SDK Documentation 2024 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 () |
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 OdDbSolidBackground, OdDbGradientBackground, OdDbImageBackground, OdDbGroundPlaneBackground, OdDbSkyBackground, OdDbIBLBackground, OdDbLight, and OdDbSun.
Definition at line 113 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 OdIfc::OdIfcProduct, OdIfc::OdIfcShapeRepresentation, OdDbBlockTableRecord, OdDbLayout, OdDbLSSymbolComponent, and OdDbEntity.
|
pure virtual |
Retrieves the OdGsCache associated with this object.
Implemented in OdIfc::OdIfcCachedCompound, OdIfc::OdIfcCompound, OdDbObject, OdGiDrawableImpl< T >, OdGiDrawableImpl< OdGiDrawable >, OdDbGeoDataChunks, OdDbGeoDataProvidersString, and OdDbGeoDataMarker.
|
pure virtual |
Retrieves the database ID of this object.
Implemented in OdIfc::OdIfcCompound, OdDbObject, OdGiDrawableImpl< T >, OdGiDrawableImpl< OdGiDrawable >, OdDbGeoDataChunks, OdDbGeoDataProvidersString, and OdDbGeoDataMarker.
|
pure virtual |
Checks whether this object is persistent (stored in a database).
Implemented in OdIfc::OdIfcCompound, OdDbObject, OdGiDrawableImpl< T >, OdGiDrawableImpl< OdGiDrawable >, OdDbGeoDataChunks, OdDbGeoDataProvidersString, and OdDbGeoDataMarker.
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 OdIfc::OdIfcCachedCompound, OdIfc::OdIfcCompound, OdGiDrawableImpl< T >, OdGiDrawableImpl< OdGiDrawable >, OdDbGeoDataChunks, OdDbGeoDataProvidersString, OdDbGeoDataMarker, and OdDbObject.
|
protectedvirtual |
|
protectedpure virtual |
Implemented in AECDbEntity, OdIfc::OdIfcProject, OdIfc::OdIfcRepresentationItem, OdDb3dSolid, OdDbAbstractViewTableRecord, OdDbAttributeDefinition, OdDbSolidBackground, OdDbGradientBackground, OdDbImageBackground, OdDbGroundPlaneBackground, OdDbSkyBackground, OdDbIBLBackground, OdDbBlockReference, OdDbBody, OdDbCamera, OdDbDimension, OdDbEntity, OdDbGeoPositionMarker, OdDbLayerTableRecord, OdDbLayout, OdDbLight, OdDbLinetypeTableRecord, OdDbMaterial, OdDbMText, OdDbObject, OdDbPoint, OdDbRasterImage, OdDbRegion, OdDbRenderSettings, OdDbMentalRayRenderSettings, OdDbRapidRTRenderSettings, OdDbRenderEnvironment, OdDbSubDMesh, OdDbSun, OdDbSurface, OdDbTextStyleTableRecord, OdDbViewport, OdDbVisualStyle, OdDbWipeout, OdDbGeoDataChunks, OdDbGeoDataProvidersString, OdDbGeoDataMarker, OdDbBlockTableRecord, OdDbLeader, OdDbMLeader, CFxEdInputTracker, OdIfc::OdIfcProduct, OdIfc::OdIfcShapeRepresentation, OdIfc::OdIfcCompound, OdDbUnderlayReference, OdDbPdfReference, OdDbNavisworksReference, CFxBIMEntityReference, CFxBIMSection, CFxBIMSectionEntity, and CFxBIMSectionView.
|
protectedpure virtual |
Implemented in OdGiDrawableImpl< T >, OdGiDrawableImpl< OdGiDrawable >, OdDbMLeader, OdDb3dSolid, OdDbAttribute, OdDbAttributeDefinition, OdDbBlockReference, OdDbBody, OdDbCamera, OdDbDimension, OdDbEntity, OdDbFace, OdDbLayerTableRecord, OdDbLight, OdDbMText, OdDbObject, OdDbPoint, OdDbPointCloud, OdDbPointCloudEx, OdDbSection, OdDbSolid, OdDbSurface, OdDbText, OdDbTrace, OdDbUnderlayReference, OdDbViewRepImage, OdDbGeoDataChunks, OdDbGeoDataProvidersString, OdDbGeoDataMarker, OdDbFcf, OdDbLeader, OdDbOle2Frame, OdDbPolyline, OdDbRasterImage, OdDbViewRepBlockReference, AECDbEntity, OdDbGeoPositionMarker, OdDbHatch, OdIfc::OdIfcCompound, CFxBIMEntityReference, CFxBIMRoomSectionEntity, CFxBIMSection, CFxBIMSectionEntity, and OdDbLayout.
|
protectedvirtual |
|
protectedpure virtual |
Implemented in OdIfc::OdIfcShapeRepresentation, OdDb2dPolyline, OdDb3dPolyline, OdDb3dSolid, OdDbArc, OdDbAttribute, OdDbAttributeDefinition, OdDbBlockReference, OdDbBody, OdDbCamera, OdDbCircle, OdDbDimension, OdDbEllipse, OdDbEntity, OdDbFace, OdDbHatch, OdDbLayerTableRecord, OdDbLayout, OdDbLight, OdDbLine, OdDbMInsertBlock, OdDbMline, OdDbMPolygon, OdDbMText, OdDbObject, OdDbPoint, OdDbPointCloud, OdDbPointCloudEx, OdDbPolyFaceMesh, OdDbPolygonMesh, OdDbRay, OdDbRegion, OdDbSection, OdDbShape, OdDbSolid, OdDbSpline, OdDbSubDMesh, OdDbSurface, OdDbTable, OdDbText, OdDbTrace, OdDbUnderlayReference, OdDbNavisworksReference, OdDbViewport, OdDbXline, OdDbViewBorder, OdDbViewRepImage, OdDbGeoDataChunks, OdDbGeoDataProvidersString, OdDbGeoDataMarker, RText, OdDbShHistory, OdDbShPrimitive, OdIfc::OdIfcProject, OdDbArcAlignedText, OdDbBlockTableRecord, OdDbFcf, OdDbLeader, OdDbMLeader, OdDbOle2Frame, OdDbPolyline, OdDbRasterImage, OdDbWipeout, OdDbViewRepBlockReference, CFxBIMRoomSectionEntity, AECDbEntity, OdDbGeoPositionMarker, OdDbDetailSymbol, OdDbSectionSymbol, OdDbViewSymbol, CFxEdInputTracker, OdIfc::OdIfcProduct, OdIfc::OdIfcRepresentationItem, OdIfc::OdIfcCompound, CFxBIMEntityReference, CFxBIMSection, and CFxBIMSectionEntity.
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 244 of file GiDrawable.h.