CFx SDK Documentation  2022 SP0
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
OdGiFaceDataTraitsSaver Class Reference

#include <GiFaceEdgeDataTraitsSaver.h>

Inheritance diagram for OdGiFaceDataTraitsSaver:
OdGiFaceEdgeDataTraitsSaverBase OdGiFaceEdgeDataTraitsSaver

Public Member Functions

 OdGiFaceDataTraitsSaver (const OdGiFaceData *pFaceData, OdGiSubEntityTraits *pTraits, OdGiConveyorContext *pDrawCtx, OdGsView::RenderMode renderMode, bool bForEdge=false)
 
bool onExit ()
 
bool needExit () const
 
 ~OdGiFaceDataTraitsSaver ()
 
bool setFaceTraits (int faceIndex)
 
bool hasData () const
 

Protected Member Functions

 EX_TRAITS_DEFINE_PTR (OdDbStub *, m_prevMaterialId, m_curMaterialId)
 
 EX_TRAITS_DEFINE_PTR (const OdGiMapper *, m_prevMapper, m_curMapper)
 
 EX_TRAITS_DEFINE (OdCmTransparency, m_prevTransparency, m_curTransparency)
 
- Protected Member Functions inherited from OdGiFaceEdgeDataTraitsSaverBase
 EX_TRAITS_DEFINE (OdCmEntityColor, m_prevTrueColor, m_curTrueColor)
 
 EX_TRAITS_DEFINE_PTR (OdDbStub *, m_prevLayerId, m_curLayerId)
 
 OdGiFaceEdgeDataTraitsSaverBase (OdGiSubEntityTraits *pTraits, OdGiConveyorContext *pDrawCtx, OdGsView::RenderMode renderMode)
 
 OdGiFaceEdgeDataTraitsSaverBase ()
 
bool setColor (const OdUInt16 *pColors, int index)
 
bool setTrueColor (const OdCmEntityColor *pTrueColors, int index)
 
bool setLayer (OdDbStub **pLayers, int index)
 
bool needExit () const
 

Protected Attributes

const OdGiFaceDatam_pFaceData
 
- Protected Attributes inherited from OdGiFaceEdgeDataTraitsSaverBase
OdGiSubEntityTraitsm_pTraits
 
OdGiConveyorContextm_pDrawCtx
 
OdGsView::RenderMode m_renderMode
 
OdUInt32 m_components
 

Additional Inherited Members

- Protected Types inherited from OdGiFaceEdgeDataTraitsSaverBase
enum  Components {
  kFaceColors = (1 << 0) , kFaceTrueColors = (1 << 1) , kFaceLayers = (1 << 2) , kFaceSelectionMarkers = (1 << 3) ,
  kFaceMaterials = (1 << 4) , kFaceMappers = (1 << 5) , kFaceTransparencies = (1 << 6) , kFaceVisibilities = (1 << 7) ,
  kFaceSelMarkAvail = (1 << 8) , kFaceSelMarkOnModify = (1 << 9) , kEdgeColors = (1 << 16) , kEdgeTrueColors = (1 << 17) ,
  kEdgeLayers = (1 << 18) , kEdgeLinetypes = (1 << 19) , kEdgeSelectionMarkers = (1 << 20) , kEdgeVisibilities = (1 << 21) ,
  kEdgeSelMarkAvail = (1 << 22) , kEdgeSelMarkOnModify = (1 << 23) , kFaceMask = 0x0000FFFF , kEdgeMask = 0xFFFF0000 ,
  kFaceRestoreMask = kFaceMask & ~(kFaceVisibilities | kFaceSelectionMarkers | kFaceSelMarkOnModify) , kEdgeRestoreMask = kEdgeMask & ~(kEdgeVisibilities | kEdgeSelectionMarkers | kEdgeSelMarkOnModify) , kFaceSetMask = kFaceMask & ~kFaceVisibilities , kEdgeSetMask = kEdgeMask & ~kEdgeVisibilities
}
 

Detailed Description

Definition at line 162 of file GiFaceEdgeDataTraitsSaver.h.

Constructor & Destructor Documentation

◆ OdGiFaceDataTraitsSaver()

OdGiFaceDataTraitsSaver::OdGiFaceDataTraitsSaver ( const OdGiFaceData pFaceData,
OdGiSubEntityTraits pTraits,
OdGiConveyorContext pDrawCtx,
OdGsView::RenderMode  renderMode,
bool  bForEdge = false 
)
inline

Definition at line 170 of file GiFaceEdgeDataTraitsSaver.h.

◆ ~OdGiFaceDataTraitsSaver()

OdGiFaceDataTraitsSaver::~OdGiFaceDataTraitsSaver ( )
inline

Definition at line 284 of file GiFaceEdgeDataTraitsSaver.h.

Member Function Documentation

◆ EX_TRAITS_DEFINE()

OdGiFaceDataTraitsSaver::EX_TRAITS_DEFINE ( OdCmTransparency  ,
m_prevTransparency  ,
m_curTransparency   
)
protected

◆ EX_TRAITS_DEFINE_PTR() [1/2]

OdGiFaceDataTraitsSaver::EX_TRAITS_DEFINE_PTR ( const OdGiMapper ,
m_prevMapper  ,
m_curMapper   
)
protected

◆ EX_TRAITS_DEFINE_PTR() [2/2]

OdGiFaceDataTraitsSaver::EX_TRAITS_DEFINE_PTR ( OdDbStub *  ,
m_prevMaterialId  ,
m_curMaterialId   
)
protected

◆ hasData()

bool OdGiFaceDataTraitsSaver::hasData ( ) const
inline

Definition at line 348 of file GiFaceEdgeDataTraitsSaver.h.

◆ needExit()

bool OdGiFaceDataTraitsSaver::needExit ( ) const
inline

Definition at line 274 of file GiFaceEdgeDataTraitsSaver.h.

◆ onExit()

bool OdGiFaceDataTraitsSaver::onExit ( )
inline

Definition at line 232 of file GiFaceEdgeDataTraitsSaver.h.

◆ setFaceTraits()

bool OdGiFaceDataTraitsSaver::setFaceTraits ( int  faceIndex)
inline

Definition at line 291 of file GiFaceEdgeDataTraitsSaver.h.

Member Data Documentation

◆ m_pFaceData

const OdGiFaceData* OdGiFaceDataTraitsSaver::m_pFaceData
protected

Definition at line 165 of file GiFaceEdgeDataTraitsSaver.h.


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