CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
OdTrRndRenderSettings Class Reference

#include <TrRndRenderSettings.h>

Classes

class  BitSet
 
struct  Color
 
union  UIDefVal
 
struct  UIPropEntry
 
union  UIPropRange
 
struct  UIPropRanges
 

Public Types

enum  DrawFlags {
  kNullFlag = 0 , kDraw3dFacets , kDraw2dFacets , kDrawRasterImages ,
  kDraw3dFacetEdges , kDraw2dFacetEdges , kDrawIsolines , kDrawIntersections ,
  kDrawSilhouettes , kDrawDefaultDisable , kDrawOrder , kDrawBackground ,
  kDrawLineweights , kDrawLighting , kDrawShadows , kDrawFog ,
  kDrawAntiAliasing , kDrawMaterials , kDrawTextures , kFillFacesColor ,
  kFillFacesOpacity , kFillFacesTexture , kFaceNormals , kPerVertexLighting ,
  kGoochLighting , kFlatLighting , kSpecularHighlighting , kSpecularOverride ,
  kShadingMaterial , kOverrideEdgesColor , kOverrideEdgesWidth , kOverrideEdgesLinetype ,
  kOverrideEdgesLinestyle , kEdgesOpacity , kEdgesCreaseFilter , kEdgesCreaseFilter3d ,
  kEdgesOverhang , kEdgesMultipass , kEdgesJitter , kDrawFX ,
  kDisableColorOutput , kDisableVSOverride , kStencilTest , kStencil3dTest ,
  kDepthTest , kDepth3dTest , kOverlappingDecision , kSkipImages ,
  kNumFlags , kNumFlagRegs = (kNumFlags >> 3) + 1
}
 
enum  ColorType {
  kColorNormal = 0 , kColorBackground , kColorForeground , kColorTint ,
  kColorDesaturate
}
 
enum  ColorProps {
  kPropBackgroundColor = 0 , kPropForegroundColor , kPropFacesFillColor , kPropEdgesColor ,
  kNumColorProps
}
 
enum  FloatProps {
  kPropFacesSpecularPower = 0 , kPropFacesOpacity , kPropEdgesCreaseAngle , kPropEdgesOpacity ,
  kNumFloatProps
}
 
enum  IntegerProps {
  kPropDrawFilter = 0 , kPropEdgesWidth , kPropEdgesLinetype , kPropEdgesLinestyle ,
  kPropEdgesCreaseFilter , kPropEdgesCreaseFilter3d , kPropEdgesOverhang , kPropEdgesRepetition ,
  kPropEdgesJitterAmount , kPropStencilFlags , kPropStencil3dFlags , kPropDepthFlags ,
  kPropDepth3dFlags , kNumIntegerProps
}
 
enum  MultiPassType {
  kMultiPassByObject = 0 , kMultiPassByScene , kMultiPassInputFX , kMultiPassOutputFX ,
  kMultiPassForSections , kMultiPassForIntersections , kNumMultiPassTypes
}
 
enum  StencilFlags {
  kStencilWriteBit1 = (1 << 0) , kStencilWriteBit2 = (1 << 1) , kStencilWriteBit3 = (1 << 2) , kStencilWriteBit4 = (1 << 3) ,
  kStencilWriteMask = kStencilWriteBit1 | kStencilWriteBit2 | kStencilWriteBit3 | kStencilWriteBit4 , kStencilWriteOff = 0 , kStencilTestBit1 = (1 << 4) , kStencilTestBit2 = (1 << 5) ,
  kStencilTestBit3 = (1 << 6) , kStencilTestBit4 = (1 << 7) , kStencilTestMask = kStencilTestBit1 | kStencilTestBit2 | kStencilTestBit3 | kStencilTestBit4 , kStencilTestOff = 4 ,
  kStencilReadBit1 = (1 << 8) , kStencilReadBit2 = (1 << 9) , kStencilReadBit3 = (1 << 10) , kStencilReadBit4 = (1 << 11) ,
  kStencilReadMask = kStencilReadBit1 | kStencilReadBit2 | kStencilReadBit3 | kStencilReadBit4 , kStencilReadOff = 8 , kStencilDFailBit = (1 << 12) , kStencilDPassBit = (1 << 13) ,
  kStencilDepthMask = kStencilDFailBit | kStencilDPassBit
}
 
enum  DepthFlags {
  kDepthNever = 1 , kDepthLess = 2 , kDepthEqual = 3 , kDepthLEqual = 4 ,
  kDepthGreater = 5 , kDepthNEqual = 6 , kDepthGEqual = 7 , kDepthAlways = 8 ,
  kDepthFuncMask = 0x0F , kDepthReadOnly = (1 << 4)
}
 
enum  CreaseFlags {
  kCreaseFrontEdges = -2 , kCreaseFrontCorners = -1 , kCreaseBreakEdges = 0 , kCreaseBackCorners = 1 ,
  kCreaseBackEdges = 2
}
 
enum  CreaseFilterDefault {
  kCreaseDrawAllEdges = 0x32 , kCreaseDrawFrontEdgesOnly = 0x35 , kCreaseDrawFrontEdgesWithCorners = 0x30 , kCreaseDrawBreakEdgesWithCorners = 0x29 ,
  kCreaseDrawBreakEdgesOnly = 0x00 , kCreaseDrawBackEdgesWithCorners = 0x02 , kCreaseDrawBackEdgesOnly = 0x0A
}
 
enum  PropType {
  kPropTypeGroup = -1 , kPropTypeDrawFlag = 0 , kPropTypeColor , kPropTypeFloat ,
  kPropTypeInt , kPropTypeUInt
}
 

Public Member Functions

 OdTrRndRenderSettings (OdGsView::RenderMode initialRenderMode=OdGsView::k2DOptimized, OdTrRndRSUpdateReactor rsDefault=kRSCallReactor)
 
 OdTrRndRenderSettings (const OdTrRndRenderSettings &rs)
 
 ~OdTrRndRenderSettings ()
 
OdTrRndRenderSettingsoperator= (const OdTrRndRenderSettings &rs)
 
bool isRenderModeOverride () const
 
void setRenderModeOverride (bool bSet, OdTrRndRSUpdateReactor rsReact=kRSReactorDefault)
 
OdGsView::RenderMode renderMode () const
 
void setRenderMode (OdGsView::RenderMode rMode, OdTrRndRSUpdateReactor rsReact=kRSReactorDefault)
 
OdUInt16 passId () const
 
void setPassId (OdUInt16 nPassId, OdTrRndRSUpdateReactor rsReact=kRSReactorDefault)
 
OdTrRndRenderSettingsPtr searchPassId (OdUInt16 passId, OdTrRndRenderSettingsPtr pSelfPtr=OdTrRndRenderSettingsPtr(), OdUInt16 passMask=0xFFFF, bool bSearchNested=true) const
 
bool drawFlag (OdUInt32 nFlag) const
 
void setDrawFlag (OdUInt32 nFlag, OdTrRndRSUpdateReactor rsReact=kRSReactorDefault)
 
void resetDrawFlag (OdUInt32 nFlag, OdTrRndRSUpdateReactor rsReact=kRSReactorDefault)
 
void setDrawFlag (OdUInt32 nFlag, bool bSet, OdTrRndRSUpdateReactor rsReact=kRSReactorDefault)
 
void setDrawFlags (const OdUInt32 *pFlags, OdUInt32 nFlags=kNumFlags, OdTrRndRSUpdateReactor rsReact=kRSReactorDefault)
 
void resetDrawFlags (const OdUInt32 *pFlags, OdUInt32 nFlags=kNumFlags, OdTrRndRSUpdateReactor rsReact=kRSReactorDefault)
 
void clearDrawFlags (OdTrRndRSUpdateReactor rsReact=kRSReactorDefault)
 
OdUInt8serializationFlagsPtr ()
 
const OdUInt8serializationFlagsPtr () const
 
const Colorcolor (ColorProps nProp, bool bResolved=true) const
 
void setColor (ColorProps nProp, const Color &clr, OdTrRndRSUpdateReactor rsReact=kRSReactorDefault)
 
float value (FloatProps nProp) const
 
void setValue (FloatProps nProp, float fVal, OdTrRndRSUpdateReactor rsReact=kRSReactorDefault)
 
OdInt32 value (IntegerProps nProp) const
 
OdUInt32 valueU (IntegerProps nProp) const
 
void setValue (IntegerProps nProp, OdInt32 nVal, OdTrRndRSUpdateReactor rsReact=kRSReactorDefault)
 
void setValueU (IntegerProps nProp, OdUInt32 nVal, OdTrRndRSUpdateReactor rsReact=kRSReactorDefault)
 
void setNextPass (MultiPassType passType, OdTrRndRenderSettings *pNextPass, OdTrRndRSUpdateReactor rsReact=kRSReactorDefault)
 
void setNextPass (MultiPassType passType, const OdTrRndRenderSettingsPtr &pNextPass, OdTrRndRSUpdateReactor rsReact=kRSReactorDefault)
 
void setNextPassCopy (MultiPassType passType, const OdTrRndRenderSettings *pNextPass, OdTrRndRSUpdateReactor rsReact=kRSReactorDefault)
 
void setLastPass (MultiPassType passType, OdTrRndRenderSettings *pNextPass, OdTrRndRSUpdateReactor rsReact=kRSReactorDefault)
 
void setLastPass (MultiPassType passType, const OdTrRndRenderSettingsPtr &pNextPass, OdTrRndRSUpdateReactor rsReact=kRSReactorDefault)
 
void setLastPassCopy (MultiPassType passType, const OdTrRndRenderSettings *pNextPass, OdTrRndRSUpdateReactor rsReact=kRSReactorDefault)
 
bool hasNextPass (MultiPassType passType) const
 
OdTrRndRenderSettingsnextPass (MultiPassType passType)
 
const OdTrRndRenderSettingsnextPass (MultiPassType passType) const
 
OdTrRndRenderSettingsPtrnextPassPtr (MultiPassType passType)
 
