CFx SDK Documentation 2024 SP0
|
#include <AECDisplayManager.h>
Static Public Member Functions | |
static OdRxClass * | GetDisplayPropertiesType (OdRxClass *pDisplayRepresentationType) |
static OdRxClass * | GetModelDisplayRepresentation (OdRxClass *pEntityType) |
Allows access to AEC Display System.
<group TA_API_Auxiliary_Classes>
Definition at line 36 of file AECDisplayManager.h.
AECDisplayManager::AECDisplayManager | ( | OdDbDatabase * | dDb | ) |
Constructor.
|
virtual |
Destructor.
OdDbObjectId AECDisplayManager::GetCurrentDisplayConfiguration | ( | ) | const |
Returns the Object ID of current Display Configuration for referenced database.
OdDbObjectId AECDisplayManager::GetCurrentDisplayConfiguration | ( | const OdDbObjectId & | idViewport | ) | const |
Returns the Object ID of current Display Configuration for specified viewport.
OdDbObjectId AECDisplayManager::GetDisplayConfigurationDictionaryId | ( | bool | bCreateIfNotFound = true | ) | const |
Returns the Object ID of Display Configuration dictionary of referenced database.
void AECDisplayManager::GetDisplayProperties | ( | const OdDbObjectId & | idEntity, |
const OdGeVector3d & | vViewDirection, | ||
const OdDbObjectId & | idViewport, | ||
std::vector< std::pair< OdDbObjectId, OdDbObjectId > > & | aResult | ||
) | const |
Returns the array of Display Representation(AECDbDispRep) <-> Display Property(AECDbDispProps) pairs which should be used to render the entity in specified viewport with specified view direction.
idEntity | [in] Object ID of the entity. |
vViewDirection | [in] View direction. |
idViewport | [in] Object ID of the viewport. |
aResult | [out] Result. |
void AECDisplayManager::GetDisplayProperties | ( | const OdDbObjectId & | idEntity, |
const OdGeVector3d & | vViewDirection, | ||
std::vector< std::pair< OdDbObjectId, OdDbObjectId > > & | aResult | ||
) | const |
Returns the array of Display Representation(AECDbDispRep) <-> Display Property(AECDbDispProps) pairs which should be used to render the entity in model space with specified view direction.
idEntity | [in] Object ID of the entity. |
vViewDirection | [in] View direction. |
aResult | [out] Result. |
|
static |
Returns the type of Display Properties associated with specified type of Display Representation.
pDisplayRepresentationType | [in] Type of Display Representation. |
OdDbObjectId AECDisplayManager::GetDisplayRepresentation | ( | OdRxClass * | pDesc, |
const OdString & | strExtendedName = OdString::kEmpty |
||
) | const |
Returns Object ID of Display Representation of specified type and name.
pDesc | [in] Type of Display Representation. |
strExtendedName | [in] Name of Display Representation. |
Returns null pointer if representation doesn't exist.
OdDbObjectId AECDisplayManager::GetDisplayRepresentationDictionaryId | ( | bool | bCreateIfNotFound = true | ) | const |
Returns the Object ID of Display Representation dictionary of referenced database.
OdDbObjectId AECDisplayManager::GetDisplaySetDictionaryId | ( | bool | bCreateIfNotFound = true | ) | const |
Returns the Object ID of Display Set dictionary of referenced database.
|
static |
Returns the type of Display Representation that is considered "model" for AEC interferences.
OdDbObjectId AECDisplayManager::UpdateDisplayRepresentation | ( | OdRxClass * | pDesc, |
const OdString & | strExtendedName = OdString::kEmpty |
||
) |
Returns Object ID of Display Representation of specified type and name.
pDesc | [in] Type of Display Representation. |
strExtendedName | [in] Name of Display Representation. |
Creates Display Representation if it doesn't exist.