CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
OdGsDisplayContext Class Reference

#include <GsDisplayContext.h>

Inheritance diagram for OdGsDisplayContext:
OdGsBaseContext

Classes

class  BlockScopesCallback
 

Public Member Functions

 OdGsDisplayContext (OdGsBaseVectorizer &vectorizer)
 
OdGsBaseVectorizervectorizer ()
 
OdGsViewImplview ()
 
bool isHighlighted () const
 
void highlight (bool bHighlight, OdUInt32 nSelStyle=0)
 
OdUInt32 currentSelectionStyle () const
 
void displaySubnode (bool isHighlightedAll, OdGsEntityNode *pSubNode)
 
void displaySubnode (OdGsContainerNode *pCont, OdGsEntityNode *pSubNode, int nHighlightPass=0)
 
bool isDeviceHighlightOptimized () const
 
bool isDeviceDisplayOffLayers () const
 
bool isSpatialIndexDisabled () const
 
bool isDeviceDisableNested () const
 
void setDeviceDisableNested (bool bSet)
 
OdGsBaseVectorizer::BlockScopesCallbackblockScopesCallback () const
 
void setBlockScopesCallback (OdGsBaseVectorizer::BlockScopesCallback *pBlockScopesCbk)
 
bool forceDrawOrder () const
 
virtual bool processNestedMetafile (OdGsEntityNode &node, const OdGsNestedMetafile *pMf)
 
virtual void increaseXrefLevel (bool bFade)
 
bool isDisplayClippingEnabled () const
 
unsigned markToSkipMask () const
 
bool markedToSkip (OdGsEntityNode *pEnt, unsigned markToSkipMask) const
 
virtual const OdSiShapequery () const ODRX_OVERRIDE
 
bool isDeviceSuppressHide () const
 
void setDeviceSuppressHide (bool bSuppress)
 
bool isBlockContentDisabled () const
 
void setDisableBlockContent (bool bDisable)
 
bool isBlockAttributesDisabled () const
 
void setDisableBlockAttributes (bool bDisable)
 
- Public Member Functions inherited from OdGsBaseContext
virtual ~OdGsBaseContext ()
 

Public Attributes

const OdSiShapem_spQuery
 
const OdGsEntityNodem_node
 
bool m_bPushModelTransform
 

Protected Types

enum  {
  kDeviceHighlightOptimized = 1 , kDeviceDisplayOffLayers = 2 , kDeviceDisableSpatialIdx = 4 , kDeviceDisableNested = 8 ,
  kDeviceSuppressHide = 16 , kForceDrawOrder = 32 , kDisableBlockAttributes = 64 , kDisableBlockContent = 128
}
 

Protected Attributes

OdGsBaseVectorizerm_vectorizer
 
OdGsBaseVectorizer::BlockScopesCallbackm_pBlockScopesCbk
 
OdUInt32 m_status
 
OdUInt32 m_xrefFadingCounter
 

Detailed Description

Definition at line 51 of file GsDisplayContext.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
protected
Enumerator
kDeviceHighlightOptimized 
kDeviceDisplayOffLayers 
kDeviceDisableSpatialIdx 
kDeviceDisableNested 
kDeviceSuppressHide 
kForceDrawOrder 
kDisableBlockAttributes 
kDisableBlockContent 

Definition at line 172 of file GsDisplayContext.h.

Constructor & Destructor Documentation

◆ OdGsDisplayContext()

OdGsDisplayContext::OdGsDisplayContext ( OdGsBaseVectorizer & vectorizer)

Constructor for the OdGsDisplayContext class.

Parameters
vectorizer[in] Associated vectorizer.

Member Function Documentation

◆ blockScopesCallback()

OdGsBaseVectorizer::BlockScopesCallback * OdGsDisplayContext::blockScopesCallback ( ) const
inline

Definition at line 116 of file GsDisplayContext.h.

◆ currentSelectionStyle()

OdUInt32 OdGsDisplayContext::currentSelectionStyle ( ) const
inline

Returns the current selection style of an associated vectorizer.

Returns
Current selection style index.

Definition at line 98 of file GsDisplayContext.h.

◆ displaySubnode() [1/2]

void OdGsDisplayContext::displaySubnode ( bool isHighlightedAll,
OdGsEntityNode * pSubNode )

◆ displaySubnode() [2/2]

void OdGsDisplayContext::displaySubnode ( OdGsContainerNode * pCont,
OdGsEntityNode * pSubNode,
int nHighlightPass = 0 )

◆ forceDrawOrder()

bool OdGsDisplayContext::forceDrawOrder ( ) const
inline

Definition at line 131 of file GsDisplayContext.h.

◆ highlight()

void OdGsDisplayContext::highlight ( bool bHighlight,
OdUInt32 nSelStyle = 0 )
inline

Sets the highlight flag for an associated vectorizer.

Parameters
bHighlight[in] Enables or disables highlighting.
nSelStyle[in] Selection style.
See also
<link tv_working_with_features_highlighting, Work with Highlighting>

Definition at line 92 of file GsDisplayContext.h.

◆ increaseXrefLevel()

virtual void OdGsDisplayContext::increaseXrefLevel ( bool bFade)
virtual