const OdTrRndRenderSettingsPtrnextPassPtr (MultiPassType passType) const
 
void setDifferentialTransition (MultiPassType passType, const OdTrRndDifferentialTransitionPtr &pDifTrans)
 
const OdTrRndDifferentialTransitionPtrdifferentialTransition (MultiPassType passType) const
 
void resetDifferentialTransition (MultiPassType passType)
 
MultiPassType geomTypeMultiPass (OdTrVisGeomType geomType) const
 
bool hasNextPass (OdTrVisGeomType geomType) const
 
OdTrRndRenderSettingsnextPass (OdTrVisGeomType geomType)
 
const OdTrRndRenderSettingsnextPass (OdTrVisGeomType geomType) const
 
OdTrRndRenderSettingsPtr nextPassPtr (OdTrVisGeomType geomType)
 
const OdTrRndRenderSettingsPtr nextPassPtr (OdTrVisGeomType geomType) const
 
void addReactor (OdTrRndRenderSettingsReactor *pReactor)
 
void removeReactor (OdTrRndRenderSettingsReactor *pReactor)
 
bool hasReactor (OdTrRndRenderSettingsReactor *pReactor) const
 
void setReactorDefault (OdTrRndRSUpdateReactor rsDefault)
 
OdTrRndRSUpdateReactor reactorDefault () const
 
void forceReactorUpdate (OdTrRndRSUpdateReactor rsReact=kRSCallReactor)
 
void setForRenderMode (OdGsView::RenderMode rm, OdTrRndRSUpdateReactor rsReact=kRSReactorDefault)
 
void setPropsDefault (OdTrRndRSUpdateReactor rsReact=kRSReactorDefault)
 
void resolveByViewportDef (const OdTrVisViewportShadingDef &vpDef)
 
bool isGeomTypeVisible (OdTrVisGeomType geomType) const
 
OdUInt32 makeGeomMarkerVisibilities () const
 
bool is2dModeEnabled () const
 
bool isFaceColorOverrideEnabled () const
 
bool is3dFacesWithLinesEnabled () const
 
bool isLightingEnabled_ () const
 
bool isLightingEnabled () const
 
bool isFaceNormalsEnabled () const
 
bool isDefaultLighting () const
 
bool isColorModifiersEnabled () const
 
bool save (OdGsFiler *pFiler) const
 
bool load (OdGsFiler *pFiler)
 

Static Public Member Functions

static OdUInt32 creaseFlagEncode (CreaseFlags flags)
 
static CreaseFlags creaseFlagDecode (OdUInt32 flags)
 
static OdUInt32 make_creaseFilter (CreaseFlags frontLimit, CreaseFlags backLimit)
 
static OdUInt32 make_creaseFilter (CreaseFilterDefault defFilter)
 
static CreaseFlags get_creaseFilterFront (OdUInt32 creaseFilter)
 
static CreaseFlags get_creaseFilterBack (OdUInt32 creaseFilter)
 
static OdUInt32 make_edgesStyle (OdPs::LineEndStyle lesStyle, OdPs::LineJoinStyle ljsStyle)
 
static OdPs::LineEndStyle get_lineEndStyle (OdUInt32 lineStyle)
 
static OdPs::LineJoinStyle get_lineJoinStyle (OdUInt32 lineStyle)
 
static OdUInt32 extendedPropsInfo (const UIPropEntry **ppEntries=NULL)
 

Protected Types

enum  RSFlags { kRenderModeOverride = (1 << 0) , kSuppressReactor = (1 << 1) , kRSFlagsCopyMask = kRenderModeOverride }
 

Protected Member Functions

bool loadNextPass (MultiPassType passType, OdGsFiler *pFiler)
 
const ColorresolveColor (const Color &clr) const
 
void reactImpl ()
 
void react (OdTrRndRSUpdateReactor rsReact)
 

Protected Attributes

OdUInt16 m_rsFlags
 
OdUInt16 m_rsPassId
 
OdGsView::RenderMode m_renderMode
 
BitSet< kNumFlagRegsm_nDrawFlags
 
Color m_colorProps [kNumColorProps]
 
float m_floatProps [kNumFloatProps]
 
OdInt32 m_intProps [kNumIntegerProps]
 
OdTrRndRenderSettingsPtr m_pNextPass [kNumMultiPassTypes]
 
OdTrRndDifferentialTransitionPtr m_pDifTrans [kNumMultiPassTypes]
 
OdArray< OdTrRndRenderSettingsReactor *, OdMemoryAllocator< OdTrRndRenderSettingsReactor * > > m_reactors
 

Detailed Description

<group ExRender_Windows_Classes>

Definition at line 72 of file TrRndRenderSettings.h.

Member Enumeration Documentation

◆ ColorProps

Enumerator
kPropBackgroundColor 
kPropForegroundColor 
kPropFacesFillColor 
kPropEdgesColor 
kNumColorProps 

Definition at line 193 of file TrRndRenderSettings.h.

◆ ColorType

