CFx SDK Documentation  2020SP3
Protected Types | Protected Member Functions | Protected Attributes | List of all members
OdGiFaceEdgeDataTraitsSaverBase Class Reference

#include <GiFaceEdgeDataTraitsSaver.h>

Inheritance diagram for OdGiFaceEdgeDataTraitsSaverBase:
OdGiEdgeDataTraitsSaver OdGiFaceDataTraitsSaver OdGiFaceEdgeDataTraitsSaver OdGiFaceEdgeDataTraitsSaver

Protected Types

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
}
 

Protected Member Functions

 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

OdGiSubEntityTraitsm_pTraits
 
OdGiConveyorContextm_pDrawCtx
 
OdGsView::RenderMode m_renderMode
 
OdUInt32 m_components
 

Detailed Description

Definition at line 68 of file GiFaceEdgeDataTraitsSaver.h.

Member Enumeration Documentation

◆ Components

Enumerator
kFaceColors 
kFaceTrueColors 
kFaceLayers 
kFaceSelectionMarkers 
kFaceMaterials 
kFaceMappers 
kFaceTransparencies 
kFaceVisibilities 
kFaceSelMarkAvail 
kFaceSelMarkOnModify 
kEdgeColors 
kEdgeTrueColors 
kEdgeLayers 
kEdgeLinetypes 
kEdgeSelectionMarkers 
kEdgeVisibilities 
kEdgeSelMarkAvail 
kEdgeSelMarkOnModify 
kFaceMask 
kEdgeMask 
kFaceRestoreMask 
kEdgeRestoreMask 
kFaceSetMask 
kEdgeSetMask 

Definition at line 71 of file GiFaceEdgeDataTraitsSaver.h.

Constructor & Destructor Documentation

◆ OdGiFaceEdgeDataTraitsSaverBase() [1/2]

OdGiFaceEdgeDataTraitsSaverBase::OdGiFaceEdgeDataTraitsSaverBase ( OdGiSubEntityTraits pTraits,
OdGiConveyorContext pDrawCtx,
OdGsView::RenderMode  renderMode 
)
inlineprotected

Definition at line 119 of file GiFaceEdgeDataTraitsSaver.h.

◆ OdGiFaceEdgeDataTraitsSaverBase() [2/2]

OdGiFaceEdgeDataTraitsSaverBase::OdGiFaceEdgeDataTraitsSaverBase ( )
inlineprotected

Definition at line 124 of file GiFaceEdgeDataTraitsSaver.h.

Member Function Documentation

◆ EX_TRAITS_DEFINE()

OdGiFaceEdgeDataTraitsSaverBase::EX_TRAITS_DEFINE ( OdCmEntityColor  ,
m_prevTrueColor  ,
m_curTrueColor   
)
protected

◆ EX_TRAITS_DEFINE_PTR()

OdGiFaceEdgeDataTraitsSaverBase::EX_TRAITS_DEFINE_PTR ( OdDbStub *  ,
m_prevLayerId  ,
m_curLayerId   
)
protected

◆ needExit()

bool OdGiFaceEdgeDataTraitsSaverBase::needExit ( ) const
inlineprotected

Definition at line 159 of file GiFaceEdgeDataTraitsSaver.h.

◆ setColor()

bool OdGiFaceEdgeDataTraitsSaverBase::setColor ( const OdUInt16 pColors,
int  index 
)
inlineprotected

Definition at line 129 of file GiFaceEdgeDataTraitsSaver.h.

◆ setLayer()

bool OdGiFaceEdgeDataTraitsSaverBase::setLayer ( OdDbStub **  pLayers,
int  index 
)
inlineprotected

Definition at line 149 of file GiFaceEdgeDataTraitsSaver.h.

◆ setTrueColor()

bool OdGiFaceEdgeDataTraitsSaverBase::setTrueColor ( const OdCmEntityColor pTrueColors,
int  index 
)
inlineprotected

Definition at line 140 of file GiFaceEdgeDataTraitsSaver.h.

Member Data Documentation

◆ m_components

OdUInt32 OdGiFaceEdgeDataTraitsSaverBase::m_components
protected

Definition at line 112 of file GiFaceEdgeDataTraitsSaver.h.

◆ m_pDrawCtx

OdGiConveyorContext* OdGiFaceEdgeDataTraitsSaverBase::m_pDrawCtx
protected

Definition at line 110 of file GiFaceEdgeDataTraitsSaver.h.

◆ m_pTraits

OdGiSubEntityTraits* OdGiFaceEdgeDataTraitsSaverBase::m_pTraits
protected

Definition at line 109 of file GiFaceEdgeDataTraitsSaver.h.

◆ m_renderMode

OdGsView::RenderMode OdGiFaceEdgeDataTraitsSaverBase::m_renderMode
protected

Definition at line 111 of file GiFaceEdgeDataTraitsSaver.h.


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