CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
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 902 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 916 of file GiCommonDraw.h.

◆ ~OdGiDrawFlagsHelper()

OdGiDrawFlagsHelper::~OdGiDrawFlagsHelper ( )
inline

Destructor for the OdGiDrawFlagsHelper class. Sets previous draw flags.

Definition at line 935 of file GiCommonDraw.h.

Member Data Documentation

◆ m_prevFlags

OdUInt32 OdGiDrawFlagsHelper::m_prevFlags
protected

Definition at line 906 of file GiCommonDraw.h.

◆ m_pTraits

OdGiSubEntityTraits* OdGiDrawFlagsHelper::m_pTraits
protected

Definition at line 905 of file GiCommonDraw.h.


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