Enumerator
kColorNormal 
kColorBackground 
kColorForeground 
kColorTint 
kColorDesaturate 

Definition at line 177 of file TrRndRenderSettings.h.

◆ CreaseFilterDefault

Enumerator
kCreaseDrawAllEdges 
kCreaseDrawFrontEdgesOnly 
kCreaseDrawFrontEdgesWithCorners 
kCreaseDrawBreakEdgesWithCorners 
kCreaseDrawBreakEdgesOnly 
kCreaseDrawBackEdgesWithCorners 
kCreaseDrawBackEdgesOnly 

Definition at line 292 of file TrRndRenderSettings.h.

◆ CreaseFlags

Enumerator
kCreaseFrontEdges 
kCreaseFrontCorners 
kCreaseBreakEdges 
kCreaseBackCorners 
kCreaseBackEdges 

Definition at line 283 of file TrRndRenderSettings.h.

◆ DepthFlags

Enumerator
kDepthNever 
kDepthLess 
kDepthEqual 
kDepthLEqual 
kDepthGreater 
kDepthNEqual 
kDepthGEqual 
kDepthAlways 
kDepthFuncMask 
kDepthReadOnly 

Definition at line 276 of file TrRndRenderSettings.h.

◆ DrawFlags

Enumerator
kNullFlag 
kDraw3dFacets 
kDraw2dFacets 
kDrawRasterImages 
kDraw3dFacetEdges 
kDraw2dFacetEdges 
kDrawIsolines 
kDrawIntersections 
kDrawSilhouettes 
kDrawDefaultDisable 
kDrawOrder 
kDrawBackground 
kDrawLineweights 
kDrawLighting 
kDrawShadows 
kDrawFog 
kDrawAntiAliasing 
kDrawMaterials 
kDrawTextures 
kFillFacesColor 
kFillFacesOpacity 
kFillFacesTexture 
kFaceNormals 
kPerVertexLighting 
kGoochLighting 
kFlatLighting 
kSpecularHighlighting 
kSpecularOverride 
kShadingMaterial 
kOverrideEdgesColor 
kOverrideEdgesWidth 
kOverrideEdgesLinetype 
kOverrideEdgesLinestyle 
kEdgesOpacity 
kEdgesCreaseFilter 
kEdgesCreaseFilter3d 
kEdgesOverhang 
kEdgesMultipass 
kEdgesJitter 
kDrawFX 
kDisableColorOutput 
kDisableVSOverride 
kStencilTest 
kStencil3dTest 
kDepthTest 
kDepth3dTest 
kOverlappingDecision 
kSkipImages 
kNumFlags 
kNumFlagRegs 

Definition at line 90 of file TrRndRenderSettings.h.

◆ FloatProps

Enumerator
kPropFacesSpecularPower 
kPropFacesOpacity 
kPropEdgesCreaseAngle 
kPropEdgesOpacity 
kNumFloatProps 

Definition at line 207 of file TrRndRenderSettings.h.

◆ IntegerProps

Enumerator
kPropDrawFilter 
kPropEdgesWidth 
kPropEdgesLinetype 
kPropEdgesLinestyle 
kPropEdgesCreaseFilter 
kPropEdgesCreaseFilter3d 
kPropEdgesOverhang 
kPropEdgesRepetition 
kPropEdgesJitterAmount 
kPropStencilFlags 
kPropStencil3dFlags 
kPropDepthFlags 
kPropDepth3dFlags 
kNumIntegerProps 

Definition at line 220 of file TrRndRenderSettings.h.

◆ MultiPassType

Enumerator
kMultiPassByObject 
kMultiPassByScene 
kMultiPassInputFX 
kMultiPassOutputFX 
kMultiPassForSections 
kMultiPassForIntersections 
kNumMultiPassTypes 

Definition at line 244 of file TrRndRenderSettings.h.

◆ PropType

Enumerator
kPropTypeGroup 
kPropTypeDrawFlag 
kPropTypeColor 
kPropTypeFloat 
kPropTypeInt 
kPropTypeUInt 

Definition at line 317 of file TrRndRenderSettings.h.

◆ RSFlags

Enumerator
kRenderModeOverride 
kSuppressReactor 
kRSFlagsCopyMask 

Definition at line 372 of file TrRndRenderSettings.h.

◆ StencilFlags

Enumerator
kStencilWriteBit1 
kStencilWriteBit2 
kStencilWriteBit3 
kStencilWriteBit4 
kStencilWriteMask 
kStencilWriteOff 
kStencilTestBit1 
kStencilTestBit2 
kStencilTestBit3 
kStencilTestBit4 
kStencilTestMask 
kStencilTestOff 
kStencilReadBit1 
kStencilReadBit2 
kStencilReadBit3 
kStencilReadBit4 
kStencilReadMask 
kStencilReadOff 
kStencilDFailBit 
kStencilDPassBit 
kStencilDepthMask 

Definition at line 265 of file TrRndRenderSettings.h.

Constructor & Destructor Documentation

◆ OdTrRndRenderSettings() [1/2]

