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

#include <GiCommonDraw.h>

Public Member Functions

 OdGiDrawFlagsHelper (OdGiSubEntityTraits &pTraits, OdUInt32 addFlags, OdUInt32 delFlags=0)
 
 ~OdGiDrawFlagsHelper ()
 

Protected Attributes

OdGiSubEntityTraitsm_pTraits
 
OdUInt32 m_prevFlags
 

Detailed Description

Draw flags helper.

Remarks
Modifies draw flags and restores them back in the destructor.

Corresponding C++ library: TD_Gi

<group OdGi_Classes>

Definition at line 923 of file GiCommonDraw.h.

Constructor & Destructor Documentation

◆ OdGiDrawFlagsHelper()

OdGiDrawFlagsHelper::OdGiDrawFlagsHelper ( OdGiSubEntityTraits & pTraits,
OdUInt32 addFlags,
OdUInt32 delFlags = 0 )
inline

Constructor for the OdGiDrawFlagsHelper class.

Parameters
pTraits[in/out] Sub-entity traits to set. Draw flags of this OdGiSubEntityTraits object may change inside the constructor.
addFlags[in] Draw flags to add.
delFlags[in] Flags to remove.

Definition at line 937 of file GiCommonDraw.h.

◆ ~OdGiDrawFlagsHelper()

OdGiDrawFlagsHelper::~OdGiDrawFlagsHelper ( )
inline

Destructor for the OdGiDrawFlagsHelper class. Sets previous draw flags.

Definition at line 956 of file GiCommonDraw.h.

Member Data Documentation

◆ m_prevFlags

OdUInt32 OdGiDrawFlagsHelper::m_prevFlags
protected

Definition at line 927 of file GiCommonDraw.h.

◆ m_pTraits

OdGiSubEntityTraits* OdGiDrawFlagsHelper::m_pTraits
protected

Definition at line 926 of file GiCommonDraw.h.


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