24 #ifndef __ODGIVISUALSTYLE_H__
25 #define __ODGIVISUALSTYLE_H__
258 kAlwaysOnTop = 0x040,
574 virtual void setHaloGap(
int nHaloGap,
bool bEnableModifier) = 0;
1282 void configureForFlat();
1283 void configureForFlatWithEdges();
1284 void configureForGouraud();
1285 void configureForGouraudWithEdges();
1286 void configureForBasic();
1287 void configureFor2DWireframe();
1288 void configureFor3DWireframe();
1289 void configureForHidden();
1290 void configureForRealistic();
1291 void configureForConceptual();
1292 void configureForDim();
1293 void configureForBrighten();
1294 void configureForThicken();
1295 void configureForLinePattern();
1296 void configureForFacePattern();
1297 void configureForColorChange();
1300 void configureForFaceOnly();
1301 void configureForEdgeOnly();
1302 void configureForDisplayOnly();
1304 void configureForJitterOff();
1305 void configureForOverhangOff();
1306 void configureForEdgeColorOff();
1307 void configureForShadesOfGray();
1308 void configureForSketchy();
1309 void configureForXRay();
1310 void configureForShadedWithEdges();
1311 void configureForShaded();
1312 void configureForByViewport();
1313 void configureForByLayer();
1314 void configureForByBlock();
1315 void configureForEmptyStyle();
1318 void configureForAc27(
bool b2d =
false);
1321 void configureForInit();
OdSmartPtr< OdGiEdgeStyle > OdGiEdgeStylePtr
OdSmartPtr< OdGiFaceStyle > OdGiFaceStylePtr
OdSmartPtr< OdGiVisualStyleTraits > OdGiVisualStyleTraitsPtr
OdSmartPtr< OdGiVisualStyle > OdGiVisualStylePtr
OdSmartPtr< OdGiDisplayStyle > OdGiDisplayStylePtr
virtual void setShadowType(ShadowType type)=0
virtual void setDisplaySettings(unsigned long nSettings)=0
virtual ShadowType shadowType() const =0
OdGiDisplayStyle & operator=(const OdGiDisplayStyle &style)
virtual void setDisplaySettingsFlag(DisplaySettings flag, bool bEnable)=0
virtual unsigned long displaySettings() const =0
virtual double brightness() const =0
virtual bool isDisplaySettingsFlagSet(DisplaySettings flag) const =0
virtual void setBrightness(double value)=0
bool operator==(const OdGiDisplayStyle &style) const
ODRX_DECLARE_MEMBERS(OdGiDisplayStyle)
void set(const OdGiDisplayStyle &style)
virtual short silhouetteWidth() const =0
void set(const OdGiEdgeStyle &style)
virtual void setIntersectionLinetype(LineType ltype)=0
virtual unsigned long edgeModifiers() const =0
virtual double creaseAngle() const =0
virtual OdCmColorBase & silhouetteColor()=0
virtual void setIsolines(unsigned short nIsolines)=0
virtual EdgeModel edgeModel() const =0
virtual LineType obscuredLinetype() const =0
virtual void setEdgeModifiers(unsigned long nModifiers)=0
virtual void setJitterAmount(JitterAmount amount, bool bEnableModifier)=0
virtual LineType intersectionLinetype() const =0
virtual void setSilhouetteWidth(short nWidth)=0
virtual OdCmColorBase & intersectionColor()=0
virtual const OdCmColorBase & edgeColor() const =0
virtual int haloGap() const =0
virtual void setObscuredColor(const OdCmColorBase &color)=0
virtual JitterAmount jitterAmount() const =0
virtual void setObscuredLinetype(LineType ltype)=0
virtual void setIntersectionColor(const OdCmColorBase &color)=0
virtual const OdCmColorBase & obscuredColor() const =0
virtual void setEdgeWidth(int nWidth, bool bEnableModifier)=0
virtual void setHaloGap(int nHaloGap, bool bEnableModifier)=0
virtual bool isEdgeStyleFlagSet(EdgeStyle flag) const =0
virtual void setEdgeStyleFlag(EdgeStyle flag, bool bEnable)=0
virtual void setEdgeColor(const OdCmColorBase &color, bool bEnableModifier)=0
virtual int edgeWidth() const =0
virtual int overhangAmount() const =0
ODRX_DECLARE_MEMBERS(OdGiEdgeStyle)
virtual void setHidePrecision(bool bHidePrecision)=0
virtual unsigned short isolines() const =0
virtual const OdCmColorBase & intersectionColor() const =0
virtual void setOpacityLevel(double nLevel, bool bEnableModifier)=0
virtual void setWiggleAmount(WiggleAmount amount, bool bEnableModifier)=0
virtual EdgeStyleApply edgeStyleApply() const =0
bool operator==(const OdGiEdgeStyle &style) const
virtual WiggleAmount wiggleAmount() const =0
virtual double opacityLevel() const =0
virtual void setCreaseAngle(double nAngle)=0
virtual bool isEdgeModifierFlagSet(EdgeModifier flag) const =0
virtual void setEdgeStyles(unsigned long nStyles)=0
virtual void setOverhangAmount(int nAmount, bool bEnableModifier)=0
virtual OdCmColorBase & edgeColor()=0
OdGiEdgeStyle & operator=(const OdGiEdgeStyle &style)
virtual unsigned long edgeStyles() const =0
virtual const OdCmColorBase & silhouetteColor() const =0
virtual void setEdgeStyleApply(EdgeStyleApply apply)=0
virtual void setEdgeModifierFlag(EdgeModifier flag, bool bEnable)=0
virtual void setEdgeModel(EdgeModel model)=0
virtual void setSilhouetteColor(const OdCmColorBase &color)=0
virtual bool hidePrecision() const =0
virtual OdCmColorBase & obscuredColor()=0
virtual const OdCmColorBase & monoColor() const =0
virtual void setLightingModel(LightingModel lightingModel)=0
virtual void setMonoColor(const OdCmColorBase &color, bool bEnableMode)=0
virtual void setFaceColorMode(FaceColorMode mode)=0
virtual void setOpacityLevel(double nLevel, bool bEnableModifier)=0
virtual FaceColorMode faceColorMode() const =0
OdGiFaceStyle & operator=(const OdGiFaceStyle &style)
virtual void setFaceModifierFlag(FaceModifier flag, bool bEnable)=0
virtual void setSpecularAmount(double nAmount, bool bEnableModifier)=0
virtual LightingModel lightingModel() const =0
void set(const OdGiFaceStyle &style)
bool operator==(const OdGiFaceStyle &style) const
virtual double opacityLevel() const =0
virtual void setFaceModifiers(unsigned long nModifiers)=0
virtual double specularAmount() const =0
virtual unsigned long faceModifiers() const =0
ODRX_DECLARE_MEMBERS(OdGiFaceStyle)
virtual OdCmColorBase & monoColor()=0
virtual LightingQuality lightingQuality() const =0
virtual bool isFaceModifierFlagSet(FaceModifier flag) const =0
virtual void setLightingQuality(LightingQuality lightingQuality)=0
virtual const OdGiDisplayStyle & displayStyle(void) const =0
virtual void setFaceStyle(const OdGiFaceStyle &style)=0
virtual bool setTrait(Property prop, bool bVal, Operation op=OdGiVisualStyleOperations::kSet)
void configureForType(Type type)
static OdGiVariant::VariantType propertyType(Property prop)
virtual OdGiDisplayStyle & displayStyle(void)=0
virtual void setEdgeStyle(const OdGiEdgeStyle &style)=0
virtual bool setTrait(Property prop, double dVal, Operation op=OdGiVisualStyleOperations::kSet)
virtual bool setTrait(Property prop, double red, double green, double blue, Operation op=OdGiVisualStyleOperations::kSet)
virtual OdGiFaceStyle & faceStyle(void)=0
bool operator==(const OdGiVisualStyle &visualStyle) const
virtual bool setTrait(Property prop, OdInt32 nVal, Operation op=OdGiVisualStyleOperations::kSet)
virtual bool setTrait(Property prop, Operation op)=0
virtual Type type() const =0
virtual bool setType(Type type)=0
virtual const OdGiFaceStyle & faceStyle(void) const =0
virtual void setDisplayStyle(const OdGiDisplayStyle &style)=0
virtual bool setTrait(Property prop, const OdGiVariant *pVal, Operation op=OdGiVisualStyleOperations::kSet)=0
virtual const OdGiEdgeStyle & edgeStyle(void) const =0
OdGiVisualStyle & operator=(const OdGiVisualStyle &visualStyle)
virtual bool setTrait(Property prop, const OdString &pStr, Operation op=OdGiVisualStyleOperations::kSet)
virtual bool traitFlag(Property flagProp, OdUInt32 flagVal) const
virtual OdGiEdgeStyle & edgeStyle(void)=0
OdGiVisualStyleProperties::Property Property
virtual bool setTraitFlag(Property flagProp, OdUInt32 flagVal, bool bEnable=true)
virtual bool setTrait(Property prop, const OdCmEntityColor &pColor, Operation op=OdGiVisualStyleOperations::kSet)
OdGiVisualStyleOperations::Operation Operation
virtual bool setTrait(Property prop, const OdCmColorBase &pColor, Operation op=OdGiVisualStyleOperations::kSet)
virtual Operation operation(Property prop) const =0
ODRX_DECLARE_MEMBERS(OdGiVisualStyle)
virtual OdGiVariantPtr trait(Property prop, Operation *pOp=NULL) const =0
ODRX_DECLARE_MEMBERS(OdGiVisualStyleTraits)
virtual const OdGiVisualStyle & odgiVisualStyle() const =0
virtual void setOdGiVisualStyle(const OdGiVisualStyle &visualStyle)=0
GLuint GLsizei GLsizei GLint GLenum * type
GLsizei const GLfloat * value
@ kEdgeIntersectionLinePattern
@ kEdgeObscuredLinePattern
@ kDashed
The border is solid.
@ kNone
Light mode is inherited from the annotation.