OdTrRndRenderSettings::OdTrRndRenderSettings ( OdGsView::RenderMode  initialRenderMode = OdGsView::k2DOptimized,
OdTrRndRSUpdateReactor  rsDefault = kRSCallReactor 
)
inline

Definition at line 393 of file TrRndRenderSettings.h.

◆ OdTrRndRenderSettings() [2/2]

OdTrRndRenderSettings::OdTrRndRenderSettings ( const OdTrRndRenderSettings rs)
inline

Definition at line 404 of file TrRndRenderSettings.h.

◆ ~OdTrRndRenderSettings()

OdTrRndRenderSettings::~OdTrRndRenderSettings ( )
inline

Definition at line 408 of file TrRndRenderSettings.h.

Member Function Documentation

◆ addReactor()

void OdTrRndRenderSettings::addReactor ( OdTrRndRenderSettingsReactor pReactor)

◆ clearDrawFlags()

void OdTrRndRenderSettings::clearDrawFlags ( OdTrRndRSUpdateReactor  rsReact = kRSReactorDefault)
inline

Definition at line 485 of file TrRndRenderSettings.h.

◆ color()

const Color & OdTrRndRenderSettings::color ( ColorProps  nProp,
bool  bResolved = true 
) const
inline

Definition at line 502 of file TrRndRenderSettings.h.

◆ creaseFlagDecode()

static CreaseFlags OdTrRndRenderSettings::creaseFlagDecode ( OdUInt32  flags)
inlinestatic

Definition at line 304 of file TrRndRenderSettings.h.

◆ creaseFlagEncode()

static OdUInt32 OdTrRndRenderSettings::creaseFlagEncode ( CreaseFlags  flags)
inlinestatic

Definition at line 302 of file TrRndRenderSettings.h.

◆ differentialTransition()

const OdTrRndDifferentialTransitionPtr & OdTrRndRenderSettings::differentialTransition ( MultiPassType  passType) const
inline

Definition at line 595 of file TrRndRenderSettings.h.

◆ drawFlag()

bool OdTrRndRenderSettings::drawFlag ( OdUInt32  nFlag) const
inline

Definition at line 450 of file TrRndRenderSettings.h.

◆ extendedPropsInfo()

static OdUInt32 OdTrRndRenderSettings::extendedPropsInfo ( const UIPropEntry **  ppEntries = NULL)
static

◆ forceReactorUpdate()

void OdTrRndRenderSettings::forceReactorUpdate ( OdTrRndRSUpdateReactor  rsReact = kRSCallReactor)
inline

Definition at line 641 of file TrRndRenderSettings.h.

◆ geomTypeMultiPass()

OdTrRndRenderSettings::MultiPassType OdTrRndRenderSettings::geomTypeMultiPass ( OdTrVisGeomType  geomType) const
inline

Definition at line 745 of file TrRndRenderSettings.h.

◆ get_creaseFilterBack()

static CreaseFlags OdTrRndRenderSettings::get_creaseFilterBack ( OdUInt32  creaseFilter)
inlinestatic

Definition at line 310 of file TrRndRenderSettings.h.

◆ get_creaseFilterFront()

static CreaseFlags OdTrRndRenderSettings::get_creaseFilterFront ( OdUInt32  creaseFilter)
inlinestatic

Definition at line 309 of file TrRndRenderSettings.h.

◆ get_lineEndStyle()

static OdPs::LineEndStyle OdTrRndRenderSettings::get_lineEndStyle ( OdUInt32  lineStyle)
inlinestatic

Definition at line 314 of file TrRndRenderSettings.h.

◆ get_lineJoinStyle()

static OdPs::LineJoinStyle OdTrRndRenderSettings::get_lineJoinStyle ( OdUInt32  lineStyle)
inlinestatic

Definition at line 315 of file TrRndRenderSettings.h.

◆ hasNextPass() [1/2]

bool OdTrRndRenderSettings::hasNextPass ( MultiPassType  passType) const
inline

Definition at line 570 of file TrRndRenderSettings.h.

◆ hasNextPass() [2/2]

bool OdTrRndRenderSettings::hasNextPass ( OdTrVisGeomType  geomType) const
inline

Definition at line 607 of file TrRndRenderSettings.h.

◆ hasReactor()

bool OdTrRndRenderSettings::hasReactor ( OdTrRndRenderSettingsReactor pReactor) const

◆ is2dModeEnabled()

bool OdTrRndRenderSettings::is2dModeEnabled ( ) const
inline

Definition at line 655 of file TrRndRenderSettings.h.

◆ is3dFacesWithLinesEnabled()

bool OdTrRndRenderSettings::is3dFacesWithLinesEnabled ( ) const
inline

Definition at line 665 of file TrRndRenderSettings.h.

◆ isColorModifiersEnabled()

bool OdTrRndRenderSettings::isColorModifiersEnabled ( ) const
inline

Definition at line 690 of file TrRndRenderSettings.h.

◆ isDefaultLighting()

bool OdTrRndRenderSettings::isDefaultLighting ( ) const
inline

Definition at line 685 of file TrRndRenderSettings.h.

