CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
AECDisplayManager Class Reference

#include <AECDisplayManager.h>

Public Member Functions

 AECDisplayManager (OdDbDatabase *dDb)
 
virtual ~AECDisplayManager ()
 
OdDbObjectId GetDisplayConfigurationDictionaryId (bool bCreateIfNotFound=true) const
 
OdDbObjectId GetDisplaySetDictionaryId (bool bCreateIfNotFound=true) const
 
OdDbObjectId GetDisplayRepresentationDictionaryId (bool bCreateIfNotFound=true) const
 
OdDbObjectId GetCurrentDisplayConfiguration () const
 
OdDbObjectId GetCurrentDisplayConfiguration (const OdDbObjectId &idViewport) const
 
OdDbObjectId GetDisplayRepresentation (OdRxClass *pDesc, const OdString &strExtendedName=OdString::kEmpty) const
 
OdDbObjectId UpdateDisplayRepresentation (OdRxClass *pDesc, const OdString &strExtendedName=OdString::kEmpty)
 
void GetDisplayProperties (const OdDbObjectId &idEntity, const OdGeVector3d &vViewDirection, std::vector< std::pair< OdDbObjectId, OdDbObjectId > > &aResult) const
 
void GetDisplayProperties (const OdDbObjectId &idEntity, const OdGeVector3d &vViewDirection, const OdDbObjectId &idViewport, std::vector< std::pair< OdDbObjectId, OdDbObjectId > > &aResult) const
 

Static Public Member Functions

static OdRxClassGetDisplayPropertiesType (OdRxClass *pDisplayRepresentationType)
 
static OdRxClassGetModelDisplayRepresentation (OdRxClass *pEntityType)
 

Detailed Description

Allows access to AEC Display System.

<group TA_API_Auxiliary_Classes>

Definition at line 36 of file AECDisplayManager.h.

Constructor & Destructor Documentation

◆ AECDisplayManager()

AECDisplayManager::AECDisplayManager ( OdDbDatabase dDb)

Constructor.

◆ ~AECDisplayManager()

virtual AECDisplayManager::~AECDisplayManager ( )
virtual

Destructor.

Member Function Documentation

◆ GetCurrentDisplayConfiguration() [1/2]

OdDbObjectId AECDisplayManager::GetCurrentDisplayConfiguration ( ) const

Returns the Object ID of current Display Configuration for referenced database.

See also
AECDbDispRepConfig

◆ GetCurrentDisplayConfiguration() [2/2]

OdDbObjectId AECDisplayManager::GetCurrentDisplayConfiguration ( const OdDbObjectId idViewport) const

Returns the Object ID of current Display Configuration for specified viewport.

See also
OdDbViewport AECDbDispRepConfig

◆ GetDisplayConfigurationDictionaryId()

OdDbObjectId AECDisplayManager::GetDisplayConfigurationDictionaryId ( bool  bCreateIfNotFound = true) const

Returns the Object ID of Display Configuration dictionary of referenced database.

See also
OdDbDictionary AECDbDispRepConfig

◆ GetDisplayProperties() [1/2]

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.

Parameters
idEntity[in] Object ID of the entity.
vViewDirection[in] View direction.
idViewport[in] Object ID of the viewport.
aResult[out] Result.

◆ GetDisplayProperties() [2/2]

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.

Parameters
idEntity[in] Object ID of the entity.
vViewDirection[in] View direction.
aResult[out] Result.

◆ GetDisplayPropertiesType()

static OdRxClass * AECDisplayManager::GetDisplayPropertiesType ( OdRxClass pDisplayRepresentationType)
static

Returns the type of Display Properties associated with specified type of Display Representation.

Parameters
pDisplayRepresentationType[in] Type of Display Representation.
See also
OdRxClass AECDbDispProps AECDbDispRep

◆ GetDisplayRepresentation()

OdDbObjectId AECDisplayManager::GetDisplayRepresentation ( OdRxClass pDesc,
const OdString strExtendedName = OdString::kEmpty 
) const

Returns Object ID of Display Representation of specified type and name.

Parameters
pDesc[in] Type of Display Representation.
strExtendedName[in] Name of Display Representation.
See also
OdRxClass AECDbDispRep
Remarks
Extended names for Display Representations are used when several representations of the same type should be used for the database.

Returns null pointer if representation doesn't exist.

◆ GetDisplayRepresentationDictionaryId()

OdDbObjectId AECDisplayManager::GetDisplayRepresentationDictionaryId ( bool  bCreateIfNotFound = true) const

Returns the Object ID of Display Representation dictionary of referenced database.

See also
OdDbDictionary AECDbDispRep

◆ GetDisplaySetDictionaryId()

OdDbObjectId AECDisplayManager::GetDisplaySetDictionaryId ( bool  bCreateIfNotFound = true) const

Returns the Object ID of Display Set dictionary of referenced database.

See also
OdDbDictionary AECDbDispRepSet

◆ GetModelDisplayRepresentation()

static OdRxClass * AECDisplayManager::GetModelDisplayRepresentation ( OdRxClass pEntityType)
static

Returns the type of Display Representation that is considered "model" for AEC interferences.

◆ UpdateDisplayRepresentation()

OdDbObjectId AECDisplayManager::UpdateDisplayRepresentation ( OdRxClass pDesc,
const OdString strExtendedName = OdString::kEmpty 
)

Returns Object ID of Display Representation of specified type and name.

Parameters
pDesc[in] Type of Display Representation.
strExtendedName[in] Name of Display Representation.
See also
OdRxClass AECDbDispRep
Remarks
Extended names for Display Representations are used when several representations of the same type should be used for the database.

Creates Display Representation if it doesn't exist.


The documentation for this class was generated from the following file: