CFx SDK Documentation  2020SP3
TrRndRenderSettings.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2017, Open Design Alliance (the "Alliance").
3 // All rights reserved.
4 //
5 // This software and its documentation and related materials are owned by
6 // the Alliance. The software may only be incorporated into application
7 // programs owned by members of the Alliance, subject to a signed
8 // Membership Agreement and Supplemental Software License Agreement with the
9 // Alliance. The structure and organization of this software are the valuable
10 // trade secrets of the Alliance and its suppliers. The software is also
11 // protected by copyright law and international treaty provisions. Application
12 // programs incorporating this software must include the following statement
13 // with their copyright notices:
14 //
15 // This application incorporates Teigha(R) software pursuant to a license
16 // agreement with Open Design Alliance.
17 // Teigha(R) Copyright (C) 2002-2017 by Open Design Alliance.
18 // All rights reserved.
19 //
20 // By use of this software, its documentation or related materials, you
21 // acknowledge and accept the above terms.
23 // GLES2 device local rendition render settings interface
24 
25 #ifndef ODTRRNDRENDERSETTINGS
26 #define ODTRRNDRENDERSETTINGS
27 
28 #include "TD_PackPush.h"
29 
31 #include "../TrVisDefs.h"
32 #include "../TrVisMetafileStream.h"
33 
34 // Forward declarations
35 class OdGsFiler;
36 struct OdTrVisViewportDef;
37 
42 
47 
52 
57 {
58  public:
59  virtual void renderSettingsChanged(OdTrRndRenderSettings *pRSets) = 0;
60 };
61 
63 {
66  kRSCallReactor = 1
67 };
68 
73 {
74  protected:
75  template <OdUInt32 nElems>
76  class BitSet {
77  protected:
78  OdUInt8 m_flags[nElems];
79  public:
81  { clear(); }
82  void clear() { for (OdUInt32 n = 0; n < nElems; n++) m_flags[n] = 0; }
83  OdUInt8 *getPtr() { return m_flags; } const OdUInt8 *getPtr() const { return m_flags; }
84  void set(OdUInt32 nFlag) { SETBIT_1(m_flags[nFlag >> 3], 1 << (nFlag & 7)); }
85  void reset(OdUInt32 nFlag) { SETBIT_0(m_flags[nFlag >> 3], 1 << (nFlag & 7)); }
86  void set(OdUInt32 nFlag, bool bSet) { SETBIT(m_flags[nFlag >> 3], 1 << (nFlag & 7), bSet); }
87  bool get(OdUInt32 nFlag) const { return GETBIT(m_flags[nFlag >> 3], 1 << (nFlag & 7)); }
88  };
89  public:
90  enum DrawFlags
91  {
92  kNullFlag = 0,
93  // Elements rendering
94  kDraw3dFacets, // Draw shaded facets
95  kDraw2dFacets, // Draw non-shaded facets
96  kDrawRasterImages, // Draw raster images
97  kDraw3dFacetEdges, // Draw shaded facets wireframe
98  kDraw2dFacetEdges, // Draw non-shaded facets wireframe
99  kDrawIsolines, // Draw isolines
100  kDrawIntersections, // Draw intersection edges
101  kDrawSilhouettes, // Draw silhouettes
102  kDrawDefaultDisable, // Disable rendering of default elements
103  // Display quality settings
104  kDrawOrder, // Draw order enabled
105  kDrawBackground, // Draw backgrounds enabled
106  kDrawLineweights, // Draw lineweights
107  kDrawLighting, // Draw lighting
108  // Face quality settings
109  kDrawMaterials, // Draw materials
110  kDrawTextures, // Draw textures
111  kFillFacesColor, // Use color to fill faces
112  kFillFacesOpacity, // Override faces opacity
113  kFaceNormals, // Use face normals instead vertex normals
114  kPerVertexLighting, // Use per-vertex lighting instead of per-pixel lighting
115  kGoochLighting, // Enable Gooch faces lighting instead of Phong
116  kSpecularHighlighting, // Enable specular highlighting
117  kShadingMaterial, // Use shading material intead of realistic material
118  // Edge quality settings
119  kOverrideEdgesColor, // Use edges color override
120  kOverrideEdgesWidth, // Use edges width override
121  kOverrideEdgesLinetype, // Use edges linetype override
122  kEdgesOpacity, // Use edges opacity
123  kEdgesCreaseFilter, // Use edges crease angle filtration
124  kEdgesCreaseFilter3d, // Use separate crease angle filtration for 3d object (active only if kEdgesCreaseFilter enabled)
125  kEdgesOverhang, // Use edges extension
126  kEdgesMultipass, // Draw edges multiple times
127  kEdgesJitter, // Use edges jitter effect
128  // FX-related
129  kDrawFX, // True in case if render settings represent effect rendering
130  kDisableColorOutput, // Disable color output for FX rendering
131  kStencilTest, // Modifies stencil buffer processing behavior
132  kStencil3dTest, // Use separate stencil buffer setting for 3d objects (active only if kStencilTest enabled)
133  kDepthTest, // Modifies depth buffer processing behavior
134  kDepth3dTest, // Use separate depth buffer setting for 3d objects (active only if kDepthTest enabled)
135  // Last flag (do not modify manually)
137  kNumFlagRegs = (kNumFlags >> 3) + 1
138  };
139  // Settings for render modes
140 #define OdTrRndRS_SetFor2dWireframe { kDraw3dFacets, kDraw2dFacets, kDrawRasterImages, kDraw2dFacetEdges, kDrawIsolines, \
141  kDrawOrder, kDrawBackground, kDrawLineweights, \
142  kNullFlag }
143 #define OdTrRndRS_SetFor3dWireframe { kDraw2dFacets, kDraw2dFacetEdges, kDrawRasterImages, kDrawIsolines, \
144  kDrawBackground, kDrawLineweights, \
145  kNullFlag }
146 #define OdTrRndRS_SetForHiddenLine { kDraw3dFacets, kDrawRasterImages, kDraw3dFacetEdges, kDraw2dFacetEdges, \
147  kDrawBackground, kDrawLineweights, \
148  kFillFacesColor, \
149  kNullFlag }
150 #define OdTrRndRS_SetForFlatShaded { kDraw3dFacets, kDraw2dFacets, kDrawRasterImages, \
151  kDrawBackground, kDrawLineweights, kDrawLighting, \
152  kDrawMaterials, kDrawTextures, kFaceNormals, kPerVertexLighting, kSpecularHighlighting, \
153  kNullFlag }
154 #define OdTrRndRS_SetForGouraudShaded { kDraw3dFacets, kDraw2dFacets, kDrawRasterImages, \
155  kDrawBackground, kDrawLineweights, kDrawLighting, \
156  kDrawMaterials, kDrawTextures, kPerVertexLighting, kSpecularHighlighting, \
157  kNullFlag }
158 #define OdTrRndRS_SetForFlatShadedWithWireframe { kDraw3dFacets, kDraw2dFacets, kDrawRasterImages, kDraw3dFacetEdges, kDraw2dFacetEdges, \
159  kDrawBackground, kDrawLineweights, kDrawLighting, \
160  kDrawMaterials, kDrawTextures, kFaceNormals, kPerVertexLighting, kSpecularHighlighting, \
161  kNullFlag }
162 #define OdTrRndRS_SetForGouraudShadedWithWireframe { kDraw3dFacets, kDraw2dFacets, kDrawRasterImages, kDraw3dFacetEdges, kDraw2dFacetEdges, \
163  kDrawBackground, kDrawLineweights, kDrawLighting, \
164  kDrawMaterials, kDrawTextures, kPerVertexLighting, kSpecularHighlighting, \
165  kNullFlag }
166 #define OdTrRndRS_FX { kDrawFX, kNullFlag }
168  {
174  };
175  struct Color
176  {
179  Color(ColorType colorType = kColorBackground, ODCOLORREF colorVal = ODRGBA(0, 0, 0, 255))
180  : m_colorType(colorType), m_colorVal(colorVal) { }
181  };
182  // Draw properties
184  {
185  // Viewport (global)
186  kPropBackgroundColor = 0, // Background viewport color
187  kPropForegroundColor, // Foreground viewport color
188  // Faces
189  kPropFacesFillColor, // Faces fill color override
190  // Edges
191  kPropEdgesColor, // Edges color override
192  // FX-related
193  // . . .
194  // Number of color properties
196  };
198  {
199  // Faces
200  kPropFacesSpecularPower = 0, // Material specilar power coefficient
201  kPropFacesOpacity, // Faces opacity override
202  // Edges
203  kPropEdgesCreaseAngle, // Edge crease filtration angle
205  // FX-related
206  // . . .
207  // Number of floating point properties
209  };
211  {
212  // Viewport (global)
213  kPropDrawFilter = 0, // Inclusive metafiles rendering filter
214  // Faces
215  // . . .
216  // Edges
217  kPropEdgesWidth, // Edges lineweight override (in pixels)
218  kPropEdgesLinetype, // Edges linetype override (using OdPs::LineType enum)
219  kPropEdgesCreaseFilter, // Edges crease filter (using CreaseFlags enum)
220  kPropEdgesCreaseFilter3d, // Separate edges crease filter for 3d objects (using CreaseFlags enum)
221  kPropEdgesOverhang, // Edges extension length (in pixels)
222  kPropEdgesRepetition, // Number of repetitions per edges rendering (applicable for jitter effect only)
223  kPropEdgesJitterAmount, // Jitter effect amount (in pixels)
224  // FX-related
225  kPropStencilFlags, // Stencil buffer flags (using StencilFlags enum)
226  kPropStencil3dFlags, // Separate stencil buffer flags for 3d objects (using StencilFlags enum)
227  kPropDepthFlags, // Depth buffer flags (using DepthFlags enum)
228  kPropDepth3dFlags, // Separate depth buffer flags for 3d objects (using DepthFlags enum)
229  // Number of integer properties
231  };
232  // Type of multi-pass effect
234  {
239 
241  };
242  // kPropStencilFlags property settings
244  {
245  kStencilWriteBit1 = (1 << 0), kStencilWriteBit2 = (1 << 1), kStencilWriteBit3 = (1 << 2), kStencilWriteBit4 = (1 << 3),
247  kStencilTestBit1 = (1 << 4), kStencilTestBit2 = (1 << 5), kStencilTestBit3 = (1 << 6), kStencilTestBit4 = (1 << 7),
249  kStencilReadBit1 = (1 << 8), kStencilReadBit2 = (1 << 9), kStencilReadBit3 = (1 << 10), kStencilReadBit4 = (1 << 11),
251  };
252  // kPropDepthFlags property settings
254  {
257  kDepthReadOnly = (1 << 4)
258  };
259  // kPropEdgesCreaseFilter property settings
261  {
262  // Most reasonable states:
263  kCreaseFrontEdges = -2, // Completely front edge
264  kCreaseFrontCorners = -1, // Corner edge at front
265  kCreaseBreakEdges = 0, // Break edge (partially at front, partially at back)
266  kCreaseBackCorners = 1, // Corner edge at back
267  kCreaseBackEdges = 2 // Completely back edge
268  };
270  {
271  kCreaseDrawAllEdges = 0x32, // -2, 2 - Draw everything (default)
272  kCreaseDrawFrontEdgesOnly = 0x35, // -2,-1 - Draw front edges only
273  kCreaseDrawFrontEdgesWithCorners = 0x30, // -2, 0 - Draw front edges and front corner edges
274  kCreaseDrawBreakEdgesWithCorners = 0x29, // -1, 1 - Draw break edges and corner edges
275  kCreaseDrawBreakEdgesOnly = 0x00, // 0, 0 - Draw break edges only
276  kCreaseDrawBackEdgesWithCorners = 0x02, // 0, 2 - Draw back edges and back corner edges
277  kCreaseDrawBackEdgesOnly = 0x0A // 1, 2 - Draw back edges only
278  };
279  inline static OdUInt32 creaseFlagEncode(CreaseFlags flags)
280  { return (flags < kCreaseBreakEdges) ? OdUInt32(-flags | 4) : OdUInt32(flags); }
281  inline static CreaseFlags creaseFlagDecode(OdUInt32 flags)
282  { return (CreaseFlags)((GETBIT(flags, 4)) ? -OdInt32(flags & 3) : OdInt32(flags & 3)); }
283  inline static OdUInt32 make_creaseFilter(CreaseFlags frontLimit, CreaseFlags backLimit)
284  { return (creaseFlagEncode(frontLimit) << 3) | creaseFlagEncode(backLimit); }
285  inline static OdUInt32 make_creaseFilter(CreaseFilterDefault defFilter) { return (OdUInt32)defFilter; }
286  inline static CreaseFlags get_creaseFilterFront(OdUInt32 creaseFilter) { return creaseFlagDecode((creaseFilter >> 3) & 7); }
287  inline static CreaseFlags get_creaseFilterBack(OdUInt32 creaseFilter) { return creaseFlagDecode(creaseFilter & 7); }
288  // UI properties grouping
289  enum PropType
290  {
297  };
298  union UIDefVal
299  {
301  struct ColorProp
302  {
307  float m_floatProp;
311  UIDefVal(bool bDrawFlag) { m_colorProp.reset(); m_drawFlag = bDrawFlag; }
312  UIDefVal(ColorType colorType, ODCOLORREF colorVal = ODRGBA(0, 0, 0, 255)) { m_colorProp.m_colorType = colorType; m_colorProp.m_colorVal = colorVal; }
313  UIDefVal(float floatProp) { m_colorProp.reset(); m_floatProp = floatProp; }
314  UIDefVal(OdInt32 intProp) { m_colorProp.reset(); m_intProp = intProp; }
315  UIDefVal(OdUInt32 uintProp) { m_colorProp.reset(); m_uintProp = uintProp; }
316  };
318  {
319  float m_limFlt;
322  UIPropRange() { m_limFlt = 0.0f; }
323  };
325  {
329  UIPropRanges(float fltMin, float fltMax) { m_min.m_limFlt = fltMin; m_max.m_limFlt = fltMax; }
330  UIPropRanges(OdInt32 intMin, OdInt32 intMax) { m_min.m_limInt = intMin; m_max.m_limInt = intMax; }
331  UIPropRanges(OdUInt32 uintMin, OdUInt32 uintMax) { m_min.m_limUInt = uintMin; m_max.m_limUInt = uintMax; }
332  };
333  struct UIPropEntry
334  {
339  const OdChar *m_pName;
342  };
343  protected:
344  enum RSFlags
345  {
346  kRenderModeOverride = (1 << 0), // If set to true render mode settings will be got directly from viewport.
347  kSuppressReactor = (1 << 1), // If set then reactor willn't be called by default for this render settings object.
348  kRSFlagsCopyMask = kRenderModeOverride // Flags which can be copied between render settings.
349  };
350  protected:
351  OdUInt16 m_rsFlags; // Render settings specific flags
352  OdGsView::RenderMode m_renderMode; // Used to set basic parameters.
353  BitSet<kNumFlagRegs> m_nDrawFlags; // Set of bit (draw) flags
354  Color m_colorProps[kNumColorProps]; // Set of color data properties
355  float m_floatProps[kNumFloatProps]; // Set of floating point data properties
356  OdInt32 m_intProps[kNumIntegerProps]; // Set of integer properties
357  // Pointer to next pass for multipass render settings
359  // Differential transition from previous pass
361  // Attached render setting reactors
363  public:
366  , m_renderMode(initialRenderMode)
367  , m_nDrawFlags()
368  {
369  setReactorDefault(rsDefault);
370  setForRenderMode(initialRenderMode, kRSIgnoreReactor);
373  }
375  {
376  *this = rs;
377  }
379  {
380  }
381 
383 
384  // Control rendering settings overriding
385  bool isRenderModeOverride() const
386  {
388  }
390  {
392  react(rsReact);
393  }
394 
395  // Basic rendering mode
397  {
398  return m_renderMode;
399  }
401  {
402  m_renderMode = rMode;
403  react(rsReact);
404  }
405 
406  // Draw flags accessors
407  bool drawFlag(OdUInt32 nFlag) const
408  {
409  return m_nDrawFlags.get(nFlag);
410  }
412  {
413  m_nDrawFlags.set(nFlag);
414  react(rsReact);
415  }
417  {
418  m_nDrawFlags.reset(nFlag);
419  react(rsReact);
420  }
422  {
423  m_nDrawFlags.set(nFlag, bSet);
424  react(rsReact);
425  }
426 
427  // Draw flags array accessors
429  {
430  while (nFlags && *pFlags)
431  setDrawFlag(*pFlags++, kRSIgnoreReactor), nFlags--;
432  react(rsReact);
433  }
435  {
436  while (nFlags && *pFlags)
437  resetDrawFlag(*pFlags++, kRSIgnoreReactor), nFlags--;
438  react(rsReact);
439  }
440 
441  // Clear flags
443  {
445  react(rsReact);
446  }
447 
448  // Draw flags serialization support
450  {
451  return m_nDrawFlags.getPtr();
452  }
454  {
455  return m_nDrawFlags.getPtr();
456  }
457 
458  // Access color properties
459  const Color &color(ColorProps nProp, bool bResolved = true) const
460  {
461  return (!bResolved) ? m_colorProps[nProp] : resolveColor(m_colorProps[nProp]);
462  }
464  {
465  m_colorProps[nProp] = clr;
466  react(rsReact);
467  }
468 
469  // Access floating point properties
470  float value(FloatProps nProp) const
471  {
472  return m_floatProps[nProp];
473  }
474  void setValue(FloatProps nProp, float fVal, OdTrRndRSUpdateReactor rsReact = kRSReactorDefault)
475  {
476  m_floatProps[nProp] = fVal;
477  react(rsReact);
478  }
479 
480  // Access integer properties
482  {
483  return m_intProps[nProp];
484  }
486  {
487  return (OdUInt32)m_intProps[nProp];
488  }
490  {
491  m_intProps[nProp] = nVal;
492  react(rsReact);
493  }
495  {
496  m_intProps[nProp] = (OdInt32)nVal;
497  react(rsReact);
498  }
499 
500  // Multipass render settings
502  {
503  m_pNextPass[passType] = pNextPass;
504  react(rsReact);
505  }
507  {
508  if (!pNextPass)
509  m_pNextPass[passType] = NULL;
510  else
511  m_pNextPass[passType] = new OdTrRndRenderSettings(*pNextPass);
512  react(rsReact);
513  }
516  bool hasNextPass(MultiPassType passType) const
517  {
518  return !m_pNextPass[passType].isNull();
519  }
521  {
522  return m_pNextPass[passType].get();
523  }
525  {
526  return m_pNextPass[passType].get();
527  }
529  {
530  return m_pNextPass[passType];
531  }
533  {
534  return m_pNextPass[passType];
535  }
536 
538  {
539  m_pDifTrans[passType] = pDifTrans;
540  }
542  {
543  return m_pDifTrans[passType];
544  }
546  {
547  m_pDifTrans[passType] = NULL;
548  }
549 
550  // Render settings reactors
554 
555  // Reactor default behavior
559  {
560  react(rsReact);
561  }
562 
563  // Extended functions
567  bool isGeomTypeVisible(OdTrVisGeomType geomType) const;
569 
570  // Some basic properties access
571  // !RenderMode::depthBufferEnabled
572  bool is2dModeEnabled() const
573  {
574  return drawFlag(kDrawOrder);
575  }
576  // RenderMode::stencilBufferEnabled
578  {
579  return drawFlag(kFillFacesColor);
580  }
581  // RenderMode::polygonOffsetEnabled
583  {
585  }
586  // RenderMode::lightingEnabled
587  bool isLightingEnabled_() const
588  {
590  }
591  bool isLightingEnabled() const
592  {
593  return drawFlag(kDrawLighting);
594  }
595  // RenderMode::faceNormalsEnabled
596  bool isFaceNormalsEnabled() const
597  {
598  return drawFlag(kFaceNormals);
599  }
600  // RenderConfig::isForceDefaultLighting
601  bool isDefaultLighting() const
602  {
603  return drawFlag(kGoochLighting);
604  }
605 
606  // Loading/saving ability
607  bool save(OdGsFiler *pFiler) const;
608  bool load(OdGsFiler *pFiler);
609 
610  // Extended properties information
611  static OdUInt32 extendedPropsInfo(const UIPropEntry **ppEntries = NULL);
612  protected:
613  bool loadNextPass(MultiPassType passType, OdGsFiler *pFiler);
614  const Color &resolveColor(const Color &clr) const;
615  void reactImpl();
617  {
618  if ((rsReact == kRSCallReactor) || ((rsReact == kRSReactorDefault) && !GETBIT(m_rsFlags, kSuppressReactor)))
619  reactImpl();
620  }
621 };
622 
623 // Null render settings (applicable as stub for initial render settings switch)
625 
626 inline
628 {
629  switch (geomType)
630  {
647  default: return false;
648  }
649 }
650 
651 inline
653 {
654  switch (clr.m_colorType)
655  {
656  case kColorBackground: return color(kPropBackgroundColor, false);
657  case kColorForeground: return color(kPropForegroundColor, false);
658  default: break;
659  }
660  return clr;
661 }
662 
667 {
668  public:
670  {
671  kRSViewportVisible = (1 << 0),
672  kRSViewportPS = (1 << 1),
673  kRSViewportOverall = (1 << 2),
674  kRSViewportHelper = (1 << 3)
675  };
676  public:
679 
680  virtual OdUInt32 rsNumViewports() const = 0;
681 
682  virtual OdTrVisViewportId rsViewportId(OdUInt32 numViewport) const = 0;
683  virtual OdUInt32 rsViewportFlags(OdUInt32 numViewport) const = 0;
684 
685  virtual void rsViewportSettings(OdUInt32 numViewport, OdTrRndRenderSettingsPtr &rs) const = 0;
687 
688  virtual bool rsIsViewportRenderModeOverride(OdUInt32 numViewport) const = 0;
689  virtual void rsSetViewportRenderModeOverride(OdUInt32 numViewport, bool bOverride) = 0;
690  virtual void rsApplyViewportRenderModeOverride(OdUInt32 numViewport) = 0;
691 };
692 
693 #include "TD_PackPop.h"
694 
695 #endif // ODTRRNDRENDERSETTINGS
GETBIT
#define GETBIT(flags, bit)
Definition: OdaDefs.h:498
OdTrRndRenderSettings::kCreaseFrontEdges
@ kCreaseFrontEdges
Definition: TrRndRenderSettings.h:263
OdTrRndRenderSettings::setRenderModeOverride
void setRenderModeOverride(bool bSet, OdTrRndRSUpdateReactor rsReact=kRSReactorDefault)
Definition: TrRndRenderSettings.h:389
OdTrRndRenderSettings::isGeomTypeVisible
bool isGeomTypeVisible(OdTrVisGeomType geomType) const
Definition: TrRndRenderSettings.h:627
OdTrRndRenderSettings::UIPropEntry::m_pName
const OdChar * m_pName
Definition: TrRndRenderSettings.h:339
OdTrRndRenderSettings::serializationFlagsPtr
const OdUInt8 * serializationFlagsPtr() const
Definition: TrRndRenderSettings.h:453
OdTrRndRenderSettings::CreaseFilterDefault
CreaseFilterDefault
Definition: TrRndRenderSettings.h:270
OdTrRndRenderSettings::kCreaseDrawFrontEdgesWithCorners
@ kCreaseDrawFrontEdgesWithCorners
Definition: TrRndRenderSettings.h:273
OdTrRndRenderSettings::kCreaseFrontCorners
@ kCreaseFrontCorners
Definition: TrRndRenderSettings.h:264
OdTrRndRenderSettingsManager::RSViewportFlags
RSViewportFlags
Definition: TrRndRenderSettings.h:670
NULL
#define NULL
Definition: GsProperties.h:177
OdTrRndRenderSettings::kPropStencilFlags
@ kPropStencilFlags
Definition: TrRndRenderSettings.h:225
OdTrRndRenderSettings::UIPropRanges::m_max
UIPropRange m_max
Definition: TrRndRenderSettings.h:327
OdGsView::RenderMode
RenderMode
Definition: Gs.h:138
OdTrRndRenderSettings::kPropTypeDrawFlag
@ kPropTypeDrawFlag
Definition: TrRndRenderSettings.h:292
OdTrRndRenderSettings::makeGeomMarkerVisibilities
OdUInt32 makeGeomMarkerVisibilities() const
OdTrRndRenderSettings::kFillFacesColor
@ kFillFacesColor
Definition: TrRndRenderSettings.h:111
OdTrRndRenderSettings::DrawFlags
DrawFlags
Definition: TrRndRenderSettings.h:91
OdTrRndRenderSettings::setRenderMode
void setRenderMode(OdGsView::RenderMode rMode, OdTrRndRSUpdateReactor rsReact=kRSReactorDefault)
Definition: TrRndRenderSettings.h:400
OdUInt8
unsigned char OdUInt8
Definition: OdPlatformSettings.h:759
OdTrRndRenderSettings::setColor
void setColor(ColorProps nProp, const Color &clr, OdTrRndRSUpdateReactor rsReact=kRSReactorDefault)
Definition: TrRndRenderSettings.h:463
OdTrRndRenderSettings::kColorBackground
@ kColorBackground
Definition: TrRndRenderSettings.h:170
OdTrRndRenderSettings::m_floatProps
float m_floatProps[kNumFloatProps]
Definition: TrRndRenderSettings.h:355
OdTrRndRenderSettings::hasReactor
bool hasReactor(OdTrRndRenderSettingsReactor *pReactor) const
OdTrRndRenderSettings::UIDefVal::ColorProp::m_colorType
ColorType m_colorType
Definition: TrRndRenderSettings.h:303
OdTrRndRenderSettings::setReactorDefault
void setReactorDefault(OdTrRndRSUpdateReactor rsDefault)
OdTrRndRenderSettings::kPropEdgesCreaseAngle
@ kPropEdgesCreaseAngle
Definition: TrRndRenderSettings.h:203
OdTrRndRenderSettingsManager::rsViewportSettings
virtual OdTrRndRenderSettings & rsViewportSettings(OdUInt32 numViewport)=0
SETBIT_1
#define SETBIT_1(flags, bit)
Definition: OdaDefs.h:501
OdTrRndRenderSettings::kStencilReadBit1
@ kStencilReadBit1
Definition: TrRndRenderSettings.h:249
OdTrRndRenderSettings::kRenderModeOverride
@ kRenderModeOverride
Definition: TrRndRenderSettings.h:346
OdTrRndRenderSettings::UIDefVal::UIDefVal
UIDefVal(float floatProp)
Definition: TrRndRenderSettings.h:313
OdTrRndRenderSettings::PropType
PropType
Definition: TrRndRenderSettings.h:290
OdTrRndRenderSettings::kDraw2dFacets
@ kDraw2dFacets
Definition: TrRndRenderSettings.h:95
OdTrRndRenderSettings::kPropEdgesRepetition
@ kPropEdgesRepetition
Definition: TrRndRenderSettings.h:222
OdTrRndRenderSettings::UIPropRanges
Definition: TrRndRenderSettings.h:325
OdTrRndRenderSettings::kStencilTestOff
@ kStencilTestOff
Definition: TrRndRenderSettings.h:248
OdTrRndRenderSettings::kDraw3dFacets
@ kDraw3dFacets
Definition: TrRndRenderSettings.h:94
OdSharedPtr::isNull
bool isNull() const
Definition: SharedPtr.h:163
OdTrRndRenderSettings::setValue
void setValue(FloatProps nProp, float fVal, OdTrRndRSUpdateReactor rsReact=kRSReactorDefault)
Definition: TrRndRenderSettings.h:474
OdTrRndRenderSettings::kDrawMaterials
@ kDrawMaterials
Definition: TrRndRenderSettings.h:109
OdTrRndRenderSettings::nextPassPtr
OdTrRndRenderSettingsPtr & nextPassPtr(MultiPassType passType)
Definition: TrRndRenderSettings.h:528
OdTrRndRenderSettings::kDrawIntersections
@ kDrawIntersections
Definition: TrRndRenderSettings.h:100
OdTrRndRSUpdateReactor
OdTrRndRSUpdateReactor
Definition: TrRndRenderSettings.h:63
OdTrRndRenderSettings::resetDrawFlag
void resetDrawFlag(OdUInt32 nFlag, OdTrRndRSUpdateReactor rsReact=kRSReactorDefault)
Definition: TrRndRenderSettings.h:416
OdTrRndRenderSettings::make_creaseFilter
static OdUInt32 make_creaseFilter(CreaseFilterDefault defFilter)
Definition: TrRndRenderSettings.h:285
OdSharedPtr< OdTrRndRenderSettings >
OdTrRndRenderSettings::BitSet::getPtr
OdUInt8 * getPtr()
Definition: TrRndRenderSettings.h:83
OdTrRndRenderSettings::value
OdInt32 value(IntegerProps nProp) const
Definition: TrRndRenderSettings.h:481
OdTrRndRenderSettings::kStencilWriteMask
@ kStencilWriteMask
Definition: TrRndRenderSettings.h:246
OdTrRndRenderSettings::kPropFacesFillColor
@ kPropFacesFillColor
Definition: TrRndRenderSettings.h:189
OdTrRndRenderSettings::UIPropEntry::m_nLinkUIId2
OdUInt32 m_nLinkUIId2
Definition: TrRndRenderSettings.h:338
OdTrRndRenderSettings::UIDefVal::m_intProp
OdInt32 m_intProp
Definition: TrRndRenderSettings.h:308
OdTrRndRenderSettingsManager::rsViewportFlags
virtual OdUInt32 rsViewportFlags(OdUInt32 numViewport) const =0
OdTrRndRenderSettings::kDrawBackground
@ kDrawBackground
Definition: TrRndRenderSettings.h:105
OdTrRndRenderSettings::removeReactor
void removeReactor(OdTrRndRenderSettingsReactor *pReactor)
OdTrRndRenderSettings::kCreaseDrawFrontEdgesOnly
@ kCreaseDrawFrontEdgesOnly
Definition: TrRndRenderSettings.h:272
OdTrVisViewportDef
Definition: TrVisViewportDef.h:42
OdTrRndRenderSettings::kDepthLEqual
@ kDepthLEqual
Definition: TrRndRenderSettings.h:255
SETBIT
#define SETBIT(flags, bit, value)
Definition: OdaDefs.h:497
OdTrRndRenderSettings::resolveByViewportDef
void resolveByViewportDef(const OdTrVisViewportDef &vpDef)
OdTrRndRenderSettings::kCreaseDrawBackEdgesOnly
@ kCreaseDrawBackEdgesOnly
Definition: TrRndRenderSettings.h:277
OdTrRndRenderSettings::kStencilTestMask
@ kStencilTestMask
Definition: TrRndRenderSettings.h:248
OdTrRndRenderSettingsManager
Definition: TrRndRenderSettings.h:667
OdTrRndRenderSettings::kPropTypeColor
@ kPropTypeColor
Definition: TrRndRenderSettings.h:293
kRSIgnoreReactor
@ kRSIgnoreReactor
Definition: TrRndRenderSettings.h:65
OdTrRndRenderSettings::setValue
void setValue(IntegerProps nProp, OdInt32 nVal, OdTrRndRSUpdateReactor rsReact=kRSReactorDefault)
Definition: TrRndRenderSettings.h:489
OdTrRndRenderSettings::UIPropEntry::m_nLinkUIId1
OdUInt32 m_nLinkUIId1
Definition: TrRndRenderSettings.h:337
OdTrRndRenderSettings::kEdgesOverhang
@ kEdgesOverhang
Definition: TrRndRenderSettings.h:125
OdTrRndRenderSettings::kNullFlag
@ kNullFlag
Definition: TrRndRenderSettings.h:92
OdTrRndRenderSettings::UIPropRange
Definition: TrRndRenderSettings.h:318
OdTrRndRenderSettings::isLightingEnabled_
bool isLightingEnabled_() const
Definition: TrRndRenderSettings.h:587
OdTrVisGeomType_FillPatternEdges
@ OdTrVisGeomType_FillPatternEdges
Definition: TrVisMetafileStream.h:198
OdTrRndRenderSettings::m_pDifTrans
OdTrRndDifferentialTransitionPtr m_pDifTrans[kNumMultiPassTypes]
Definition: TrRndRenderSettings.h:360
OdTrVisGeomType_Silhouettes
@ OdTrVisGeomType_Silhouettes
Definition: TrVisMetafileStream.h:200
OdArray
Definition: OdArray.h:591
OdTrRndRenderSettings::kPropEdgesJitterAmount
@ kPropEdgesJitterAmount
Definition: TrRndRenderSettings.h:223
OdTrRndRenderSettings::kCreaseDrawAllEdges
@ kCreaseDrawAllEdges
Definition: TrRndRenderSettings.h:271
OdTrRndRenderSettings::kPropDepthFlags
@ kPropDepthFlags
Definition: TrRndRenderSettings.h:227
TD_PackPop.h
OdTrRndRenderSettings::serializationFlagsPtr
OdUInt8 * serializationFlagsPtr()
Definition: TrRndRenderSettings.h:449
OdTrRndRenderSettings::kStencilReadBit3
@ kStencilReadBit3
Definition: TrRndRenderSettings.h:249
OdTrRndRenderSettings::save
bool save(OdGsFiler *pFiler) const
OdTrRndRenderSettings::kSuppressReactor
@ kSuppressReactor
Definition: TrRndRenderSettings.h:347
OdTrVisGeomType_Isolines
@ OdTrVisGeomType_Isolines
Definition: TrVisMetafileStream.h:195
kRSCallReactor
@ kRSCallReactor
Definition: TrRndRenderSettings.h:66
OdTrRndRenderSettings::UIPropRanges::UIPropRanges
UIPropRanges(OdUInt32 uintMin, OdUInt32 uintMax)
Definition: TrRndRenderSettings.h:331
OdTrRndRenderSettings::OdTrRndRenderSettings
OdTrRndRenderSettings(const OdTrRndRenderSettings &rs)
Definition: TrRndRenderSettings.h:374
OdTrVisGeomType_3dFacetsNoFill
@ OdTrVisGeomType_3dFacetsNoFill
Definition: TrVisMetafileStream.h:190
OdTrRndRenderSettings::kSpecularHighlighting
@ kSpecularHighlighting
Definition: TrRndRenderSettings.h:116
OdTrRndRenderSettings::kFillFacesOpacity
@ kFillFacesOpacity
Definition: TrRndRenderSettings.h:112
OdTrRndRenderSettings::UIDefVal::UIDefVal
UIDefVal(bool bDrawFlag)
Definition: TrRndRenderSettings.h:311
OdTrRndRenderSettings::kStencilWriteBit4
@ kStencilWriteBit4
Definition: TrRndRenderSettings.h:245
OdTrRndRenderSettings::kDrawTextures
@ kDrawTextures
Definition: TrRndRenderSettings.h:110
OdUInt16
unsigned short OdUInt16
Definition: OdPlatformSettings.h:760
OdTrRndRenderSettings::setDifferentialTransition
void setDifferentialTransition(MultiPassType passType, const OdTrRndDifferentialTransitionPtr &pDifTrans)
Definition: TrRndRenderSettings.h:537
OdTrRndRenderSettings::IntegerProps
IntegerProps
Definition: TrRndRenderSettings.h:211
OdTrRndRenderSettings::resolveColor
const Color & resolveColor(const Color &clr) const
Definition: TrRndRenderSettings.h:652
OdTrRndRenderSettings::kStencilWriteBit1
@ kStencilWriteBit1
Definition: TrRndRenderSettings.h:245
OdTrRndRenderSettings::UIPropRange::m_limInt
OdInt32 m_limInt
Definition: TrRndRenderSettings.h:320
OdTrRndRenderSettings::UIDefVal::m_colorProp
struct OdTrRndRenderSettings::UIDefVal::ColorProp m_colorProp
OdTrRndRenderSettings::UIPropRange::m_limUInt
OdUInt32 m_limUInt
Definition: TrRndRenderSettings.h:321
OdTrRndRenderSettings::m_reactors
OdArray< OdTrRndRenderSettingsReactor *, OdMemoryAllocator< OdTrRndRenderSettingsReactor * > > m_reactors
Definition: TrRndRenderSettings.h:362
OdUInt32
unsigned int OdUInt32
Definition: OdPlatformSettings.h:783
OdTrRndRenderSettings::kDepthTest
@ kDepthTest
Definition: TrRndRenderSettings.h:133
OdTrRndRenderSettings::setDrawFlag
void setDrawFlag(OdUInt32 nFlag, OdTrRndRSUpdateReactor rsReact=kRSReactorDefault)
Definition: TrRndRenderSettings.h:411
OdTrRndRenderSettings::reactorDefault
OdTrRndRSUpdateReactor reactorDefault() const
OdTrRndRenderSettings::~OdTrRndRenderSettings
~OdTrRndRenderSettings()
Definition: TrRndRenderSettings.h:378
OdTrRndRenderSettings::kPerVertexLighting
@ kPerVertexLighting
Definition: TrRndRenderSettings.h:114
OdTrRndRenderSettings::kMultiPassOutputFX
@ kMultiPassOutputFX
Definition: TrRndRenderSettings.h:238
OdTrRndRenderSettings::m_nDrawFlags
BitSet< kNumFlagRegs > m_nDrawFlags
Definition: TrRndRenderSettings.h:353
OdTrRndRenderSettings::UIPropEntry::m_ranges
UIPropRanges m_ranges
Definition: TrRndRenderSettings.h:341
OdTrRndRenderSettings::kPropEdgesColor
@ kPropEdgesColor
Definition: TrRndRenderSettings.h:191
OdTrRndRenderSettings::kPropDrawFilter
@ kPropDrawFilter
Definition: TrRndRenderSettings.h:213
OdTrRndRenderSettings::kCreaseDrawBackEdgesWithCorners
@ kCreaseDrawBackEdgesWithCorners
Definition: TrRndRenderSettings.h:276
OdTrRndRenderSettingsStaticPtr
OdStaticDefSharedPtr< OdTrRndRenderSettings > OdTrRndRenderSettingsStaticPtr
Definition: TrRndRenderSettings.h:51
OdTrRndRenderSettings::kDisableColorOutput
@ kDisableColorOutput
Definition: TrRndRenderSettings.h:130
OdTrRndRenderSettings::kPropFacesOpacity
@ kPropFacesOpacity
Definition: TrRndRenderSettings.h:201
OdTrRndRenderSettingsManager::rsIsViewportRenderModeOverride
virtual bool rsIsViewportRenderModeOverride(OdUInt32 numViewport) const =0
OdTrRndRenderSettings::kNumColorProps
@ kNumColorProps
Definition: TrRndRenderSettings.h:195
OdTrVisGeomType_2dFacets
@ OdTrVisGeomType_2dFacets
Definition: TrVisMetafileStream.h:187
OdTrRndRenderSettings::UIDefVal::ColorProp::reset
void reset()
Definition: TrRndRenderSettings.h:305
OdTrRndRenderSettings::kPropEdgesCreaseFilter
@ kPropEdgesCreaseFilter
Definition: TrRndRenderSettings.h:219
OdTrRndRenderSettings::kShadingMaterial
@ kShadingMaterial
Definition: TrRndRenderSettings.h:117
OdTrRndRenderSettings::kDrawOrder
@ kDrawOrder
Definition: TrRndRenderSettings.h:104
kRSReactorDefault
@ kRSReactorDefault
Definition: TrRndRenderSettings.h:64
OdTrRndRenderSettings::UIPropRanges::UIPropRanges
UIPropRanges(float fltMin, float fltMax)
Definition: TrRndRenderSettings.h:329
OdTrRndRenderSettings::clearDrawFlags
void clearDrawFlags(OdTrRndRSUpdateReactor rsReact=kRSReactorDefault)
Definition: TrRndRenderSettings.h:442
OdTrRndRenderSettings::isFaceColorOverrideEnabled
bool isFaceColorOverrideEnabled() const
Definition: TrRndRenderSettings.h:577
OdTrRndRenderSettingsManager::kRSViewportPS
@ kRSViewportPS
Definition: TrRndRenderSettings.h:672
OdTrRndRenderSettings::kDepth3dTest
@ kDepth3dTest
Definition: TrRndRenderSettings.h:134
OdTrRndRenderSettings::kDrawSilhouettes
@ kDrawSilhouettes
Definition: TrRndRenderSettings.h:101
OdTrRndRenderSettings::kDrawRasterImages
@ kDrawRasterImages
Definition: TrRndRenderSettings.h:96
OdTrRndRenderSettings::kDepthGEqual
@ kDepthGEqual
Definition: TrRndRenderSettings.h:256
OdTrVisGeomType_IntersectionEdges
@ OdTrVisGeomType_IntersectionEdges
Definition: TrVisMetafileStream.h:199
OdTrRndRenderSettings::kStencilWriteBit3
@ kStencilWriteBit3
Definition: TrRndRenderSettings.h:245
OdTrRndRenderSettings::kColorForeground
@ kColorForeground
Definition: TrRndRenderSettings.h:171
OdTrRndRenderSettings::Color::Color
Color(ColorType colorType=kColorBackground, ODCOLORREF colorVal=ODRGBA(0, 0, 0, 255))
Definition: TrRndRenderSettings.h:179
OdTrRndRenderSettings::UIPropRange::UIPropRange
UIPropRange()
Definition: TrRndRenderSettings.h:322
OdTrRndRenderSettingsManager::kRSViewportVisible
@ kRSViewportVisible
Definition: TrRndRenderSettings.h:671
OdTrRndRenderSettings::kRSFlagsCopyMask
@ kRSFlagsCopyMask
Definition: TrRndRenderSettings.h:348
OdTrRndRenderSettings::kStencilWriteBit2
@ kStencilWriteBit2
Definition: TrRndRenderSettings.h:245
OdTrRndRenderSettings::UIDefVal::UIDefVal
UIDefVal()
Definition: TrRndRenderSettings.h:310
OdTrRndRenderSettings::creaseFlagEncode
static OdUInt32 creaseFlagEncode(CreaseFlags flags)
Definition: TrRndRenderSettings.h:279
OdTrRndRenderSettings::kPropEdgesWidth
@ kPropEdgesWidth
Definition: TrRndRenderSettings.h:217
OdTrRndRenderSettings::DepthFlags
DepthFlags
Definition: TrRndRenderSettings.h:254
OdTrRndRenderSettings::kPropEdgesOpacity
@ kPropEdgesOpacity
Definition: TrRndRenderSettings.h:204
OdTrRndRenderSettings::react
void react(OdTrRndRSUpdateReactor rsReact)
Definition: TrRndRenderSettings.h:616
OdTrRndRenderSettings::OdTrRndRenderSettings
OdTrRndRenderSettings(OdGsView::RenderMode initialRenderMode=OdGsView::k2DOptimized, OdTrRndRSUpdateReactor rsDefault=kRSCallReactor)
Definition: TrRndRenderSettings.h:364
OdTrRndRenderSettings::BitSet
Definition: TrRndRenderSettings.h:76
SETBIT_0
#define SETBIT_0(flags, bit)
Definition: OdaDefs.h:500
OdTrRndRenderSettings::kGoochLighting
@ kGoochLighting
Definition: TrRndRenderSettings.h:115
OdTrRndRenderSettings::load
bool load(OdGsFiler *pFiler)
OdTrRndRenderSettings::UIDefVal::ColorProp::m_colorVal
ODCOLORREF m_colorVal
Definition: TrRndRenderSettings.h:304
OdTrRndRenderSettings::kMultiPassInputFX
@ kMultiPassInputFX
Definition: TrRndRenderSettings.h:237
OdTrRndRenderSettings::setPropsDefault
void setPropsDefault(OdTrRndRSUpdateReactor rsReact=kRSReactorDefault)
OdTrRndRenderSettings::kNumIntegerProps
@ kNumIntegerProps
Definition: TrRndRenderSettings.h:230
OdTrRndRenderSettings::forceReactorUpdate
void forceReactorUpdate(OdTrRndRSUpdateReactor rsReact=kRSCallReactor)
Definition: TrRndRenderSettings.h:558
OdTrRndRenderSettings::isLightingEnabled
bool isLightingEnabled() const
Definition: TrRndRenderSettings.h:591
OdTrRndRenderSettings::kDraw3dFacetEdges
@ kDraw3dFacetEdges
Definition: TrRndRenderSettings.h:97
OdTrRndRenderSettingsManager::rsViewportSettings
virtual void rsViewportSettings(OdUInt32 numViewport, OdTrRndRenderSettingsPtr &rs) const =0
OdTrRndRenderSettings::BitSet::set
void set(OdUInt32 nFlag, bool bSet)
Definition: TrRndRenderSettings.h:86
OdTrRndRenderSettings::kCreaseBackEdges
@ kCreaseBackEdges
Definition: TrRndRenderSettings.h:267
OdTrRndRenderSettings::nextPass
const OdTrRndRenderSettings * nextPass(MultiPassType passType) const
Definition: TrRndRenderSettings.h:524
OdTrRndRenderSettings::kDraw2dFacetEdges
@ kDraw2dFacetEdges
Definition: TrRndRenderSettings.h:98
OdInt32
int OdInt32
Definition: OdPlatformSettings.h:782
OdTrRndRenderSettings::kNumFlagRegs
@ kNumFlagRegs
Definition: TrRndRenderSettings.h:137
OdTrVisGeomType_3dFacetEdges
@ OdTrVisGeomType_3dFacetEdges
Definition: TrVisMetafileStream.h:194
OdTrRndRenderSettings::kPropTypeGroup
@ kPropTypeGroup
Definition: TrRndRenderSettings.h:291
OdTrRndRenderSettings::setForRenderMode
void setForRenderMode(OdGsView::RenderMode rm, OdTrRndRSUpdateReactor rsReact=kRSReactorDefault)
OdTrRndRenderSettings::kPropEdgesOverhang
@ kPropEdgesOverhang
Definition: TrRndRenderSettings.h:221
OdTrRndRenderSettings::kColorTint
@ kColorTint
Definition: TrRndRenderSettings.h:172
OdTrVisGeomType_EdgesWithIsolines
@ OdTrVisGeomType_EdgesWithIsolines
Definition: TrVisMetafileStream.h:196
OdTrVisGeomType_2dFacetsNoFill
@ OdTrVisGeomType_2dFacetsNoFill
Definition: TrVisMetafileStream.h:188
OdTrRndRenderSettings::kDrawLighting
@ kDrawLighting
Definition: TrRndRenderSettings.h:107
OdTrRndRenderSettings::UIPropRange::m_limFlt
float m_limFlt
Definition: TrRndRenderSettings.h:319
OdTrRndRenderSettings::loadNextPass
bool loadNextPass(MultiPassType passType, OdGsFiler *pFiler)
OdTrRndRenderSettings::Color::m_colorType
ColorType m_colorType
Definition: TrRndRenderSettings.h:177
OdTrRndRenderSettings::BitSet::clear
void clear()
Definition: TrRndRenderSettings.h:82
OdTrRndRenderSettings::make_creaseFilter
static OdUInt32 make_creaseFilter(CreaseFlags frontLimit, CreaseFlags backLimit)
Definition: TrRndRenderSettings.h:283
OdTrRndRenderSettings::UIDefVal::UIDefVal
UIDefVal(ColorType colorType, ODCOLORREF colorVal=ODRGBA(0, 0, 0, 255))
Definition: TrRndRenderSettings.h:312
OdTrRndRenderSettings::kNumMultiPassTypes
@ kNumMultiPassTypes
Definition: TrRndRenderSettings.h:240
TrRndDifferentialTransition.h
OdTrRndRenderSettings::StencilFlags
StencilFlags
Definition: TrRndRenderSettings.h:244
OdTrRndRenderSettings::operator=
OdTrRndRenderSettings & operator=(const OdTrRndRenderSettings &rs)
OdTrRndRenderSettings::kEdgesJitter
@ kEdgesJitter
Definition: TrRndRenderSettings.h:127
OdTrRndRenderSettings::kMultiPassByObject
@ kMultiPassByObject
Definition: TrRndRenderSettings.h:235
OdTrRndRenderSettings::kDepthGreater
@ kDepthGreater
Definition: TrRndRenderSettings.h:255
OdTrRndRenderSettings::UIDefVal::m_floatProp
float m_floatProp
Definition: TrRndRenderSettings.h:307
OdTrRndRenderSettings::UIDefVal
Definition: TrRndRenderSettings.h:299
OdTrRndRenderSettings::kEdgesOpacity
@ kEdgesOpacity
Definition: TrRndRenderSettings.h:122
OdTrVisGeomType_3dFacets
@ OdTrVisGeomType_3dFacets
Definition: TrVisMetafileStream.h:189
OdTrRndRenderSettings::kStencilReadBit2
@ kStencilReadBit2
Definition: TrRndRenderSettings.h:249
OdTrRndRenderSettings::kPropTypeUInt
@ kPropTypeUInt
Definition: TrRndRenderSettings.h:296
OdTrRndRenderSettings::BitSet::m_flags
OdUInt8 m_flags[nElems]
Definition: TrRndRenderSettings.h:78
OdChar
wchar_t OdChar
Definition: OdPlatformSettings.h:745
OdTrRndRenderSettings::Color::m_colorVal
ODCOLORREF m_colorVal
Definition: TrRndRenderSettings.h:178
OdTrRndRenderSettings::kCreaseDrawBreakEdgesWithCorners
@ kCreaseDrawBreakEdgesWithCorners
Definition: TrRndRenderSettings.h:274
OdTrRndRenderSettings::reactImpl
void reactImpl()
OdTrRndRenderSettings::kOverrideEdgesLinetype
@ kOverrideEdgesLinetype
Definition: TrRndRenderSettings.h:121
OdTrRndRenderSettings::kStencilWriteOff
@ kStencilWriteOff
Definition: TrRndRenderSettings.h:246
OdTrRndRenderSettings::kDrawDefaultDisable
@ kDrawDefaultDisable
Definition: TrRndRenderSettings.h:102
OdTrRndRenderSettings::setValueU
void setValueU(IntegerProps nProp, OdUInt32 nVal, OdTrRndRSUpdateReactor rsReact=kRSReactorDefault)
Definition: TrRndRenderSettings.h:494
kTrRndNullRenderSettings
OdTrRndRenderSettingsStaticPtr kTrRndNullRenderSettings
OdTrRndRenderSettings::kOverrideEdgesWidth
@ kOverrideEdgesWidth
Definition: TrRndRenderSettings.h:120
OdStaticDefSharedPtr
Definition: TrVisStaticSharedPtr.h:65
OdTrRndRenderSettings
Definition: TrRndRenderSettings.h:73
OdTrRndRenderSettings::BitSet::getPtr
const OdUInt8 * getPtr() const
Definition: TrRndRenderSettings.h:83
OdTrRndRenderSettings::nextPassPtr
const OdTrRndRenderSettingsPtr & nextPassPtr(MultiPassType passType) const
Definition: TrRndRenderSettings.h:532
OdTrRndRenderSettings::ColorProps
ColorProps
Definition: TrRndRenderSettings.h:184
OdTrRndRenderSettings::RSFlags
RSFlags
Definition: TrRndRenderSettings.h:345
OdTrVisGeomType_RasterImageFacets
@ OdTrVisGeomType_RasterImageFacets
Definition: TrVisMetafileStream.h:191
OdTrRndRenderSettings::kStencilTestBit4
@ kStencilTestBit4
Definition: TrRndRenderSettings.h:247
OdTrRndRenderSettings::creaseFlagDecode
static CreaseFlags creaseFlagDecode(OdUInt32 flags)
Definition: TrRndRenderSettings.h:281
TD_PackPush.h
OdTrRndRenderSettingsManager::rsViewportId
virtual OdTrVisViewportId rsViewportId(OdUInt32 numViewport) const =0
OdTrRndRenderSettings::color
const Color & color(ColorProps nProp, bool bResolved=true) const
Definition: TrRndRenderSettings.h:459
OdTrRndRenderSettings::drawFlag
bool drawFlag(OdUInt32 nFlag) const
Definition: TrRndRenderSettings.h:407
OdTrRndRenderSettings::kEdgesCreaseFilter3d
@ kEdgesCreaseFilter3d
Definition: TrRndRenderSettings.h:124
OdTrRndRenderSettings::kStencilReadOff
@ kStencilReadOff
Definition: TrRndRenderSettings.h:250
OdTrRndRenderSettings::kEdgesCreaseFilter
@ kEdgesCreaseFilter
Definition: TrRndRenderSettings.h:123
OdTrRndRenderSettings::kMultiPassByScene
@ kMultiPassByScene
Definition: TrRndRenderSettings.h:236
OdTrRndRenderSettings::kCreaseDrawBreakEdgesOnly
@ kCreaseDrawBreakEdgesOnly
Definition: TrRndRenderSettings.h:275
OdTrRndRenderSettings::BitSet::BitSet
BitSet()
Definition: TrRndRenderSettings.h:80
OdTrRndRenderSettings::setDrawFlag
void setDrawFlag(OdUInt32 nFlag, bool bSet, OdTrRndRSUpdateReactor rsReact=kRSReactorDefault)
Definition: TrRndRenderSettings.h:421
OdTrRndRenderSettings::kStencil3dTest
@ kStencil3dTest
Definition: TrRndRenderSettings.h:132
OdTrRndRenderSettings::setLastPassCopy
void setLastPassCopy(MultiPassType passType, const OdTrRndRenderSettings *pNextPass, OdTrRndRSUpdateReactor rsReact=kRSReactorDefault)
OdTrRndRenderSettingsManager::rsApplyViewportRenderModeOverride
virtual void rsApplyViewportRenderModeOverride(OdUInt32 numViewport)=0
OdGsView::k2DOptimized
@ k2DOptimized
Definition: Gs.h:140
OdTrRndRenderSettings::BitSet::get
bool get(OdUInt32 nFlag) const
Definition: TrRndRenderSettings.h:87
OdTrRndRenderSettings::kPropStencil3dFlags
@ kPropStencil3dFlags
Definition: TrRndRenderSettings.h:226
OdTrRndRenderSettings::isRenderModeOverride
bool isRenderModeOverride() const
Definition: TrRndRenderSettings.h:385
OdTrRndRenderSettings::kStencilTestBit3
@ kStencilTestBit3
Definition: TrRndRenderSettings.h:247
OdTrRndRenderSettings::m_colorProps
Color m_colorProps[kNumColorProps]
Definition: TrRndRenderSettings.h:354
OdTrRndRenderSettings::kPropTypeInt
@ kPropTypeInt
Definition: TrRndRenderSettings.h:295
OdTrRndRenderSettings::kCreaseBreakEdges
@ kCreaseBreakEdges
Definition: TrRndRenderSettings.h:265
OdTrRndRenderSettings::kPropDepth3dFlags
@ kPropDepth3dFlags
Definition: TrRndRenderSettings.h:228
OdTrRndRenderSettings::FloatProps
FloatProps
Definition: TrRndRenderSettings.h:198
OdTrRndRenderSettings::kEdgesMultipass
@ kEdgesMultipass
Definition: TrRndRenderSettings.h:126
OdTrRndRenderSettings::kDepthReadOnly
@ kDepthReadOnly
Definition: TrRndRenderSettings.h:257
OdTrRndRenderSettings::renderMode
OdGsView::RenderMode renderMode() const
Definition: TrRndRenderSettings.h:396
OdTrRndRenderSettingsPtr
OdSharedPtr< OdTrRndRenderSettings > OdTrRndRenderSettingsPtr
Definition: TrRndRenderSettings.h:41
OdTrRndRenderSettings::kDepthAlways
@ kDepthAlways
Definition: TrRndRenderSettings.h:256
OdTrRndRenderSettings::UIPropEntry::m_nPropCode
OdUInt32 m_nPropCode
Definition: TrRndRenderSettings.h:336
OdTrRndRenderSettings::UIPropEntry
Definition: TrRndRenderSettings.h:334
OdTrRndRenderSettings::resetDifferentialTransition
void resetDifferentialTransition(MultiPassType passType)
Definition: TrRndRenderSettings.h:545
OdTrRndRenderSettings::hasNextPass
bool hasNextPass(MultiPassType passType) const
Definition: TrRndRenderSettings.h:516
OdTrRndRenderSettings::kColorNormal
@ kColorNormal
Definition: TrRndRenderSettings.h:169
OdTrRndRenderSettings::kDrawLineweights
@ kDrawLineweights
Definition: TrRndRenderSettings.h:106
OdTrRndRenderSettingsManager::rsSetViewportRenderModeOverride
virtual void rsSetViewportRenderModeOverride(OdUInt32 numViewport, bool bOverride)=0
OdTrRndRenderSettings::kPropBackgroundColor
@ kPropBackgroundColor
Definition: TrRndRenderSettings.h:186
OdTrRndRenderSettings::UIDefVal::ColorProp
Definition: TrRndRenderSettings.h:302
OdTrRndRenderSettings::UIPropEntry::m_propType
PropType m_propType
Definition: TrRndRenderSettings.h:335
OdTrRndRenderSettings::setLastPass
void setLastPass(MultiPassType passType, OdTrRndRenderSettings *pNextPass, OdTrRndRSUpdateReactor rsReact=kRSReactorDefault)
OdTrRndRenderSettingsManager::kRSViewportHelper
@ kRSViewportHelper
Definition: TrRndRenderSettings.h:674
OdTrRndRenderSettings::differentialTransition
const OdTrRndDifferentialTransitionPtr & differentialTransition(MultiPassType passType) const
Definition: TrRndRenderSettings.h:541
OdTrRndRenderSettings::kDepthNEqual
@ kDepthNEqual
Definition: TrRndRenderSettings.h:256
OdTrRndRenderSettings::kCreaseBackCorners
@ kCreaseBackCorners
Definition: TrRndRenderSettings.h:266
OdTrRndRenderSettings::Color
Definition: TrRndRenderSettings.h:176
OdTrRndRenderSettings::kPropTypeFloat
@ kPropTypeFloat
Definition: TrRndRenderSettings.h:294
OdTrRndRenderSettings::UIPropRanges::UIPropRanges
UIPropRanges(OdInt32 intMin, OdInt32 intMax)
Definition: TrRndRenderSettings.h:330
OdTrRndRenderSettings::kNumFloatProps
@ kNumFloatProps
Definition: TrRndRenderSettings.h:208
OdTrRndRenderSettings::setNextPass
void setNextPass(MultiPassType passType, OdTrRndRenderSettings *pNextPass, OdTrRndRSUpdateReactor rsReact=kRSReactorDefault)
Definition: TrRndRenderSettings.h:501
OdTrRndRenderSettings::CreaseFlags
CreaseFlags
Definition: TrRndRenderSettings.h:261
OdTrRndRenderSettings::isDefaultLighting
bool isDefaultLighting() const
Definition: TrRndRenderSettings.h:601
OdTrRndRenderSettings::isFaceNormalsEnabled
bool isFaceNormalsEnabled() const
Definition: TrRndRenderSettings.h:596
OdTrRndRenderSettings::nextPass
OdTrRndRenderSettings * nextPass(MultiPassType passType)
Definition: TrRndRenderSettings.h:520
OdTrRndRenderSettings::extendedPropsInfo
static OdUInt32 extendedPropsInfo(const UIPropEntry **ppEntries=NULL)
OdTrRndRenderSettings::kFaceNormals
@ kFaceNormals
Definition: TrRndRenderSettings.h:113
OdTrRndRenderSettingsReactor
Definition: TrRndRenderSettings.h:57
OdTrRndRenderSettings::UIDefVal::m_uintProp
OdUInt32 m_uintProp
Definition: TrRndRenderSettings.h:309
OdTrRndRenderSettings::kDepthFuncMask
@ kDepthFuncMask
Definition: TrRndRenderSettings.h:256
ODRGBA
#define ODRGBA(r, g, b, a)
Definition: OdPlatform.h:885
OdTrRndRenderSettings::MultiPassType
MultiPassType
Definition: TrRndRenderSettings.h:234
OdTrRndRenderSettings::get_creaseFilterFront
static CreaseFlags get_creaseFilterFront(OdUInt32 creaseFilter)
Definition: TrRndRenderSettings.h:286
ODCOLORREF
#define ODCOLORREF
Definition: OdPlatform.h:883
OdTrRndRenderSettings::kDrawFX
@ kDrawFX
Definition: TrRndRenderSettings.h:129
OdTrRndRenderSettings::kDepthLess
@ kDepthLess
Definition: TrRndRenderSettings.h:255
OdTrVisGeomType_Default
@ OdTrVisGeomType_Default
Definition: TrVisMetafileStream.h:185
OdTrRndRenderSettings::UIPropRanges::UIPropRanges
UIPropRanges()
Definition: TrRndRenderSettings.h:328
OdTrRndRenderSettings::kColorDesaturate
@ kColorDesaturate
Definition: TrRndRenderSettings.h:173
OdTrRndRenderSettings::kStencilReadBit4
@ kStencilReadBit4
Definition: TrRndRenderSettings.h:249
OdTrRndRenderSettings::m_intProps
OdInt32 m_intProps[kNumIntegerProps]
Definition: TrRndRenderSettings.h:356
OdTrRndRenderSettings::kStencilTest
@ kStencilTest
Definition: TrRndRenderSettings.h:131
OdTrRndRenderSettings::resetDrawFlags
void resetDrawFlags(const OdUInt32 *pFlags, OdUInt32 nFlags=kNumFlags, OdTrRndRSUpdateReactor rsReact=kRSReactorDefault)
Definition: TrRndRenderSettings.h:434
OdTrRndRenderSettings::kDrawIsolines
@ kDrawIsolines
Definition: TrRndRenderSettings.h:99
OdTrRndRenderSettings::BitSet::set
void set(OdUInt32 nFlag)
Definition: TrRndRenderSettings.h:84
OdTrRndRenderSettingsManager::~OdTrRndRenderSettingsManager
virtual ~OdTrRndRenderSettingsManager()
Definition: TrRndRenderSettings.h:678
OdTrRndRenderSettings::m_renderMode
OdGsView::RenderMode m_renderMode
Definition: TrRndRenderSettings.h:352
OdTrRndRenderSettings::value
float value(FloatProps nProp) const
Definition: TrRndRenderSettings.h:470
OdTrRndRenderSettings::BitSet::reset
void reset(OdUInt32 nFlag)
Definition: TrRndRenderSettings.h:85
OdTrRndRenderSettings::kPropEdgesLinetype
@ kPropEdgesLinetype
Definition: TrRndRenderSettings.h:218
OdTrRndRenderSettings::kDepthEqual
@ kDepthEqual
Definition: TrRndRenderSettings.h:255
OdTrRndRenderSettings::kStencilTestBit1
@ kStencilTestBit1
Definition: TrRndRenderSettings.h:247
OdTrRndRenderSettingsManager::rsNumViewports
virtual OdUInt32 rsNumViewports() const =0
OdTrRndRenderSettings::setDrawFlags
void setDrawFlags(const OdUInt32 *pFlags, OdUInt32 nFlags=kNumFlags, OdTrRndRSUpdateReactor rsReact=kRSReactorDefault)
Definition: TrRndRenderSettings.h:428
OdTrRndRenderSettings::is2dModeEnabled
bool is2dModeEnabled() const
Definition: TrRndRenderSettings.h:572
OdTrRndRenderSettings::kPropFacesSpecularPower
@ kPropFacesSpecularPower
Definition: TrRndRenderSettings.h:200
OdTrRndRenderSettings::valueU
OdUInt32 valueU(IntegerProps nProp) const
Definition: TrRndRenderSettings.h:485
OdTrRndRenderSettings::kStencilReadMask
@ kStencilReadMask
Definition: TrRndRenderSettings.h:250
OdTrRndRenderSettings::is3dFacesWithLinesEnabled
bool is3dFacesWithLinesEnabled() const
Definition: TrRndRenderSettings.h:582
OdSharedPtr::get
T * get()
Definition: SharedPtr.h:134
OdTrRndRenderSettings::addReactor
void addReactor(OdTrRndRenderSettingsReactor *pReactor)
OdGsFiler
Definition: GsFiler.h:63
OdTrRndRenderSettings::kStencilTestBit2
@ kStencilTestBit2
Definition: TrRndRenderSettings.h:247
OdTrRndRenderSettings::kDepthNever
@ kDepthNever
Definition: TrRndRenderSettings.h:255
OdTrRndRenderSettings::kNumFlags
@ kNumFlags
Definition: TrRndRenderSettings.h:136
OdTrRndRenderSettingsManager::kRSViewportOverall
@ kRSViewportOverall
Definition: TrRndRenderSettings.h:673
OdTrRndRenderSettings::UIPropEntry::m_defaultVal
UIDefVal m_defaultVal
Definition: TrRndRenderSettings.h:340
OdTrRndRenderSettings::UIDefVal::UIDefVal
UIDefVal(OdUInt32 uintProp)
Definition: TrRndRenderSettings.h:315
OdTrRndRenderSettings::kOverrideEdgesColor
@ kOverrideEdgesColor
Definition: TrRndRenderSettings.h:119
OdTrRndRenderSettings::UIPropRanges::m_min
UIPropRange m_min
Definition: TrRndRenderSettings.h:326
OdTrRndRenderSettings::m_pNextPass
OdTrRndRenderSettingsPtr m_pNextPass[kNumMultiPassTypes]
Definition: TrRndRenderSettings.h:358
OdTrVisGeomType
OdTrVisGeomType
Definition: TrVisMetafileStream.h:184
OdTrRndRenderSettings::ColorType
ColorType
Definition: TrRndRenderSettings.h:168
OdTrVisGeomType_HatchIsolineEdges
@ OdTrVisGeomType_HatchIsolineEdges
Definition: TrVisMetafileStream.h:197
OdTrRndRenderSettings::get_creaseFilterBack
static CreaseFlags get_creaseFilterBack(OdUInt32 creaseFilter)
Definition: TrRndRenderSettings.h:287
OdTrRndRenderSettings::UIDefVal::UIDefVal
UIDefVal(OdInt32 intProp)
Definition: TrRndRenderSettings.h:314
OdTrRndRenderSettingsReactor::renderSettingsChanged
virtual void renderSettingsChanged(OdTrRndRenderSettings *pRSets)=0
OdTrVisGeomType_2dFacetEdges
@ OdTrVisGeomType_2dFacetEdges
Definition: TrVisMetafileStream.h:193
OdTrRndRenderSettings::kPropEdgesCreaseFilter3d
@ kPropEdgesCreaseFilter3d
Definition: TrRndRenderSettings.h:220
OdTrRndRenderSettings::kPropForegroundColor
@ kPropForegroundColor
Definition: TrRndRenderSettings.h:187
OdUInt64
Definition: Int64.h:137
OdTrRndRenderSettings::m_rsFlags
OdUInt16 m_rsFlags
Definition: TrRndRenderSettings.h:351
OdTrRndRenderSettings::UIDefVal::m_drawFlag
bool m_drawFlag
Definition: TrRndRenderSettings.h:300
OdTrRndRenderSettingsManager::OdTrRndRenderSettingsManager
OdTrRndRenderSettingsManager()
Definition: TrRndRenderSettings.h:677
OdTrRndRenderSettings::setNextPassCopy
void setNextPassCopy(MultiPassType passType, const OdTrRndRenderSettings *pNextPass, OdTrRndRSUpdateReactor rsReact=kRSReactorDefault)
Definition: TrRndRenderSettings.h:506