◆ isFaceColorOverrideEnabled()

bool OdTrRndRenderSettings::isFaceColorOverrideEnabled ( ) const
inline

Definition at line 660 of file TrRndRenderSettings.h.

◆ isFaceNormalsEnabled()

bool OdTrRndRenderSettings::isFaceNormalsEnabled ( ) const
inline

Definition at line 680 of file TrRndRenderSettings.h.

◆ isGeomTypeVisible()

bool OdTrRndRenderSettings::isGeomTypeVisible ( OdTrVisGeomType  geomType) const
inline

Definition at line 720 of file TrRndRenderSettings.h.

◆ isLightingEnabled()

bool OdTrRndRenderSettings::isLightingEnabled ( ) const
inline

Definition at line 675 of file TrRndRenderSettings.h.

◆ isLightingEnabled_()

bool OdTrRndRenderSettings::isLightingEnabled_ ( ) const
inline

Definition at line 671 of file TrRndRenderSettings.h.

◆ isRenderModeOverride()

bool OdTrRndRenderSettings::isRenderModeOverride ( ) const
inline

Definition at line 415 of file TrRndRenderSettings.h.

◆ load()

bool OdTrRndRenderSettings::load ( OdGsFiler pFiler)

◆ loadNextPass()

bool OdTrRndRenderSettings::loadNextPass ( MultiPassType  passType,
OdGsFiler pFiler 
)
protected

◆ make_creaseFilter() [1/2]

static OdUInt32 OdTrRndRenderSettings::make_creaseFilter ( CreaseFilterDefault  defFilter)
inlinestatic

Definition at line 308 of file TrRndRenderSettings.h.

◆ make_creaseFilter() [2/2]

static OdUInt32 OdTrRndRenderSettings::make_creaseFilter ( CreaseFlags  frontLimit,
CreaseFlags  backLimit 
)
inlinestatic

Definition at line 306 of file TrRndRenderSettings.h.

◆ make_edgesStyle()

static OdUInt32 OdTrRndRenderSettings::make_edgesStyle ( OdPs::LineEndStyle  lesStyle,
OdPs::LineJoinStyle  ljsStyle 
)
inlinestatic

Definition at line 312 of file TrRndRenderSettings.h.

◆ makeGeomMarkerVisibilities()

OdUInt32 OdTrRndRenderSettings::makeGeomMarkerVisibilities ( ) const

◆ nextPass() [1/4]

OdTrRndRenderSettings * OdTrRndRenderSettings::nextPass ( MultiPassType  passType)
inline

Definition at line 574 of file TrRndRenderSettings.h.

◆ nextPass() [2/4]

const OdTrRndRenderSettings * OdTrRndRenderSettings::nextPass ( MultiPassType  passType) const
inline

Definition at line 578 of file TrRndRenderSettings.h.

◆ nextPass() [3/4]

OdTrRndRenderSettings * OdTrRndRenderSettings::nextPass ( OdTrVisGeomType  geomType)
inline

Definition at line 612 of file TrRndRenderSettings.h.

◆ nextPass() [4/4]

const OdTrRndRenderSettings * OdTrRndRenderSettings::nextPass ( OdTrVisGeomType  geomType) const
inline

Definition at line 617 of file TrRndRenderSettings.h.

◆ nextPassPtr() [1/4]

OdTrRndRenderSettingsPtr & OdTrRndRenderSettings::nextPassPtr ( MultiPassType  passType)
inline

Definition at line 582 of file TrRndRenderSettings.h.

◆ nextPassPtr() [2/4]

const OdTrRndRenderSettingsPtr & OdTrRndRenderSettings::nextPassPtr ( MultiPassType  passType) const
inline

Definition at line 586 of file TrRndRenderSettings.h.

◆ nextPassPtr() [3/4]

OdTrRndRenderSettingsPtr OdTrRndRenderSettings::nextPassPtr ( OdTrVisGeomType  geomType)
inline

Definition at line 622 of file TrRndRenderSettings.h.

◆ nextPassPtr() [4/4]

const OdTrRndRenderSettingsPtr OdTrRndRenderSettings::nextPassPtr ( OdTrVisGeomType  geomType) const
inline

Definition at line 627 of file TrRndRenderSettings.h.

◆ operator=()

OdTrRndRenderSettings & OdTrRndRenderSettings::operator= ( const OdTrRndRenderSettings rs)

◆ passId()

OdUInt16 OdTrRndRenderSettings::passId ( ) const
inline

Definition at line 437 of file TrRndRenderSettings.h.

◆ react()

void OdTrRndRenderSettings::react ( OdTrRndRSUpdateReactor  rsReact)
inlineprotected

Definition at line 709 of file TrRndRenderSettings.h.

◆ reactImpl()

void OdTrRndRenderSettings::reactImpl ( )
protected

◆ reactorDefault()

OdTrRndRSUpdateReactor OdTrRndRenderSettings::reactorDefault ( ) const

◆ removeReactor()

void OdTrRndRenderSettings::removeReactor ( OdTrRndRenderSettingsReactor pReactor)

