24 #ifndef __ODGIVISUALSTYLEDATA_H__
25 #define __ODGIVISUALSTYLEDATA_H__
1005 if (bEnableModifier)
1026 if (bEnableModifier)
1047 if (bEnableModifier)
1112 if (bEnableModifier)
OdSmartPtr< OdGiVariant > OdGiVariantPtr
virtual OdUInt32 color() const =0
void setColor(OdUInt32 color)
bool isForeground() const
void setColorIndex(OdInt16 colorIndex)
void setBlue(OdUInt8 blue)
void setColorMethod(ColorMethod colorMethod)
OdInt16 colorIndex() const
bool isByDgnIndex() const
ColorMethod colorMethod() const
void setRGB(OdUInt8 red, OdUInt8 green, OdUInt8 blue)
void setGreen(OdUInt8 green)
void set(const OdGiDisplayStyle &style)
void set(const OdGiEdgeStyle &style)
void set(const OdGiFaceStyle &style)
static OdSmartPtr< OdGiVariant > createObject(const OdGiVariant &value)
const OdCmEntityColor & asColor() const
virtual void setDisplaySettings(unsigned long nSettings)
OdGiDisplayStyleDataContainer()
OdGiVisualStyle * base() const
virtual bool isDisplaySettingsFlagSet(DisplaySettings flag) const
virtual void setBrightness(double value)
virtual void setShadowType(ShadowType type)
OdGiVisualStyle * m_pBase
virtual unsigned long displaySettings() const
virtual ShadowType shadowType() const
void setBase(OdGiVisualStyle *pBase)
virtual double brightness() const
virtual void setDisplaySettingsFlag(DisplaySettings flag, bool bEnable)
~OdGiDisplayStyleDataContainer()
virtual const OdCmColorBase & edgeColor() const
virtual void setOverhangAmount(int nAmount, bool bEnableModifier)
virtual void setEdgeModifierFlag(EdgeModifier flag, bool bEnable)
virtual short silhouetteWidth() const
virtual void setOpacityLevel(double nLevel, bool bEnableModifier)
OdCmColorBaseAdapt m_cmSilColor
virtual bool isEdgeModifierFlagSet(EdgeModifier flag) const
~OdGiEdgeStyleDataContainer()
virtual unsigned long edgeStyles() const
virtual const OdCmColorBase & silhouetteColor() const
virtual double opacityLevel() const
virtual void setCreaseAngle(double nAngle)
virtual OdCmColorBase & intersectionColor()
virtual void setWiggleAmount(WiggleAmount amount, bool bEnableModifier)
virtual void setEdgeWidth(int nWidth, bool bEnableModifier)
virtual OdCmColorBase & silhouetteColor()
virtual void setEdgeModifiers(unsigned long nModifiers)
virtual void setSilhouetteWidth(short nWidth)
virtual LineType intersectionLinetype() const
virtual void setIntersectionColor(const OdCmColorBase &color)
OdGiEdgeStyleDataContainer()
virtual void setEdgeStyleFlag(EdgeStyle flag, bool bEnable)
virtual void setHaloGap(int nHaloGap, bool bEnableModifier)
virtual void setEdgeColor(const OdCmColorBase &color, bool bEnableModifier)
virtual EdgeModel edgeModel() const
virtual unsigned long edgeModifiers() const
virtual const OdCmColorBase & intersectionColor() const
virtual double creaseAngle() const
virtual void setJitterAmount(JitterAmount amount, bool bEnableModifier)
virtual void setHidePrecision(bool bHidePrecision)
virtual void setIntersectionLinetype(LineType ltype)
virtual void setIsolines(unsigned short nIsolines)
virtual int overhangAmount() const
virtual JitterAmount jitterAmount() const
virtual void setObscuredLinetype(LineType ltype)
virtual OdCmColorBase & obscuredColor()
virtual WiggleAmount wiggleAmount() const
virtual unsigned short isolines() const
OdCmColorBaseAdapt m_cmEdgeColor
virtual OdCmColorBase & edgeColor()
virtual void setSilhouetteColor(const OdCmColorBase &color)
virtual void setObscuredColor(const OdCmColorBase &color)
OdGiVisualStyle * m_pBase
OdGiVisualStyle * base() const
void setBase(OdGiVisualStyle *pBase)
virtual int edgeWidth() const
virtual const OdCmColorBase & obscuredColor() const
virtual EdgeStyleApply edgeStyleApply() const
virtual int haloGap() const
virtual void setEdgeModel(EdgeModel model)
virtual void setEdgeStyleApply(EdgeStyleApply apply)
virtual LineType obscuredLinetype() const
virtual void setEdgeStyles(unsigned long nStyles)
OdCmColorBaseAdapt m_cmObColor
virtual bool hidePrecision() const
virtual bool isEdgeStyleFlagSet(EdgeStyle flag) const
OdCmColorBaseAdapt m_cmIntColor
OdGiVisualStyle * m_pBase
virtual void setOpacityLevel(double nLevel, bool bEnableModifier)
virtual bool isFaceModifierFlagSet(FaceModifier flag) const
~OdGiFaceStyleDataContainer()
virtual LightingQuality lightingQuality() const
virtual double specularAmount() const
virtual void setLightingModel(LightingModel lightingModel)
void setBase(OdGiVisualStyle *pBase)
virtual const OdCmColorBase & monoColor() const
virtual void setMonoColor(const OdCmColorBase &color, bool bEnableMode)
virtual void setLightingQuality(LightingQuality lightingQuality)
OdCmColorBaseAdapt m_cmMonoColor
virtual void setFaceModifierFlag(FaceModifier flag, bool bEnable)
OdGiVisualStyle * base() const
virtual OdCmColorBase & monoColor()
OdGiFaceStyleDataContainer()
virtual unsigned long faceModifiers() const
virtual FaceColorMode faceColorMode() const
virtual void setSpecularAmount(double nAmount, bool bEnableModifier)
virtual double opacityLevel() const
virtual LightingModel lightingModel() const
virtual void setFaceModifiers(unsigned long nModifiers)
virtual void setFaceColorMode(FaceColorMode mode)
OdGiDisplayStyleDataContainer m_displayStyle
virtual void setEdgeStyle(const OdGiEdgeStyle &style)
OdStaticRxObject< OdGiVariant > m_props[OdGiVisualStyleProperties::kPropertyCount]
virtual Type type() const
virtual const OdGiFaceStyle & faceStyle() const
Operation m_ops[OdGiVisualStyleProperties::kPropertyCount]
~OdGiVisualStyleDataContainer()
OdGiEdgeStyleDataContainer m_edgeStyle
virtual void setFaceStyle(const OdGiFaceStyle &style)
virtual bool setTrait(Property prop, const OdGiVariant *pVal, Operation op=OdGiVisualStyleOperations::kSet)
virtual OdGiFaceStyle & faceStyle()
virtual Operation operation(Property prop) const
virtual OdGiDisplayStyle & displayStyle()
virtual void setDisplayStyle(const OdGiDisplayStyle &style)
virtual OdGiVariantPtr trait(Property prop, Operation *pOp=NULL) const
OdGiFaceStyleDataContainer m_faceStyle
OdGiVisualStyleDataContainer()
virtual const OdGiEdgeStyle & edgeStyle() const
virtual bool setType(Type type)
virtual OdGiEdgeStyle & edgeStyle()
virtual const OdGiDisplayStyle & displayStyle() const
virtual bool setTrait(Property prop, Operation op)
void configureForType(Type type)
static OdGiVariant::VariantType propertyType(Property prop)
virtual bool setTrait(Property prop, Operation op)=0
virtual bool traitFlag(Property flagProp, OdUInt32 flagVal) const
virtual bool setTraitFlag(Property flagProp, OdUInt32 flagVal, bool bEnable=true)
virtual OdGiVariantPtr trait(Property prop, Operation *pOp=NULL) const =0
FIRSTDLL_EXPORT_STATIC static const OdString kEmpty
GLuint GLsizei GLsizei GLint GLenum * type
GLsizei const GLfloat * value
@ kEdgeIntersectionLinePattern
@ kEdgeObscuredLinePattern
OdString bookName() const
void setColorIndex(OdUInt16 colorIndex)
OdCmEntityColor::ColorMethod colorMethod() const
const OdCmEntityColor & entColor() const
OdString colorName() const
bool isForeground() const
bool isByDgnIndex() const
void setBlue(OdUInt8 blue)
void setColor(OdUInt32 color)
OdUInt16 colorIndex() const
void setBase(OdGiVariant *pVar)
OdCmEntityColor & entColor()
void setColorMethod(OdCmEntityColor::ColorMethod colorMethod)
void setRGB(OdUInt8 red, OdUInt8 green, OdUInt8 blue)
bool setNames(const OdString &, const OdString &=OdString::kEmpty)
void setGreen(OdUInt8 green)
OdString colorNameForDisplay() const