Reimplemented from OdGsBaseContext.

◆ isBlockAttributesDisabled()

bool OdGsDisplayContext::isBlockAttributesDisabled ( ) const
inline

Definition at line 158 of file GsDisplayContext.h.

◆ isBlockContentDisabled()

bool OdGsDisplayContext::isBlockContentDisabled ( ) const
inline

Definition at line 150 of file GsDisplayContext.h.

◆ isDeviceDisableNested()

bool OdGsDisplayContext::isDeviceDisableNested ( ) const
inline

Definition at line 111 of file GsDisplayContext.h.

◆ isDeviceDisplayOffLayers()

bool OdGsDisplayContext::isDeviceDisplayOffLayers ( ) const
inlinevirtual

Reimplemented from OdGsBaseContext.

Definition at line 106 of file GsDisplayContext.h.

◆ isDeviceHighlightOptimized()

bool OdGsDisplayContext::isDeviceHighlightOptimized ( ) const
inline

Definition at line 103 of file GsDisplayContext.h.

◆ isDeviceSuppressHide()

bool OdGsDisplayContext::isDeviceSuppressHide ( ) const
inline

Definition at line 141 of file GsDisplayContext.h.

◆ isDisplayClippingEnabled()

bool OdGsDisplayContext::isDisplayClippingEnabled ( ) const
inline

Definition at line 136 of file GsDisplayContext.h.

◆ isHighlighted()

bool OdGsDisplayContext::isHighlighted ( ) const
inline

Checks whether an associated vectorizer has the kHighlighted flag set to true.

Returns
True if the kHighlighted flag is set to true, false otherwise.

Definition at line 83 of file GsDisplayContext.h.

◆ isSpatialIndexDisabled()

bool OdGsDisplayContext::isSpatialIndexDisabled ( ) const
inline

Definition at line 108 of file GsDisplayContext.h.

◆ markedToSkip()

bool OdGsDisplayContext::markedToSkip ( OdGsEntityNode * pEnt,
unsigned markToSkipMask ) const

◆ markToSkipMask()

unsigned OdGsDisplayContext::markToSkipMask ( ) const

◆ processNestedMetafile()

virtual bool OdGsDisplayContext::processNestedMetafile ( OdGsEntityNode & node,
const OdGsNestedMetafile * pMf )
virtual

Reimplemented from OdGsBaseContext.

◆ query()

virtual const OdSiShape * OdGsDisplayContext::query ( ) const
inlinevirtual

Implements OdGsBaseContext.

Definition at line 139 of file GsDisplayContext.h.

◆ setBlockScopesCallback()

void OdGsDisplayContext::setBlockScopesCallback ( OdGsBaseVectorizer::BlockScopesCallback * pBlockScopesCbk)
inline

Definition at line 118 of file GsDisplayContext.h.

◆ setDeviceDisableNested()

void OdGsDisplayContext::setDeviceDisableNested ( bool bSet)
inline

Definition at line 113 of file GsDisplayContext.h.

◆ setDeviceSuppressHide()

void OdGsDisplayContext::setDeviceSuppressHide ( bool bSuppress)
inline

Definition at line 145 of file GsDisplayContext.h.

◆ setDisableBlockAttributes()

void OdGsDisplayContext::setDisableBlockAttributes ( bool bDisable)
inline

Definition at line 162 of file GsDisplayContext.h.

◆ setDisableBlockContent()

void OdGsDisplayContext::setDisableBlockContent ( bool bDisable)
inline

Definition at line 154 of file GsDisplayContext.h.

◆ vectorizer()

OdGsBaseVectorizer & OdGsDisplayContext::vectorizer ( )
inline

Returns an associated vectorizer.

Returns
Associated vectorizer.

Definition at line 67 of file GsDisplayContext.h.

◆ view()

OdGsViewImpl & OdGsDisplayContext::view ( )
inline

Returns a graphics view associated with a vectorizer.

Returns
Reference to an associated view.

Definition at line 75 of file GsDisplayContext.h.

Member Data Documentation

◆ m_bPushModelTransform

bool OdGsDisplayContext::m_bPushModelTransform

Definition at line 169 of file GsDisplayContext.h.

◆ m_node

const OdGsEntityNode* OdGsDisplayContext::m_node

Definition at line 168 of file GsDisplayContext.h.

◆ m_pBlockScopesCbk

OdGsBaseVectorizer::BlockScopesCallback* OdGsDisplayContext::m_pBlockScopesCbk
protected

Definition at line 186 of file GsDisplayContext.h.

◆ m_spQuery

const OdSiShape* OdGsDisplayContext::m_spQuery

Definition at line 167 of file GsDisplayContext.h.

◆ m_status

OdUInt32 OdGsDisplayContext::m_status
protected

Definition at line 187 of file GsDisplayContext.h.

◆ m_vectorizer

OdGsBaseVectorizer& OdGsDisplayContext::m_vectorizer
protected

Definition at line 185 of file GsDisplayContext.h.

◆ m_xrefFadingCounter

OdUInt32 OdGsDisplayContext::m_xrefFadingCounter
protected

Definition at line 188 of file GsDisplayContext.h.


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