◆ renderMode()

OdGsView::RenderMode OdTrRndRenderSettings::renderMode ( ) const
inline

Definition at line 426 of file TrRndRenderSettings.h.

◆ resetDifferentialTransition()

void OdTrRndRenderSettings::resetDifferentialTransition ( MultiPassType  passType)
inline

Definition at line 599 of file TrRndRenderSettings.h.

◆ resetDrawFlag()

void OdTrRndRenderSettings::resetDrawFlag ( OdUInt32  nFlag,
OdTrRndRSUpdateReactor  rsReact = kRSReactorDefault 
)
inline

Definition at line 459 of file TrRndRenderSettings.h.

◆ resetDrawFlags()

void OdTrRndRenderSettings::resetDrawFlags ( const OdUInt32 pFlags,
OdUInt32  nFlags = kNumFlags,
OdTrRndRSUpdateReactor  rsReact = kRSReactorDefault 
)
inline

Definition at line 477 of file TrRndRenderSettings.h.

◆ resolveByViewportDef()

void OdTrRndRenderSettings::resolveByViewportDef ( const OdTrVisViewportShadingDef vpDef)

◆ resolveColor()

const OdTrRndRenderSettings::Color & OdTrRndRenderSettings::resolveColor ( const Color clr) const
inlineprotected

Definition at line 762 of file TrRndRenderSettings.h.

◆ save()

bool OdTrRndRenderSettings::save ( OdGsFiler pFiler) const

◆ searchPassId()

OdTrRndRenderSettingsPtr OdTrRndRenderSettings::searchPassId ( OdUInt16  passId,
OdTrRndRenderSettingsPtr  pSelfPtr = OdTrRndRenderSettingsPtr(),
OdUInt16  passMask = 0xFFFF,
bool  bSearchNested = true 
) const

◆ serializationFlagsPtr() [1/2]

OdUInt8 * OdTrRndRenderSettings::serializationFlagsPtr ( )
inline

Definition at line 492 of file TrRndRenderSettings.h.

◆ serializationFlagsPtr() [2/2]

const OdUInt8 * OdTrRndRenderSettings::serializationFlagsPtr ( ) const
inline

Definition at line 496 of file TrRndRenderSettings.h.

◆ setColor()

void OdTrRndRenderSettings::setColor ( ColorProps  nProp,
const Color clr,
OdTrRndRSUpdateReactor  rsReact = kRSReactorDefault 
)
inline

Definition at line 506 of file TrRndRenderSettings.h.

◆ setDifferentialTransition()

void OdTrRndRenderSettings::setDifferentialTransition ( MultiPassType  passType,
const OdTrRndDifferentialTransitionPtr pDifTrans 
)
inline

Definition at line 591 of file TrRndRenderSettings.h.

◆ setDrawFlag() [1/2]

void OdTrRndRenderSettings::setDrawFlag ( OdUInt32  nFlag,
bool  bSet,
OdTrRndRSUpdateReactor  rsReact = kRSReactorDefault 
)
inline

Definition at line 464 of file TrRndRenderSettings.h.

◆ setDrawFlag() [2/2]

void OdTrRndRenderSettings::setDrawFlag ( OdUInt32  nFlag,
OdTrRndRSUpdateReactor  rsReact = kRSReactorDefault 
)
inline

Definition at line 454 of file TrRndRenderSettings.h.

◆ setDrawFlags()

void OdTrRndRenderSettings::setDrawFlags ( const OdUInt32 pFlags,
OdUInt32  nFlags = kNumFlags,
OdTrRndRSUpdateReactor  rsReact = kRSReactorDefault 
)
inline

Definition at line 471 of file TrRndRenderSettings.h.

◆ setForRenderMode()

void OdTrRndRenderSettings::setForRenderMode ( OdGsView::RenderMode  rm,
OdTrRndRSUpdateReactor  rsReact = kRSReactorDefault 
)

◆ setLastPass() [1/2]

void OdTrRndRenderSettings::setLastPass ( MultiPassType  passType,
const OdTrRndRenderSettingsPtr pNextPass,
OdTrRndRSUpdateReactor  rsReact = kRSReactorDefault 
)

◆ setLastPass() [2/2]

void OdTrRndRenderSettings::setLastPass ( MultiPassType  passType,
OdTrRndRenderSettings pNextPass,
OdTrRndRSUpdateReactor  rsReact = kRSReactorDefault 
)

◆ setLastPassCopy()

void OdTrRndRenderSettings::setLastPassCopy ( MultiPassType  passType,
const OdTrRndRenderSettings pNextPass,
OdTrRndRSUpdateReactor  rsReact = kRSReactorDefault 
)

◆ setNextPass() [1/2]

void OdTrRndRenderSettings::setNextPass ( MultiPassType  passType,
const OdTrRndRenderSettingsPtr pNextPass,
OdTrRndRSUpdateReactor  rsReact = kRSReactorDefault 
)
inline

Definition at line 549 of file TrRndRenderSettings.h.

◆ setNextPass() [2/2]

