CFx SDK Documentation  2020SP3
GiVisualStyleData.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 
24 #ifndef __ODGIVISUALSTYLEDATA_H__
25 #define __ODGIVISUALSTYLEDATA_H__
26 
27 #include "Gi/GiVisualStyle.h"
28 #include "StaticRxObject.h"
29 
30 #include "TD_PackPush.h"
31 
32 // OdGiVisualStyleDataContainer
33 
41 class OdGiVisualStyleDataContainer : public OdStaticRxObject<OdGiVisualStyle>
42 {
43  public:
50  {
52 
54 
60  void setBase(OdGiVariant *pVar) { m_pVar = pVar; }
61 
65  OdGiVariant *base() { return m_pVar; }
66 
70  OdCmEntityColor &entColor() { return const_cast<OdCmEntityColor&>(m_pVar->asColor()); }
71 
75  const OdCmEntityColor &entColor() const { return m_pVar->asColor(); }
76 
96 
118 
123  bool isByColor() const { return entColor().isByColor(); }
124 
129  bool isByLayer() const { return entColor().isByLayer(); }
130 
135  bool isByBlock() const { return entColor().isByBlock(); }
136 
144  bool isByACI() const { return entColor().isByACI(); }
145 
150  bool isForeground() const { return entColor().isForeground(); }
151 
156  bool isByDgnIndex() const { return entColor().isByDgnIndex(); }
157 
162  OdUInt32 color() const { return entColor().color(); }
163 
170 
179 
186 
193 
200 
204  OdUInt8 red() const { return entColor().red(); }
205 
209  OdUInt8 green() const { return entColor().green(); }
210 
214  OdUInt8 blue() const { return entColor().blue(); }
215 
237  OdUInt16 colorIndex() const { return entColor().colorIndex(); }
238 
266 #if 0
267  OdCmEntityColor m_entColor;
268 
269  OdCmColorBaseAdapt() : m_entColor() { }
271  OdCmColorBaseAdapt(const OdCmEntityColor &cColor) : m_entColor(cColor) { }
272  OdCmColorBaseAdapt(const OdCmColorBase &cColor) { m_entColor.setColor(cColor.color()); }
273  OdCmColorBaseAdapt(OdCmEntityColor::ColorMethod cm) : m_entColor(cm) { }
274 
293  OdCmEntityColor::ColorMethod colorMethod() const { return m_entColor.colorMethod(); }
294 
316 
321  bool isByColor() const { return m_entColor.isByColor(); }
322 
327  bool isByLayer() const { return m_entColor.isByLayer(); }
328 
333  bool isByBlock() const { return m_entColor.isByBlock(); }
334 
342  bool isByACI() const { return m_entColor.isByACI(); }
343 
348  bool isForeground() const { return m_entColor.isForeground(); }
349 
354  bool isByDgnIndex() const { return m_entColor.isByDgnIndex(); }
355 
360  OdUInt32 color() const { return m_entColor.color(); }
361 
367  void setColor(OdUInt32 color) { m_entColor.setColor(color); }
368 
376  void setRGB(OdUInt8 red, OdUInt8 green, OdUInt8 blue) { m_entColor.setRGB(red, green, blue); }
377 
383  void setRed(OdUInt8 red) { m_entColor.setRed(red); }
384 
390  void setGreen(OdUInt8 green) { m_entColor.setGreen(green); }
391 
397  void setBlue(OdUInt8 blue) { m_entColor.setBlue(blue); }
398 
402  OdUInt8 red() const { return m_entColor.red(); }
403 
407  OdUInt8 green() const { return m_entColor.green(); }
408 
412  OdUInt8 blue() const { return m_entColor.blue(); }
413 
435  OdUInt16 colorIndex() const { return m_entColor.colorIndex(); }
436 
464 #endif
465  // Unnecessary methods
466  bool setNames(const OdString& /*colorName*/, const OdString& /*bookName*/ = OdString::kEmpty) { return false; }
467  OdString colorName() const { return OdString::kEmpty; }
468  OdString bookName() const { return OdString::kEmpty; }
470  };
471 
472  // Style subclasses
473 
479  class OdGiFaceStyleDataContainer : public OdStaticRxObject<OdGiFaceStyle>
480  {
481  protected:
484  public:
486  : m_pBase(NULL)
487  {
488  }
490  {
491  }
492 
499  {
500  m_pBase = pBase;
502  }
503 
508  {
509  return m_pBase;
510  }
511 
518  {
520  }
521 
525  virtual LightingModel lightingModel() const
526  {
528  }
529 
536  {
538  }
539 
544  {
546  }
547 
553  virtual void setFaceColorMode(FaceColorMode mode)
554  {
556  }
557 
561  virtual FaceColorMode faceColorMode() const
562  {
564  }
565 
571  virtual void setFaceModifiers(unsigned long nModifiers)
572  {
574  }
575 
582  virtual void setFaceModifierFlag(FaceModifier flag, bool bEnable)
583  {
585  }
586 
590  virtual unsigned long faceModifiers() const
591  {
593  }
594 
600  virtual bool isFaceModifierFlagSet(FaceModifier flag) const
601  {
603  }
604 
611  virtual void setOpacityLevel(double nLevel, bool bEnableModifier)
612  {
614  if (bEnableModifier)
615  setFaceModifierFlag(kOpacity, bEnableModifier);
616  }
617 
621  virtual double opacityLevel() const
622  {
624  }
625 
632  virtual void setSpecularAmount(double nAmount, bool bEnableModifier)
633  {
635  if (bEnableModifier)
636  setFaceModifierFlag(kSpecular, bEnableModifier);
637  }
638 
642  virtual double specularAmount() const
643  {
645  }
646 
653  virtual void setMonoColor(const OdCmColorBase& color, bool bEnableMode)
654  {
656  if (bEnableMode)
658  }
659 
663  virtual const OdCmColorBase& monoColor() const
664  {
665  return m_cmMonoColor;
666  }
667 
672  {
673  return m_cmMonoColor;
674  }
675  };
676 
682  class OdGiEdgeStyleDataContainer : public OdStaticRxObject<OdGiEdgeStyle>
683  {
684  protected:
691  public:
693  : m_pBase(NULL)
695  {
696  }
698  {
699  }
700 
707  {
708  m_pBase = pBase;
713  }
714 
719  {
720  return m_pBase;
721  }
722 
728  virtual void setEdgeModel(EdgeModel model)
729  {
731  }
732 
737  virtual EdgeModel edgeModel() const
738  {
740  }
741 
747  virtual void setEdgeStyles(unsigned long nStyles)
748  {
750  }
751 
758  virtual void setEdgeStyleFlag(EdgeStyle flag, bool bEnable)
759  {
761  }
762 
766  virtual unsigned long edgeStyles() const
767  {
768  return (unsigned long)m_pBase->trait(OdGiVisualStyleProperties::kEdgeStyles)->asInt();
769  }
770 
776  virtual bool isEdgeStyleFlagSet(EdgeStyle flag) const
777  {
779  }
780 
786  virtual void setIntersectionColor(const OdCmColorBase& color)
787  {
789  }
790 
794  virtual const OdCmColorBase& intersectionColor() const
795  {
796  return m_cmIntColor;
797  }
798 
803  {
804  return m_cmIntColor;
805  }
806 
812  virtual void setObscuredColor(const OdCmColorBase& color)
813  {
815  }
816 
820  virtual const OdCmColorBase& obscuredColor() const
821  {
822  return m_cmObColor;
823  }
824 
829  {
830  return m_cmObColor;
831  }
832 
839  {
841  }
842 
846  virtual LineType obscuredLinetype() const
847  {
849  }
850 
857  {
859  }
860 
865  {
867  }
868 
874  virtual void setCreaseAngle(double nAngle)
875  {
877  }
878 
883  virtual double creaseAngle() const
884  {
886  }
887 
893  virtual void setEdgeModifiers(unsigned long nModifiers)
894  {
896  }
897 
904  virtual void setEdgeModifierFlag(EdgeModifier flag, bool bEnable)
905  {
907  }
908 
912  virtual unsigned long edgeModifiers() const
913  {
915  }
916 
922  virtual bool isEdgeModifierFlagSet(EdgeModifier flag) const
923  {
925  }
926 
933  virtual void setEdgeColor(const OdCmColorBase& color, bool bEnableModifier)
934  {
936  }
937 
941  virtual const OdCmColorBase& edgeColor() const
942  {
943  return m_cmEdgeColor;
944  }
945 
950  {
951  return m_cmEdgeColor;
952  }
953 
960  virtual void setOpacityLevel(double nLevel, bool bEnableModifier)
961  {
963  if (bEnableModifier)
964  setEdgeModifierFlag(kOpacity, bEnableModifier);
965  }
966 
970  virtual double opacityLevel() const
971  {
973  }
974 
981  virtual void setEdgeWidth(int nWidth, bool bEnableModifier)
982  {
984  if (bEnableModifier)
985  setEdgeModifierFlag(kWidth, bEnableModifier);
986  }
987 
991  virtual int edgeWidth() const
992  {
994  }
995 
1002  virtual void setOverhangAmount(int nAmount, bool bEnableModifier)
1003  {
1005  if (bEnableModifier)
1006  setEdgeModifierFlag(kOverhang, bEnableModifier);
1007  }
1008 
1012  virtual int overhangAmount() const
1013  {
1015  }
1016 
1023  virtual void setJitterAmount(JitterAmount amount, bool bEnableModifier)
1024  {
1026  if (bEnableModifier)
1027  setEdgeModifierFlag(kJitter, bEnableModifier);
1028  }
1029 
1033  virtual JitterAmount jitterAmount() const
1034  {
1036  }
1037 
1044  virtual void setWiggleAmount(WiggleAmount amount, bool bEnableModifier)
1045  {
1047  if (bEnableModifier)
1048  setEdgeModifierFlag(kWiggle, bEnableModifier);
1049  }
1050 
1054  virtual WiggleAmount wiggleAmount() const
1055  {
1057  }
1058 
1064  virtual void setSilhouetteColor(const OdCmColorBase& color)
1065  {
1067  }
1068 
1072  virtual const OdCmColorBase& silhouetteColor() const
1073  {
1074  return m_cmSilColor;
1075  }
1076 
1081  {
1082  return m_cmSilColor;
1083  }
1084 
1090  virtual void setSilhouetteWidth(short nWidth)
1091  {
1093  }
1094 
1098  virtual short silhouetteWidth() const
1099  {
1101  }
1102 
1109  virtual void setHaloGap(int nHaloGap, bool bEnableModifier)
1110  {
1112  if (bEnableModifier)
1113  setEdgeModifierFlag(kHaloGap, bEnableModifier);
1114  }
1115 
1119  virtual int haloGap() const
1120  {
1122  }
1123 
1129  virtual void setIsolines(unsigned short nIsolines)
1130  {
1132  }
1133 
1137  virtual unsigned short isolines() const
1138  {
1139  return (unsigned short)m_pBase->trait(OdGiVisualStyleProperties::kEdgeIsolines)->asInt();
1140  }
1141 
1147  virtual void setHidePrecision(bool bHidePrecision)
1148  {
1150  }
1151 
1155  virtual bool hidePrecision() const
1156  {
1158  }
1159 
1165  virtual void setEdgeStyleApply(EdgeStyleApply apply)
1166  {
1167  m_esApply = apply;
1168  }
1169 
1174  {
1175  return m_esApply;
1176  }
1177  };
1178 
1184  class OdGiDisplayStyleDataContainer : public OdStaticRxObject<OdGiDisplayStyle>
1185  {
1186  protected:
1188  public:
1190  : m_pBase(NULL)
1191  {
1192  }
1194  {
1195  }
1196 
1203  {
1204  m_pBase = pBase;
1205  }
1206 
1211  {
1212  return m_pBase;
1213  }
1214 
1220  virtual void setDisplaySettings(unsigned long nSettings)
1221  {
1223  }
1224 
1231  virtual void setDisplaySettingsFlag(DisplaySettings flag, bool bEnable)
1232  {
1234  }
1235 
1239  virtual unsigned long displaySettings() const
1240  {
1241  return (unsigned long)m_pBase->trait(OdGiVisualStyleProperties::kDisplayStyles)->asInt();
1242  }
1243 
1250  {
1252  }
1253 
1259  virtual void setBrightness(double value)
1260  {
1262  }
1263 
1267  virtual double brightness() const
1268  {
1270  }
1271 
1278  {
1280  }
1281 
1285  virtual ShadowType shadowType() const
1286  {
1288  }
1289  };
1290  protected:
1297  public:
1299  : m_faceStyle()
1300  , m_edgeStyle()
1301  , m_displayStyle()
1302  , m_type(kCustom)
1303  {
1304  // Setup redirections
1305  m_faceStyle.setBase(this);
1306  m_edgeStyle.setBase(this);
1307  m_displayStyle.setBase(this);
1308  // Face properties
1316  // Edge properties
1335  // Display properties
1339  // New in AC2011, 2013
1345  // New in 2013
1371  }
1373  {
1374  }
1375 
1380  {
1381  return m_faceStyle;
1382  }
1383 
1388  {
1389  return m_edgeStyle;
1390  }
1391 
1396  {
1397  return m_displayStyle;
1398  }
1399 
1403  virtual const OdGiFaceStyle& faceStyle() const
1404  {
1405  return m_faceStyle;
1406  }
1407 
1411  virtual const OdGiEdgeStyle& edgeStyle() const
1412  {
1413  return m_edgeStyle;
1414  }
1415 
1419  virtual const OdGiDisplayStyle& displayStyle() const
1420  {
1421  return m_displayStyle;
1422  }
1423 
1429  virtual void setFaceStyle(const OdGiFaceStyle& style)
1430  {
1431  m_faceStyle.set(style);
1432  }
1433 
1439  virtual void setEdgeStyle(const OdGiEdgeStyle& style)
1440  {
1441  m_edgeStyle.set(style);
1442  }
1443 
1449  virtual void setDisplayStyle(const OdGiDisplayStyle& style)
1450  {
1451  m_displayStyle.set(style);
1452  }
1453 
1454  // New interface
1455 
1464  virtual bool setType(Type type)
1465  {
1466  try
1467  {
1469  }
1470  catch (const OdError &)
1471  {
1472  return false;
1473  }
1474  m_type = type;
1475  return true;
1476  }
1477 
1481  virtual Type type() const
1482  {
1483  return m_type;
1484  }
1485 
1495  virtual bool setTrait(Property prop, Operation op)
1496  {
1498  {
1499  m_ops[prop] = op;
1500  return true;
1501  }
1502  return false;
1503  }
1504 
1515  virtual bool setTrait(Property prop, const OdGiVariant *pVal,
1517  {
1519  pVal && (pVal->type() == propertyType(prop)))
1520  {
1521  static_cast<OdGiVariant&>(m_props[prop]) = *pVal;
1522  m_ops[prop] = op;
1523  return true;
1524  }
1525  return false;
1526  }
1527 
1537  virtual OdGiVariantPtr trait(Property prop, Operation *pOp = NULL) const
1538  {
1540  {
1541  if (pOp)
1542  *pOp = m_ops[prop];
1543  return OdGiVariantPtr(m_props + prop);
1544  }
1545  return OdGiVariant::createObject();
1546  }
1547 
1556  virtual Operation operation(Property prop) const
1557  {
1559  {
1560  return m_ops[prop];
1561  }
1563  }
1564 };
1565 
1566 #include "TD_PackPop.h"
1567 
1568 #endif //__ODGIVISUALSTYLEDATA_H__
OdGiVisualStyleDataContainer::OdCmColorBaseAdapt::entColor
OdCmEntityColor & entColor()
Definition: GiVisualStyleData.h:70
OdGiVisualStyleDataContainer::OdCmColorBaseAdapt::colorMethod
OdCmEntityColor::ColorMethod colorMethod() const
Definition: GiVisualStyleData.h:95
OdCmEntityColor
Definition: CmColorBase.h:68
OdGiVisualStyleProperties::kEdgeObscuredColor
@ kEdgeObscuredColor
Definition: GiVisualStyle.h:752
OdCmEntityColor::setColorIndex
void setColorIndex(OdInt16 colorIndex)
Definition: CmColorBase.h:321
OdGiVisualStyleProperties::kBloomIntensity
@ kBloomIntensity
Definition: GiVisualStyle.h:799
OdGiVisualStyle::traitFlag
virtual bool traitFlag(Property flagProp, OdUInt32 flagVal) const
OdGiEdgeStyle::set
void set(const OdGiEdgeStyle &style)
OdGiVisualStyleProperties::kPencilEffect
@ kPencilEffect
Definition: GiVisualStyle.h:783
OdGiVisualStyleDataContainer::OdGiFaceStyleDataContainer::lightingModel
virtual LightingModel lightingModel() const
Definition: GiVisualStyleData.h:525
OdString
Definition: OdString.h:95
OdGiVisualStyleDataContainer::OdGiDisplayStyleDataContainer::setDisplaySettingsFlag
virtual void setDisplaySettingsFlag(DisplaySettings flag, bool bEnable)
Definition: GiVisualStyleData.h:1231
OdGiVisualStyleDataContainer::OdGiEdgeStyleDataContainer::opacityLevel
virtual double opacityLevel() const
Definition: GiVisualStyleData.h:970
NULL
#define NULL
Definition: GsProperties.h:177
OdGiVisualStyleDataContainer::OdGiEdgeStyleDataContainer::edgeWidth
virtual int edgeWidth() const
Definition: GiVisualStyleData.h:991
OdGiVisualStyleDataContainer::OdGiEdgeStyleDataContainer::setEdgeStyleFlag
virtual void setEdgeStyleFlag(EdgeStyle flag, bool bEnable)
Definition: GiVisualStyleData.h:758
OdGiVisualStyleDataContainer::OdCmColorBaseAdapt::base
OdGiVariant * base()
Definition: GiVisualStyleData.h:65
OdGiVisualStyleDataContainer::OdGiEdgeStyleDataContainer::setOverhangAmount
virtual void setOverhangAmount(int nAmount, bool bEnableModifier)
Definition: GiVisualStyleData.h:1002
OdGiVisualStyleDataContainer::OdGiEdgeStyleDataContainer::edgeModel
virtual EdgeModel edgeModel() const
Definition: GiVisualStyleData.h:737
OdGiVisualStyle::Operation
OdGiVisualStyleOperations::Operation Operation
Definition: GiVisualStyle.h:1112
OdGiVisualStyleProperties::kFaceSpecular
@ kFaceSpecular
Definition: GiVisualStyle.h:744
OdGiVisualStyleDataContainer::OdGiEdgeStyleDataContainer::OdGiEdgeStyleDataContainer
OdGiEdgeStyleDataContainer()
Definition: GiVisualStyleData.h:692
OdGiVisualStyleDataContainer::m_ops
Operation m_ops[OdGiVisualStyleProperties::kPropertyCount]
Definition: GiVisualStyleData.h:1296
OdGiVisualStyleDataContainer::OdGiEdgeStyleDataContainer::setEdgeWidth
virtual void setEdgeWidth(int nWidth, bool bEnableModifier)
Definition: GiVisualStyleData.h:981
OdUInt8
unsigned char OdUInt8
Definition: OdPlatformSettings.h:759
OdGiFaceStyle
Definition: GiVisualStyle.h:41
OdCmEntityColor::colorMethod
ColorMethod colorMethod() const
Definition: CmColorBase.h:251
OdGiVisualStyleProperties::kPencilColor
@ kPencilColor
Definition: GiVisualStyle.h:790
OdGiVisualStyle::setTrait
virtual bool setTrait(Property prop, Operation op)=0
OdGiVisualStyleDataContainer::OdCmColorBaseAdapt
Definition: GiVisualStyleData.h:50
OdCmEntityColor::setBlue
void setBlue(OdUInt8 blue)
Definition: CmColorBase.h:427
OdGiVisualStyleProperties::kFaceMonoColor
@ kFaceMonoColor
Definition: GiVisualStyle.h:745
OdGiVisualStyleDataContainer::m_edgeStyle
OdGiEdgeStyleDataContainer m_edgeStyle
Definition: GiVisualStyleData.h:1292
OdGiVisualStyleDataContainer::OdCmColorBaseAdapt::isByACI
bool isByACI() const
Definition: GiVisualStyleData.h:144
OdGiVisualStyleDataContainer::OdGiEdgeStyleDataContainer::setSilhouetteWidth
virtual void setSilhouetteWidth(short nWidth)
Definition: GiVisualStyleData.h:1090
OdGiVisualStyleDataContainer::m_displayStyle
OdGiDisplayStyleDataContainer m_displayStyle
Definition: GiVisualStyleData.h:1293
OdGiVisualStyleProperties::kDisplayBrightness
@ kDisplayBrightness
Definition: GiVisualStyle.h:771
OdGiVisualStyleProperties::kFocusDistance
@ kFocusDistance
Definition: GiVisualStyle.h:805
OdGiVisualStyleDataContainer::OdGiDisplayStyleDataContainer::displaySettings
virtual unsigned long displaySettings() const
Definition: GiVisualStyleData.h:1239
OdGiVisualStyleProperties::kLightingEnabled
@ kLightingEnabled
Definition: GiVisualStyle.h:777
OdGiEdgeStyle::EdgeModel
EdgeModel
Definition: GiVisualStyle.h:228
OdGiEdgeStyle::LineType
LineType
Definition: GiVisualStyle.h:288
OdGiVisualStyleProperties::kEdgeJitterAmount
@ kEdgeJitterAmount
Definition: GiVisualStyle.h:761
OdGiVisualStyleProperties::kTintColor
@ kTintColor
Definition: GiVisualStyle.h:793
OdGiVisualStyleProperties::kBloomRadius
@ kBloomRadius
Definition: GiVisualStyle.h:792
OdGiVisualStyleDataContainer::OdGiFaceStyleDataContainer::faceModifiers
virtual unsigned long faceModifiers() const
Definition: GiVisualStyleData.h:590
OdGiDisplayStyle::set
void set(const OdGiDisplayStyle &style)
type
GLuint GLsizei GLsizei GLint GLenum * type
Definition: gles2_ext.h:274
OdGiVisualStyleDataContainer::OdGiFaceStyleDataContainer::OdGiFaceStyleDataContainer
OdGiFaceStyleDataContainer()
Definition: GiVisualStyleData.h:485
OdGiVisualStyleDataContainer::OdGiEdgeStyleDataContainer::silhouetteColor
virtual OdCmColorBase & silhouetteColor()
Definition: GiVisualStyleData.h:1080
OdGiVisualStyleProperties::kFaceColorMode
@ kFaceColorMode
Definition: GiVisualStyle.h:741
OdGiVisualStyleProperties::kColor
@ kColor
Definition: GiVisualStyle.h:800
OdGiVisualStyleDataContainer::OdGiFaceStyleDataContainer::m_cmMonoColor
OdCmColorBaseAdapt m_cmMonoColor
Definition: GiVisualStyleData.h:483
OdGiVisualStyleDataContainer::OdGiEdgeStyleDataContainer::setEdgeColor
virtual void setEdgeColor(const OdCmColorBase &color, bool bEnableModifier)
Definition: GiVisualStyleData.h:933
OdGiVisualStyleProperties::kIsolines
@ kIsolines
Definition: GiVisualStyle.h:873
OdCmEntityColor::isByDgnIndex
bool isByDgnIndex() const
Definition: CmColorBase.h:543
green
GLfloat green
Definition: gles2_ext.h:147
OdGiDisplayStyle::ShadowType
ShadowType
Definition: GiVisualStyle.h:650
OdGiVisualStyleProperties::kEdgeWiggleAmount
@ kEdgeWiggleAmount
Definition: GiVisualStyle.h:802
OdGiVisualStyleProperties::kMonoEffect
@ kMonoEffect
Definition: GiVisualStyle.h:779
OdGiVisualStyleDataContainer::OdCmColorBaseAdapt::OdCmColorBaseAdapt
OdCmColorBaseAdapt()
Definition: GiVisualStyleData.h:53
OdGiVisualStyleDataContainer::operation
virtual Operation operation(Property prop) const
Definition: GiVisualStyleData.h:1556
OdGiVisualStyleProperties::kEdgeModel
@ kEdgeModel
Definition: GiVisualStyle.h:749
OdGiVisualStyleDataContainer::OdGiEdgeStyleDataContainer::m_esApply
EdgeStyleApply m_esApply
Definition: GiVisualStyleData.h:690
OdGiVisualStyleProperties::kShadowsNone
@ kShadowsNone
Definition: GiVisualStyle.h:965
blue
GLfloat GLfloat blue
Definition: gles2_ext.h:147
OdGiVisualStyleDataContainer::OdGiEdgeStyleDataContainer::overhangAmount
virtual int overhangAmount() const
Definition: GiVisualStyleData.h:1012
OdGiVisualStyleDataContainer::OdCmColorBaseAdapt::isByLayer
bool isByLayer() const
Definition: GiVisualStyleData.h:129
OdGiVisualStyleProperties::kPropertyCount
@ kPropertyCount
Definition: GiVisualStyle.h:808
OdGiVisualStyleDataContainer::OdCmColorBaseAdapt::setRed
void setRed(OdUInt8 red)
Definition: GiVisualStyleData.h:185
OdGiVisualStyleDataContainer::OdGiDisplayStyleDataContainer::~OdGiDisplayStyleDataContainer
~OdGiDisplayStyleDataContainer()
Definition: GiVisualStyleData.h:1193
OdGiVisualStyleProperties::kNoFaceModifiers
@ kNoFaceModifiers
Definition: GiVisualStyle.h:858
OdGiVisualStyleProperties::kEdgeSilhouetteColor
@ kEdgeSilhouetteColor
Definition: GiVisualStyle.h:762
OdGiVisualStyleDataContainer::OdGiEdgeStyleDataContainer::isEdgeModifierFlagSet
virtual bool isEdgeModifierFlagSet(EdgeModifier flag) const
Definition: GiVisualStyleData.h:922
OdGiVisualStyleProperties::kSolid
@ kSolid
Definition: GiVisualStyle.h:932
OdGiVisualStyleProperties::kDisplayStyles
@ kDisplayStyles
Definition: GiVisualStyle.h:770
OdGiVisualStyleProperties::kDisplayShadowType
@ kDisplayShadowType
Definition: GiVisualStyle.h:772
OdGiVisualStyleDataContainer::setType
virtual bool setType(Type type)
Definition: GiVisualStyleData.h:1464
OdGiVariant::type
VariantType type() const
OdGiVisualStyleDataContainer::OdGiEdgeStyleDataContainer::setSilhouetteColor
virtual void setSilhouetteColor(const OdCmColorBase &color)
Definition: GiVisualStyleData.h:1064
OdGiVisualStyleDataContainer::OdGiEdgeStyleDataContainer::setObscuredLinetype
virtual void setObscuredLinetype(LineType ltype)
Definition: GiVisualStyleData.h:838
OdGiVisualStyleDataContainer::OdGiEdgeStyleDataContainer::setIsolines
virtual void setIsolines(unsigned short nIsolines)
Definition: GiVisualStyleData.h:1129
OdGiVisualStyleDataContainer::OdCmColorBaseAdapt::isByDgnIndex
bool isByDgnIndex() const
Definition: GiVisualStyleData.h:156
OdGiVisualStyleDataContainer::OdGiEdgeStyleDataContainer::base
OdGiVisualStyle * base() const
Definition: GiVisualStyleData.h:718
OdGiEdgeStyle::EdgeModifier
EdgeModifier
Definition: GiVisualStyle.h:250
OdGiVisualStyleDataContainer::OdGiEdgeStyleDataContainer::jitterAmount
virtual JitterAmount jitterAmount() const
Definition: GiVisualStyleData.h:1033
TD_PackPop.h
ltype
ltype
Definition: DimVarDefs.h:2949
OdGiVisualStyleProperties::kDepthOfField
@ kDepthOfField
Definition: GiVisualStyle.h:804
OdGiVisualStyleProperties::kPastelEffect
@ kPastelEffect
Definition: GiVisualStyle.h:785
OdCmEntityColor::setColor
void setColor(OdUInt32 color)
OdGiVisualStyleDataContainer::OdGiEdgeStyleDataContainer::edgeStyleApply
virtual EdgeStyleApply edgeStyleApply() const
Definition: GiVisualStyleData.h:1173
OdGiVisualStyleProperties::kPencilScale
@ kPencilScale
Definition: GiVisualStyle.h:788
OdGiVariant::asColor
const OdCmEntityColor & asColor() const
OdUInt16
unsigned short OdUInt16
Definition: OdPlatformSettings.h:760
OdGiVisualStyleDataContainer::OdGiDisplayStyleDataContainer::setShadowType
virtual void setShadowType(ShadowType type)
Definition: GiVisualStyleData.h:1277
OdCmColorBase
Definition: CmColorBase.h:1204
OdGiVisualStyleDataContainer::OdCmColorBaseAdapt::m_pVar
OdGiVariant * m_pVar
Definition: GiVisualStyleData.h:51
OdGiVisualStyleProperties::kPostBrightness
@ kPostBrightness
Definition: GiVisualStyle.h:796
OdGiVisualStyleProperties::kInvalidProperty
@ kInvalidProperty
Definition: GiVisualStyle.h:735
OdGiVisualStyleDataContainer::trait
virtual OdGiVariantPtr trait(Property prop, Operation *pOp=NULL) const
Definition: GiVisualStyleData.h:1537
OdGiVisualStyleDataContainer::OdGiDisplayStyleDataContainer::brightness
virtual double brightness() const
Definition: GiVisualStyleData.h:1267
OdGiVisualStyleProperties::kPostContrast
@ kPostContrast
Definition: GiVisualStyle.h:795
OdGiVisualStyleProperties::kEdgeColorFlag
@ kEdgeColorFlag
Definition: GiVisualStyle.h:898
OdGiVisualStyleDataContainer::OdGiFaceStyleDataContainer::base
OdGiVisualStyle * base() const
Definition: GiVisualStyleData.h:507
OdGiVisualStyleDataContainer
Definition: GiVisualStyleData.h:42
OdCmEntityColor::isByBlock
bool isByBlock() const
Definition: CmColorBase.h:502
OdCmEntityColor::green
OdUInt8 green() const
Definition: CmColorBase.h:450
OdUInt32
unsigned int OdUInt32
Definition: OdPlatformSettings.h:783
OdGiVisualStyleOperations::kSet
@ kSet
Definition: GiVisualStyle.h:983
OdCmEntityColor::isForeground
bool isForeground() const
Definition: CmColorBase.h:531
OdGiFaceStyle::LightingQuality
LightingQuality
Definition: GiVisualStyle.h:60
OdGiVisualStyleDataContainer::OdGiEdgeStyleDataContainer::m_cmIntColor
OdCmColorBaseAdapt m_cmIntColor
Definition: GiVisualStyleData.h:686
OdGiVisualStyleProperties::kFaceLightingModel
@ kFaceLightingModel
Definition: GiVisualStyle.h:739
OdGiVisualStyleDataContainer::OdCmColorBaseAdapt::setBlue
void setBlue(OdUInt8 blue)
Definition: GiVisualStyleData.h:199
OdCmEntityColor::setGreen
void setGreen(OdUInt8 green)
Definition: CmColorBase.h:411
OdGiVariant
Definition: GiVariant.h:47
OD_T
#define OD_T(x)
Definition: OdPlatformSettings.h:714
OdGiVisualStyleDataContainer::OdGiFaceStyleDataContainer::setFaceColorMode
virtual void setFaceColorMode(FaceColorMode mode)
Definition: GiVisualStyleData.h:553
OdCmColorBase::color
virtual OdUInt32 color() const =0
OdGiVisualStyleDataContainer::OdCmColorBaseAdapt::colorNameForDisplay
OdString colorNameForDisplay() const
Definition: GiVisualStyleData.h:469
OdGiVisualStyleDataContainer::OdGiFaceStyleDataContainer
Definition: GiVisualStyleData.h:480
OdGiVisualStyleDataContainer::setEdgeStyle
virtual void setEdgeStyle(const OdGiEdgeStyle &style)
Definition: GiVisualStyleData.h:1439
OdGiVisualStyleDataContainer::OdGiFaceStyleDataContainer::lightingQuality
virtual LightingQuality lightingQuality() const
Definition: GiVisualStyleData.h:543
OdGiVisualStyleDataContainer::OdGiDisplayStyleDataContainer::setBrightness
virtual void setBrightness(double value)
Definition: GiVisualStyleData.h:1259
OdGiVisualStyleProperties::kEdgeCreaseAngle
@ kEdgeCreaseAngle
Definition: GiVisualStyle.h:755
OdCmEntityColor::red
OdUInt8 red() const
Definition: CmColorBase.h:439
OdGiVisualStyleDataContainer::setTrait
virtual bool setTrait(Property prop, const OdGiVariant *pVal, Operation op=OdGiVisualStyleOperations::kSet)
Definition: GiVisualStyleData.h:1515
OdGiVisualStyleDataContainer::OdGiFaceStyleDataContainer::monoColor
virtual OdCmColorBase & monoColor()
Definition: GiVisualStyleData.h:671
OdGiVisualStyleDataContainer::OdGiFaceStyleDataContainer::setSpecularAmount
virtual void setSpecularAmount(double nAmount, bool bEnableModifier)
Definition: GiVisualStyleData.h:632
OdGiVisualStyleDataContainer::OdGiEdgeStyleDataContainer::isolines
virtual unsigned short isolines() const
Definition: GiVisualStyleData.h:1137
OdGiVisualStyleDataContainer::OdGiFaceStyleDataContainer::opacityLevel
virtual double opacityLevel() const
Definition: GiVisualStyleData.h:621
OdGiVisualStyleProperties::kFocusWidth
@ kFocusWidth
Definition: GiVisualStyle.h:806
OdGiVisualStyleDataContainer::faceStyle
virtual const OdGiFaceStyle & faceStyle() const
Definition: GiVisualStyleData.h:1403
OdGiVisualStyleDataContainer::OdCmColorBaseAdapt::red
OdUInt8 red() const
Definition: GiVisualStyleData.h:204
OdGiVisualStyleDataContainer::OdGiEdgeStyleDataContainer::intersectionColor
virtual OdCmColorBase & intersectionColor()
Definition: GiVisualStyleData.h:802
OdGiEdgeStyle::kOverhang
@ kOverhang
Definition: GiVisualStyle.h:252
OdGiVisualStyleDataContainer::OdGiEdgeStyleDataContainer::setEdgeModifierFlag
virtual void setEdgeModifierFlag(EdgeModifier flag, bool bEnable)
Definition: GiVisualStyleData.h:904
OdGiVisualStyleDataContainer::OdGiEdgeStyleDataContainer::m_cmEdgeColor
OdCmColorBaseAdapt m_cmEdgeColor
Definition: GiVisualStyleData.h:688
OdString
OdString OdString
Definition: OdString.h:1224
OdCmEntityColor::isByACI
bool isByACI() const
Definition: CmColorBase.h:518
OdGiVariant::asInt
OdInt32 asInt() const
OdSmartPtr< OdGiVariant >
OdGiVisualStyleDataContainer::edgeStyle
virtual const OdGiEdgeStyle & edgeStyle() const
Definition: GiVisualStyleData.h:1411
OdGiEdgeStyle::WiggleAmount
WiggleAmount
Definition: GiVisualStyle.h:278
OdGiVisualStyleProperties::kEdgeOpacity
@ kEdgeOpacity
Definition: GiVisualStyle.h:758
OdGiVisualStyleDataContainer::OdGiEdgeStyleDataContainer::setHidePrecision
virtual void setHidePrecision(bool bHidePrecision)
Definition: GiVisualStyleData.h:1147
OdGiVisualStyle
Definition: GiVisualStyle.h:996
OdGiVisualStyleProperties::kWiggleMedium
@ kWiggleMedium
Definition: GiVisualStyle.h:923
OdGiVisualStyleProperties::kBloomEffect
@ kBloomEffect
Definition: GiVisualStyle.h:784
OdGiVisualStyleProperties::kEdgeSilhouetteWidth
@ kEdgeSilhouetteWidth
Definition: GiVisualStyle.h:763
OdGiVisualStyleDataContainer::OdGiVisualStyleDataContainer
OdGiVisualStyleDataContainer()
Definition: GiVisualStyleData.h:1298
OdInt32
int OdInt32
Definition: OdPlatformSettings.h:782
OdGiVisualStyleDataContainer::OdCmColorBaseAdapt::colorIndex
OdUInt16 colorIndex() const
Definition: GiVisualStyleData.h:237
OdGiEdgeStyle::kWiggle
@ kWiggle
Definition: GiVisualStyle.h:260
OdCmEntityColor::setRed
void setRed(OdUInt8 red)
Definition: CmColorBase.h:395
OdGiVisualStyleDataContainer::OdGiFaceStyleDataContainer::m_pBase
OdGiVisualStyle * m_pBase
Definition: GiVisualStyleData.h:482
OdGiVisualStyleOperations::kInvalidOperation
@ kInvalidOperation
Definition: GiVisualStyle.h:981
OdGiVariantPtr
OdSmartPtr< OdGiVariant > OdGiVariantPtr
Definition: GiVariant.h:374
OdCmEntityColor::blue
OdUInt8 blue() const
Definition: CmColorBase.h:461
OdGiVisualStyle::propertyType
static OdGiVariant::VariantType propertyType(Property prop)
OdGiVisualStyleProperties::kEdgeHaloGap
@ kEdgeHaloGap
Definition: GiVisualStyle.h:764
OdGiVisualStyle::kCustom
@ kCustom
Definition: GiVisualStyle.h:1015
OdSmartPtr::get
const T * get() const
Definition: SmartPtr.h:326
OdGiVisualStyleProperties::kBlurEffect
@ kBlurEffect
Definition: GiVisualStyle.h:782
OdGiVisualStyleProperties::kEdgeModifiers
@ kEdgeModifiers
Definition: GiVisualStyle.h:756
OdGiVisualStyleDataContainer::edgeStyle
virtual OdGiEdgeStyle & edgeStyle()
Definition: GiVisualStyleData.h:1387
OdGiVisualStyleDataContainer::~OdGiVisualStyleDataContainer
~OdGiVisualStyleDataContainer()
Definition: GiVisualStyleData.h:1372
OdGiVisualStyleDataContainer::OdGiEdgeStyleDataContainer::obscuredColor
virtual const OdCmColorBase & obscuredColor() const
Definition: GiVisualStyleData.h:820
OdCmEntityColor::kNone
@ kNone
Definition: CmColorBase.h:98
OdGiVisualStyleDataContainer::OdCmColorBaseAdapt::isByColor
bool isByColor() const
Definition: GiVisualStyleData.h:123
OdGiEdgeStyle::kWidth
@ kWidth
Definition: GiVisualStyle.h:254
OdGiVariant::asDouble
double asDouble() const
OdGiVisualStyleDataContainer::OdGiFaceStyleDataContainer::specularAmount
virtual double specularAmount() const
Definition: GiVisualStyleData.h:642
OdGiVisualStyle::trait
virtual OdGiVariantPtr trait(Property prop, Operation *pOp=NULL) const =0
OdGiVisualStyleDataContainer::OdGiFaceStyleDataContainer::setMonoColor
virtual void setMonoColor(const OdCmColorBase &color, bool bEnableMode)
Definition: GiVisualStyleData.h:653
OdGiVisualStyleDataContainer::OdCmColorBaseAdapt::isForeground
bool isForeground() const
Definition: GiVisualStyleData.h:150
OdGiVisualStyleDataContainer::OdGiDisplayStyleDataContainer
Definition: GiVisualStyleData.h:1185
OdGiFaceStyle::kMono
@ kMono
Definition: GiVisualStyle.h:75
OdCmEntityColor::setColorMethod
void setColorMethod(ColorMethod colorMethod)
Definition: CmColorBase.h:221
OdCmEntityColor::colorIndex
OdInt16 colorIndex() const
Definition: CmColorBase.h:356
OdGiVisualStyleDataContainer::OdGiFaceStyleDataContainer::setFaceModifiers
virtual void setFaceModifiers(unsigned long nModifiers)
Definition: GiVisualStyleData.h:571
OdGiVisualStyleProperties::kNoColorMode
@ kNoColorMode
Definition: GiVisualStyle.h:844
OdGiVisualStyleDataContainer::OdGiEdgeStyleDataContainer::hidePrecision
virtual bool hidePrecision() const
Definition: GiVisualStyleData.h:1155
OdGiVisualStyleDataContainer::OdGiFaceStyleDataContainer::setLightingQuality
virtual void setLightingQuality(LightingQuality lightingQuality)
Definition: GiVisualStyleData.h:535
OdGiVisualStyleDataContainer::OdGiDisplayStyleDataContainer::OdGiDisplayStyleDataContainer
OdGiDisplayStyleDataContainer()
Definition: GiVisualStyleData.h:1189
OdGiVisualStyleDataContainer::faceStyle
virtual OdGiFaceStyle & faceStyle()
Definition: GiVisualStyleData.h:1379
OdGiVisualStyleProperties::Property
Property
Definition: GiVisualStyle.h:734
OdGiDisplayStyle::DisplaySettings
DisplaySettings
Definition: GiVisualStyle.h:638
OdGiVisualStyleProperties::kBlurAmount
@ kBlurAmount
Definition: GiVisualStyle.h:786
OdGiVisualStyleDataContainer::m_props
OdStaticRxObject< OdGiVariant > m_props[OdGiVisualStyleProperties::kPropertyCount]
Definition: GiVisualStyleData.h:1295
TD_PackPush.h
OdGiVariant::asBoolean
bool asBoolean() const
OdGiVariant::set
void set(bool value)
StaticRxObject.h
OdGiVisualStyleDataContainer::OdGiEdgeStyleDataContainer::edgeColor
virtual OdCmColorBase & edgeColor()
Definition: GiVisualStyleData.h:949
OdGiVisualStyleDataContainer::OdGiEdgeStyleDataContainer::creaseAngle
virtual double creaseAngle() const
Definition: GiVisualStyleData.h:883
OdGiVisualStyleDataContainer::OdGiDisplayStyleDataContainer::isDisplaySettingsFlagSet
virtual bool isDisplaySettingsFlagSet(DisplaySettings flag) const
Definition: GiVisualStyleData.h:1249
GiVisualStyle.h
OdGiVisualStyleDataContainer::OdGiDisplayStyleDataContainer::setBase
void setBase(OdGiVisualStyle *pBase)
Definition: GiVisualStyleData.h:1202
OdGiVisualStyleDataContainer::OdGiFaceStyleDataContainer::isFaceModifierFlagSet
virtual bool isFaceModifierFlagSet(FaceModifier flag) const
Definition: GiVisualStyleData.h:600
OdGiVisualStyleProperties::kTintEffect
@ kTintEffect
Definition: GiVisualStyle.h:798
OdGiVisualStyleDataContainer::OdCmColorBaseAdapt::setNames
bool setNames(const OdString &, const OdString &=OdString::kEmpty)
Definition: GiVisualStyleData.h:466
OdGiFaceStyle::FaceColorMode
FaceColorMode
Definition: GiVisualStyle.h:71
OdGiVisualStyleDataContainer::OdCmColorBaseAdapt::isByBlock
bool isByBlock() const
Definition: GiVisualStyleData.h:135
OdGiVisualStyleDataContainer::type
virtual Type type() const
Definition: GiVisualStyleData.h:1481
OdGiVisualStyleDataContainer::OdCmColorBaseAdapt::colorName
OdString colorName() const
Definition: GiVisualStyleData.h:467
OdGiVisualStyleDataContainer::setFaceStyle
virtual void setFaceStyle(const OdGiFaceStyle &style)
Definition: GiVisualStyleData.h:1429
OdGiVisualStyleProperties::kPencilPattern
@ kPencilPattern
Definition: GiVisualStyle.h:789
OdGiVisualStyleDataContainer::OdGiEdgeStyleDataContainer::setEdgeStyles
virtual void setEdgeStyles(unsigned long nStyles)
Definition: GiVisualStyleData.h:747
OdGiVisualStyleProperties::kEdgeIsolines
@ kEdgeIsolines
Definition: GiVisualStyle.h:765
OdGiVisualStyleDataContainer::OdGiEdgeStyleDataContainer::m_cmObColor
OdCmColorBaseAdapt m_cmObColor
Definition: GiVisualStyleData.h:687
OdGiVisualStyleDataContainer::OdGiFaceStyleDataContainer::monoColor
virtual const OdCmColorBase & monoColor() const
Definition: GiVisualStyleData.h:663
OdGiFaceStyle::kOpacity
@ kOpacity
Definition: GiVisualStyle.h:86
OdGiVisualStyleDataContainer::OdGiDisplayStyleDataContainer::setDisplaySettings
virtual void setDisplaySettings(unsigned long nSettings)
Definition: GiVisualStyleData.h:1220
OdGiVisualStyleDataContainer::OdGiEdgeStyleDataContainer::setIntersectionColor
virtual void setIntersectionColor(const OdCmColorBase &color)
Definition: GiVisualStyleData.h:786
OdGiVisualStyleProperties::kEdgeOverhang
@ kEdgeOverhang
Definition: GiVisualStyle.h:760
OdGiVisualStyleDataContainer::OdCmColorBaseAdapt::color
OdUInt32 color() const
Definition: GiVisualStyleData.h:162
OdGiVisualStyleProperties::kEdgeWidth
@ kEdgeWidth
Definition: GiVisualStyle.h:759
OdGiVisualStyleDataContainer::OdGiDisplayStyleDataContainer::m_pBase
OdGiVisualStyle * m_pBase
Definition: GiVisualStyleData.h:1187
OdGiFaceStyle::FaceModifier
FaceModifier
Definition: GiVisualStyle.h:84
OdGiVisualStyleDataContainer::OdGiEdgeStyleDataContainer::m_pBase
OdGiVisualStyle * m_pBase
Definition: GiVisualStyleData.h:685
OdGiFaceStyle::kSpecular
@ kSpecular
Definition: GiVisualStyle.h:87
OdGiVisualStyleDataContainer::OdGiEdgeStyleDataContainer::intersectionLinetype
virtual LineType intersectionLinetype() const
Definition: GiVisualStyleData.h:864
OdGiVisualStyle::configureForType
void configureForType(Type type)
OdGiVisualStyleProperties::kPosterizeEffect
@ kPosterizeEffect
Definition: GiVisualStyle.h:778
OdGiVisualStyleDataContainer::OdGiEdgeStyleDataContainer::setEdgeStyleApply
virtual void setEdgeStyleApply(EdgeStyleApply apply)
Definition: GiVisualStyleData.h:1165
OdGiEdgeStyle::kOpacity
@ kOpacity
Definition: GiVisualStyle.h:259
OdGiVisualStyleDataContainer::OdGiEdgeStyleDataContainer::isEdgeStyleFlagSet
virtual bool isEdgeStyleFlagSet(EdgeStyle flag) const
Definition: GiVisualStyleData.h:776
OdGiVariant::createObject
static OdSmartPtr< OdGiVariant > createObject(const OdGiVariant &value)
OdGiVisualStyleDataContainer::m_faceStyle
OdGiFaceStyleDataContainer m_faceStyle
Definition: GiVisualStyleData.h:1291
OdGiVisualStyleProperties::kEdgeTexturePath
@ kEdgeTexturePath
Definition: GiVisualStyle.h:803
OdGiVisualStyleProperties::kBackgroundsFlag
@ kBackgroundsFlag
Definition: GiVisualStyle.h:954
OdGiVisualStyleDataContainer::OdGiEdgeStyleDataContainer::intersectionColor
virtual const OdCmColorBase & intersectionColor() const
Definition: GiVisualStyleData.h:794
OdGiVisualStyleProperties::kFaceLightingQuality
@ kFaceLightingQuality
Definition: GiVisualStyle.h:740
OdGiVisualStyleDataContainer::OdCmColorBaseAdapt::entColor
const OdCmEntityColor & entColor() const
Definition: GiVisualStyleData.h:75
OdGiVisualStyleProperties::kJitterMedium
@ kJitterMedium
Definition: GiVisualStyle.h:913
OdGiVisualStyleDataContainer::OdCmColorBaseAdapt::setRGB
void setRGB(OdUInt8 red, OdUInt8 green, OdUInt8 blue)
Definition: GiVisualStyleData.h:178
OdGiVisualStyleDataContainer::OdGiEdgeStyleDataContainer::setHaloGap
virtual void setHaloGap(int nHaloGap, bool bEnableModifier)
Definition: GiVisualStyleData.h:1109
OdGiVisualStyleProperties::kPencilAngle
@ kPencilAngle
Definition: GiVisualStyle.h:787
OdGiVisualStyleDataContainer::OdGiEdgeStyleDataContainer::setEdgeModel
virtual void setEdgeModel(EdgeModel model)
Definition: GiVisualStyleData.h:728
OdGiVisualStyleProperties::kEdgeColor
@ kEdgeColor
Definition: GiVisualStyle.h:757
OdGiVisualStyleProperties::kPerVertexLighting
@ kPerVertexLighting
Definition: GiVisualStyle.h:834
OdGiVisualStyleDataContainer::OdGiEdgeStyleDataContainer::setIntersectionLinetype
virtual void setIntersectionLinetype(LineType ltype)
Definition: GiVisualStyleData.h:856
OdStaticRxObject
Definition: StaticRxObject.h:57
OdGiVisualStyleDataContainer::OdGiDisplayStyleDataContainer::base
OdGiVisualStyle * base() const
Definition: GiVisualStyleData.h:1210
OdGiVisualStyleDataContainer::OdGiEdgeStyleDataContainer::setEdgeModifiers
virtual void setEdgeModifiers(unsigned long nModifiers)
Definition: GiVisualStyleData.h:893
OdGiVisualStyleDataContainer::OdGiDisplayStyleDataContainer::shadowType
virtual ShadowType shadowType() const
Definition: GiVisualStyleData.h:1285
OdGiVisualStyleDataContainer::OdCmColorBaseAdapt::setGreen
void setGreen(OdUInt8 green)
Definition: GiVisualStyleData.h:192
OdGiFaceStyle::set
void set(const OdGiFaceStyle &style)
OdGiVisualStyleDataContainer::OdGiEdgeStyleDataContainer::obscuredColor
virtual OdCmColorBase & obscuredColor()
Definition: GiVisualStyleData.h:828
OdGiVisualStyleDataContainer::OdCmColorBaseAdapt::blue
OdUInt8 blue() const
Definition: GiVisualStyleData.h:214
OdGiVisualStyleProperties::kEdgeIntersectionColor
@ kEdgeIntersectionColor
Definition: GiVisualStyle.h:751
OdError
Definition: OdError.h:43
OdGiVisualStyleDataContainer::displayStyle
virtual const OdGiDisplayStyle & displayStyle() const
Definition: GiVisualStyleData.h:1419
OdGiEdgeStyle::EdgeStyleApply
EdgeStyleApply
Definition: GiVisualStyle.h:306
OdGiEdgeStyle::kJitter
@ kJitter
Definition: GiVisualStyle.h:253
OdCmEntityColor::ColorMethod
ColorMethod
Definition: CmColorBase.h:82
OdGiVisualStyleProperties::kPhong
@ kPhong
Definition: GiVisualStyle.h:821
value
GLsizei const GLfloat * value
Definition: gles2_ext.h:302
OdGiDisplayStyle
Definition: GiVisualStyle.h:630
OdGiVisualStyleDataContainer::setTrait
virtual bool setTrait(Property prop, Operation op)
Definition: GiVisualStyleData.h:1495
OdGiVisualStyleProperties::kPostPower
@ kPostPower
Definition: GiVisualStyle.h:797
OdGiVisualStyleDataContainer::OdGiEdgeStyleDataContainer::setCreaseAngle
virtual void setCreaseAngle(double nAngle)
Definition: GiVisualStyleData.h:874
OdCmEntityColor::setRGB
void setRGB(OdUInt8 red, OdUInt8 green, OdUInt8 blue)
Definition: CmColorBase.h:374
OdGiVisualStyleProperties::kEdgeObscuredLinePattern
@ kEdgeObscuredLinePattern
Definition: GiVisualStyle.h:753
OdCmEntityColor::kByLayer
@ kByLayer
Definition: CmColorBase.h:84
OdGiVisualStyle::setTraitFlag
virtual bool setTraitFlag(Property flagProp, OdUInt32 flagVal, bool bEnable=true)
OdGiEdgeStyle::JitterAmount
JitterAmount
Definition: GiVisualStyle.h:268
OdGiVisualStyleDataContainer::OdGiFaceStyleDataContainer::faceColorMode
virtual FaceColorMode faceColorMode() const
Definition: GiVisualStyleData.h:561
OdGiVisualStyleProperties::kTransparency
@ kTransparency
Definition: GiVisualStyle.h:801
OdGiVisualStyleDataContainer::OdGiEdgeStyleDataContainer::setBase
void setBase(OdGiVisualStyle *pBase)
Definition: GiVisualStyleData.h:706
OdGiVisualStyleDataContainer::OdGiEdgeStyleDataContainer::wiggleAmount
virtual WiggleAmount wiggleAmount() const
Definition: GiVisualStyleData.h:1054
OdGiVisualStyleProperties::kViewportTransparency
@ kViewportTransparency
Definition: GiVisualStyle.h:776
OdGiVisualStyleDataContainer::OdCmColorBaseAdapt::green
OdUInt8 green() const
Definition: GiVisualStyleData.h:209
OdCmEntityColor::isByLayer
bool isByLayer() const
Definition: CmColorBase.h:488
OdGiVisualStyleProperties::kBloomThreshold
@ kBloomThreshold
Definition: GiVisualStyle.h:791
OdCmEntityColor::kForeground
@ kForeground
Definition: CmColorBase.h:94
OdString::kEmpty
FIRSTDLL_EXPORT_STATIC static const OdString kEmpty
Definition: OdString.h:98
OdGiVisualStyleProperties::kUseDrawOrder
@ kUseDrawOrder
Definition: GiVisualStyle.h:775
OdGiVisualStyleDataContainer::m_type
Type m_type
Definition: GiVisualStyleData.h:1294
OdGiVisualStyleDataContainer::OdGiEdgeStyleDataContainer::~OdGiEdgeStyleDataContainer
~OdGiEdgeStyleDataContainer()
Definition: GiVisualStyleData.h:697
OdGiEdgeStyle::EdgeStyle
EdgeStyle
Definition: GiVisualStyle.h:238
OdGiVisualStyleDataContainer::OdCmColorBaseAdapt::setColorMethod
void setColorMethod(OdCmEntityColor::ColorMethod colorMethod)
Definition: GiVisualStyleData.h:117
OdGiVisualStyleDataContainer::OdGiFaceStyleDataContainer::~OdGiFaceStyleDataContainer
~OdGiFaceStyleDataContainer()
Definition: GiVisualStyleData.h:489
OdGiVisualStyleDataContainer::OdGiFaceStyleDataContainer::setOpacityLevel
virtual void setOpacityLevel(double nLevel, bool bEnableModifier)
Definition: GiVisualStyleData.h:611
OdGiVisualStyleDataContainer::setDisplayStyle
virtual void setDisplayStyle(const OdGiDisplayStyle &style)
Definition: GiVisualStyleData.h:1449
OdGiVisualStyleDataContainer::OdGiEdgeStyleDataContainer::edgeColor
virtual const OdCmColorBase & edgeColor() const
Definition: GiVisualStyleData.h:941
OdGiVisualStyleDataContainer::OdGiEdgeStyleDataContainer::haloGap
virtual int haloGap() const
Definition: GiVisualStyleData.h:1119
OdGiVisualStyleDataContainer::OdGiEdgeStyleDataContainer::setWiggleAmount
virtual void setWiggleAmount(WiggleAmount amount, bool bEnableModifier)
Definition: GiVisualStyleData.h:1044
OdGiVisualStyleDataContainer::OdGiEdgeStyleDataContainer
Definition: GiVisualStyleData.h:683
OdGiEdgeStyle::kHaloGap
@ kHaloGap
Definition: GiVisualStyle.h:256
OdGiVisualStyle::Type
Type
Definition: GiVisualStyle.h:1004
OdGiVisualStyleDataContainer::OdGiEdgeStyleDataContainer::setOpacityLevel
virtual void setOpacityLevel(double nLevel, bool bEnableModifier)
Definition: GiVisualStyleData.h:960
OdGiVisualStyleDataContainer::OdGiEdgeStyleDataContainer::m_cmSilColor
OdCmColorBaseAdapt m_cmSilColor
Definition: GiVisualStyleData.h:689
OdGiVisualStyleDataContainer::OdGiFaceStyleDataContainer::setBase
void setBase(OdGiVisualStyle *pBase)
Definition: GiVisualStyleData.h:498
OdGiVisualStyleDataContainer::OdGiEdgeStyleDataContainer::obscuredLinetype
virtual LineType obscuredLinetype() const
Definition: GiVisualStyleData.h:846
OdGiVisualStyleDataContainer::displayStyle
virtual OdGiDisplayStyle & displayStyle()
Definition: GiVisualStyleData.h:1395
OdGiVisualStyleDataContainer::OdCmColorBaseAdapt::setBase
void setBase(OdGiVariant *pVar)
Definition: GiVisualStyleData.h:60
OdGiVisualStyleDataContainer::OdGiFaceStyleDataContainer::setFaceModifierFlag
virtual void setFaceModifierFlag(FaceModifier flag, bool bEnable)
Definition: GiVisualStyleData.h:582
OdGiVisualStyleDataContainer::OdCmColorBaseAdapt::bookName
OdString bookName() const
Definition: GiVisualStyleData.h:468
OdGiVisualStyleDataContainer::OdCmColorBaseAdapt::setColor
void setColor(OdUInt32 color)
Definition: GiVisualStyleData.h:169
OdGiVisualStyleDataContainer::OdGiEdgeStyleDataContainer::edgeModifiers
virtual unsigned long edgeModifiers() const
Definition: GiVisualStyleData.h:912
OdGiVisualStyleDataContainer::OdGiFaceStyleDataContainer::setLightingModel
virtual void setLightingModel(LightingModel lightingModel)
Definition: GiVisualStyleData.h:517
OdGiVisualStyleDataContainer::OdGiEdgeStyleDataContainer::setObscuredColor
virtual void setObscuredColor(const OdCmColorBase &color)
Definition: GiVisualStyleData.h:812
OdGiVisualStyleDataContainer::OdGiEdgeStyleDataContainer::edgeStyles
virtual unsigned long edgeStyles() const
Definition: GiVisualStyleData.h:766
OdGiVisualStyleDataContainer::OdGiEdgeStyleDataContainer::silhouetteColor
virtual const OdCmColorBase & silhouetteColor() const
Definition: GiVisualStyleData.h:1072
OdCmEntityColor::isByColor
bool isByColor() const
Definition: CmColorBase.h:475
OdGiVisualStyleDataContainer::OdGiEdgeStyleDataContainer::setJitterAmount
virtual void setJitterAmount(JitterAmount amount, bool bEnableModifier)
Definition: GiVisualStyleData.h:1023
OdGiVisualStyleDataContainer::OdGiEdgeStyleDataContainer::silhouetteWidth
virtual short silhouetteWidth() const
Definition: GiVisualStyleData.h:1098
OdGiVisualStyleProperties::kFaceOpacity
@ kFaceOpacity
Definition: GiVisualStyle.h:743
OdGiVisualStyleProperties::kEdgeStyles
@ kEdgeStyles
Definition: GiVisualStyle.h:750
OdGiVisualStyleDataContainer::OdCmColorBaseAdapt::setColorIndex
void setColorIndex(OdUInt16 colorIndex)
Definition: GiVisualStyleData.h:265
OdGiVisualStyleProperties::kEdgeIntersectionLinePattern
@ kEdgeIntersectionLinePattern
Definition: GiVisualStyle.h:754
OdGiFaceStyle::LightingModel
LightingModel
Definition: GiVisualStyle.h:49
OdGiEdgeStyle::kDefault
@ kDefault
Definition: GiVisualStyle.h:307
OdGiEdgeStyle
Definition: GiVisualStyle.h:220
OdGiVisualStyleProperties::kObscuredFlag
@ kObscuredFlag
Definition: GiVisualStyle.h:885
OdGiVisualStyleProperties::kFaceAdjustment
@ kFaceAdjustment
Definition: GiVisualStyle.h:794
OdGiVisualStyleProperties::kEdgeHidePrecision
@ kEdgeHidePrecision
Definition: GiVisualStyle.h:766
OdGiVisualStyleProperties::kFaceModifiers
@ kFaceModifiers
Definition: GiVisualStyle.h:742
OdCmEntityColor::color
OdUInt32 color() const
Definition: CmColorBase.h:284