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

#include <GiFaceEdgeDataTraitsSaver.h>

Inheritance diagram for OdGiEdgeDataTraitsSaver:
OdGiFaceEdgeDataTraitsSaverBase OdGiFaceEdgeDataTraitsSaver

Public Member Functions

 OdGiEdgeDataTraitsSaver (const OdGiEdgeData *pEdgeData, OdGiSubEntityTraits *pTraits, OdGiConveyorContext *pDrawCtx, OdGsView::RenderMode renderMode, bool bFaceChk=false)
 
bool onExit (bool bFaceChk=false)
 
 ~OdGiEdgeDataTraitsSaver ()
 
bool setEdgeTraits (int edgeIndex)
 
bool hasData () const
 

Protected Member Functions

 EX_TRAITS_DEFINE_PTR (OdDbStub *, m_prevLinetypeId, m_curLinetypeId)
 
- 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 OdGiEdgeDatam_pEdgeData
 
- 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 351 of file GiFaceEdgeDataTraitsSaver.h.

Constructor & Destructor Documentation

◆ OdGiEdgeDataTraitsSaver()

OdGiEdgeDataTraitsSaver::OdGiEdgeDataTraitsSaver ( const OdGiEdgeData pEdgeData,
OdGiSubEntityTraits pTraits,
OdGiConveyorContext pDrawCtx,
OdGsView::RenderMode  renderMode,
bool  bFaceChk = false 
)
inline

Definition at line 357 of file GiFaceEdgeDataTraitsSaver.h.

◆ ~OdGiEdgeDataTraitsSaver()

OdGiEdgeDataTraitsSaver::~OdGiEdgeDataTraitsSaver ( )
inline

Definition at line 444 of file GiFaceEdgeDataTraitsSaver.h.

Member Function Documentation

◆ EX_TRAITS_DEFINE_PTR()

OdGiEdgeDataTraitsSaver::EX_TRAITS_DEFINE_PTR ( OdDbStub *  ,
m_prevLinetypeId  ,
m_curLinetypeId   
)
protected

◆ hasData()

bool OdGiEdgeDataTraitsSaver::hasData ( ) const
inline

Definition at line 493 of file GiFaceEdgeDataTraitsSaver.h.

◆ onExit()

bool OdGiEdgeDataTraitsSaver::onExit ( bool  bFaceChk = false)
inline

Definition at line 410 of file GiFaceEdgeDataTraitsSaver.h.

◆ setEdgeTraits()

bool OdGiEdgeDataTraitsSaver::setEdgeTraits ( int  edgeIndex)
inline

Definition at line 451 of file GiFaceEdgeDataTraitsSaver.h.

Member Data Documentation

◆ m_pEdgeData

const OdGiEdgeData* OdGiEdgeDataTraitsSaver::m_pEdgeData
protected

Definition at line 354 of file GiFaceEdgeDataTraitsSaver.h.


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