void OdTrRndRenderSettings::setNextPass ( MultiPassType  passType,
OdTrRndRenderSettings pNextPass,
OdTrRndRSUpdateReactor  rsReact = kRSReactorDefault 
)
inline

Definition at line 544 of file TrRndRenderSettings.h.

◆ setNextPassCopy()

void OdTrRndRenderSettings::setNextPassCopy ( MultiPassType  passType,
const OdTrRndRenderSettings pNextPass,
OdTrRndRSUpdateReactor  rsReact = kRSReactorDefault 
)
inline

Definition at line 558 of file TrRndRenderSettings.h.

◆ setPassId()

void OdTrRndRenderSettings::setPassId ( OdUInt16  nPassId,
OdTrRndRSUpdateReactor  rsReact = kRSReactorDefault 
)
inline

Definition at line 441 of file TrRndRenderSettings.h.

◆ setPropsDefault()

void OdTrRndRenderSettings::setPropsDefault ( OdTrRndRSUpdateReactor  rsReact = kRSReactorDefault)

◆ setReactorDefault()

void OdTrRndRenderSettings::setReactorDefault ( OdTrRndRSUpdateReactor  rsDefault)

◆ setRenderMode()

void OdTrRndRenderSettings::setRenderMode ( OdGsView::RenderMode  rMode,
OdTrRndRSUpdateReactor  rsReact = kRSReactorDefault 
)
inline

Definition at line 430 of file TrRndRenderSettings.h.

◆ setRenderModeOverride()

void OdTrRndRenderSettings::setRenderModeOverride ( bool  bSet,
OdTrRndRSUpdateReactor  rsReact = kRSReactorDefault 
)
inline

Definition at line 419 of file TrRndRenderSettings.h.

◆ setValue() [1/2]

void OdTrRndRenderSettings::setValue ( FloatProps  nProp,
float  fVal,
OdTrRndRSUpdateReactor  rsReact = kRSReactorDefault 
)
inline

Definition at line 517 of file TrRndRenderSettings.h.

◆ setValue() [2/2]

void OdTrRndRenderSettings::setValue ( IntegerProps  nProp,
OdInt32  nVal,
OdTrRndRSUpdateReactor  rsReact = kRSReactorDefault 
)
inline

Definition at line 532 of file TrRndRenderSettings.h.

◆ setValueU()

void OdTrRndRenderSettings::setValueU ( IntegerProps  nProp,
OdUInt32  nVal,
OdTrRndRSUpdateReactor  rsReact = kRSReactorDefault 
)
inline

Definition at line 537 of file TrRndRenderSettings.h.

◆ value() [1/2]

float OdTrRndRenderSettings::value ( FloatProps  nProp) const
inline

Definition at line 513 of file TrRndRenderSettings.h.

◆ value() [2/2]

OdInt32 OdTrRndRenderSettings::value ( IntegerProps  nProp) const
inline

Definition at line 524 of file TrRndRenderSettings.h.

◆ valueU()

OdUInt32 OdTrRndRenderSettings::valueU ( IntegerProps  nProp) const
inline

Definition at line 528 of file TrRndRenderSettings.h.

Member Data Documentation

◆ m_colorProps

Color OdTrRndRenderSettings::m_colorProps[kNumColorProps]
protected

Definition at line 383 of file TrRndRenderSettings.h.

◆ m_floatProps

float OdTrRndRenderSettings::m_floatProps[kNumFloatProps]
protected

Definition at line 384 of file TrRndRenderSettings.h.

◆ m_intProps

OdInt32 OdTrRndRenderSettings::m_intProps[kNumIntegerProps]
protected

Definition at line 385 of file TrRndRenderSettings.h.

◆ m_nDrawFlags

BitSet<kNumFlagRegs> OdTrRndRenderSettings::m_nDrawFlags
protected

Definition at line 382 of file TrRndRenderSettings.h.

◆ m_pDifTrans

OdTrRndDifferentialTransitionPtr OdTrRndRenderSettings::m_pDifTrans[kNumMultiPassTypes]
protected

Definition at line 389 of file TrRndRenderSettings.h.

◆ m_pNextPass

OdTrRndRenderSettingsPtr OdTrRndRenderSettings::m_pNextPass[kNumMultiPassTypes]
protected

Definition at line 387 of file TrRndRenderSettings.h.

◆ m_reactors

OdArray<OdTrRndRenderSettingsReactor*, OdMemoryAllocator<OdTrRndRenderSettingsReactor*> > OdTrRndRenderSettings::m_reactors
protected

Definition at line 391 of file TrRndRenderSettings.h.

◆ m_renderMode

OdGsView::RenderMode OdTrRndRenderSettings::m_renderMode
protected

Definition at line 381 of file TrRndRenderSettings.h.

◆ m_rsFlags

OdUInt16 OdTrRndRenderSettings::m_rsFlags
protected

Definition at line 379 of file TrRndRenderSettings.h.

◆ m_rsPassId

OdUInt16 OdTrRndRenderSettings::m_rsPassId
protected

Definition at line 380 of file TrRndRenderSettings.h.


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