24#ifndef __ODGIVISUALSTYLEDATA_H__
25#define __ODGIVISUALSTYLEDATA_H__
1000 if (bEnableModifier)
1021 if (bEnableModifier)
1042 if (bEnableModifier)
1063 if (bEnableModifier)
1084 if (bEnableModifier)
1149 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
OdGiVisualStyle * base() const
virtual void setDisplaySettings(unsigned long nSettings)
OdGiDisplayStyleDataContainer()
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 void setOverhangAmount(int nAmount, bool bEnableModifier)
virtual OdCmColorBase & obscuredColor()
virtual const OdCmColorBase & edgeColor() const
virtual void setEdgeModifierFlag(EdgeModifier flag, bool bEnable)
virtual OdCmColorBase & edgeColor()
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 double opacityLevel() const
virtual void setCreaseAngle(double nAngle)
virtual void setWiggleAmount(WiggleAmount amount, bool bEnableModifier)
virtual void setEdgeWidth(int nWidth, bool bEnableModifier)
OdGiVisualStyle * base() const
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 & silhouetteColor() const
virtual double creaseAngle() const
virtual OdCmColorBase & intersectionColor()
virtual void setJitterAmount(JitterAmount amount, bool bEnableModifier)
virtual const OdCmColorBase & intersectionColor() const
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 WiggleAmount wiggleAmount() const
virtual const OdCmColorBase & obscuredColor() const
virtual unsigned short isolines() const
OdCmColorBaseAdapt m_cmEdgeColor
virtual void setSilhouetteColor(const OdCmColorBase &color)
virtual void setObscuredColor(const OdCmColorBase &color)
OdGiVisualStyle * m_pBase
virtual OdCmColorBase & silhouetteColor()
void setBase(OdGiVisualStyle *pBase)
virtual int edgeWidth() 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)
virtual const OdCmColorBase & monoColor() const
void setBase(OdGiVisualStyle *pBase)
virtual void setMonoColor(const OdCmColorBase &color, bool bEnableMode)
virtual void setLightingQuality(LightingQuality lightingQuality)
OdCmColorBaseAdapt m_cmMonoColor
virtual void setFaceModifierFlag(FaceModifier flag, bool bEnable)
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
OdGiVisualStyle * base() const
virtual void setFaceModifiers(unsigned long nModifiers)
virtual OdCmColorBase & monoColor()
virtual void setFaceColorMode(FaceColorMode mode)
virtual OdGiFaceStyle & faceStyle()
OdGiDisplayStyleDataContainer m_displayStyle
virtual void setEdgeStyle(const OdGiEdgeStyle &style)
OdStaticRxObject< OdGiVariant > m_props[OdGiVisualStyleProperties::kPropertyCount]
virtual Type type() 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 OdGiDisplayStyle & displayStyle()
virtual Operation operation(Property prop) const
virtual void setDisplayStyle(const OdGiDisplayStyle &style)
virtual OdGiEdgeStyle & edgeStyle()
virtual OdGiVariantPtr trait(Property prop, Operation *pOp=NULL) const
OdGiFaceStyleDataContainer m_faceStyle
OdGiVisualStyleDataContainer()
virtual const OdGiDisplayStyle & displayStyle() const
virtual bool setType(Type type)
virtual const OdGiEdgeStyle & edgeStyle() const
virtual bool setTrait(Property prop, Operation op)
virtual const OdGiFaceStyle & faceStyle() const
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
OdCmEntityColor & entColor()
void setColorIndex(OdUInt16 colorIndex)
OdCmEntityColor::ColorMethod colorMethod() 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)
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
const OdCmEntityColor & entColor() const