CFx SDK Documentation
2020SP3
|
Go to the documentation of this file.
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();
1350 #endif //__ODGIVISUALSTYLE_H__
virtual LightingModel lightingModel() const =0
@ kDashed
The border is solid.
virtual OdGiEdgeStyle & edgeStyle(void)=0
virtual bool isFaceModifierFlagSet(FaceModifier flag) const =0
virtual bool traitFlag(Property flagProp, OdUInt32 flagVal) const
void set(const OdGiEdgeStyle &style)
virtual void setSilhouetteColor(const OdCmColorBase &color)=0
virtual void setIntersectionLinetype(LineType ltype)=0
virtual void setEdgeModel(EdgeModel model)=0
virtual bool setTrait(Property prop, double dVal, Operation op=OdGiVisualStyleOperations::kSet)
OdGiVisualStyleOperations::Operation Operation
virtual void setHaloGap(int nHaloGap, bool bEnableModifier)=0
bool operator==(const OdGiEdgeStyle &style) const
virtual bool setTrait(Property prop, Operation op)=0
virtual bool setType(Type type)=0
virtual const OdGiEdgeStyle & edgeStyle(void) const =0
virtual Type type() const =0
virtual unsigned long edgeStyles() const =0
virtual void setOpacityLevel(double nLevel, bool bEnableModifier)=0
ODRX_DECLARE_MEMBERS(OdGiEdgeStyle)
virtual bool setTrait(Property prop, const OdString &pStr, Operation op=OdGiVisualStyleOperations::kSet)
virtual void setEdgeModifierFlag(EdgeModifier flag, bool bEnable)=0
void set(const OdGiDisplayStyle &style)
GLuint GLsizei GLsizei GLint GLenum * type
virtual void setEdgeWidth(int nWidth, bool bEnableModifier)=0
virtual void setEdgeModifiers(unsigned long nModifiers)=0
virtual const OdGiFaceStyle & faceStyle(void) const =0
ODRX_DECLARE_MEMBERS(OdGiDisplayStyle)
virtual void setIsolines(unsigned short nIsolines)=0
virtual Operation operation(Property prop) const =0
virtual void setFaceModifierFlag(FaceModifier flag, bool bEnable)=0
virtual void setDisplaySettingsFlag(DisplaySettings flag, bool bEnable)=0
virtual void setIntersectionColor(const OdCmColorBase &color)=0
virtual OdCmColorBase & silhouetteColor()=0
virtual bool setTrait(Property prop, const OdCmColorBase &pColor, Operation op=OdGiVisualStyleOperations::kSet)
virtual double brightness() const =0
virtual bool setTrait(Property prop, double red, double green, double blue, Operation op=OdGiVisualStyleOperations::kSet)
virtual void setLightingModel(LightingModel lightingModel)=0
virtual bool setTrait(Property prop, OdInt32 nVal, Operation op=OdGiVisualStyleOperations::kSet)
ODRX_DECLARE_MEMBERS(OdGiVisualStyleTraits)
virtual const OdCmColorBase & silhouetteColor() const =0
virtual OdCmColorBase & obscuredColor()=0
virtual bool setTrait(Property prop, const OdCmEntityColor &pColor, Operation op=OdGiVisualStyleOperations::kSet)
virtual OdGiFaceStyle & faceStyle(void)=0
virtual const OdGiVisualStyle & odgiVisualStyle() const =0
virtual unsigned long faceModifiers() const =0
@ kNone
Light mode is inherited from the annotation.
OdGiVisualStyleProperties::Property Property
virtual bool isEdgeStyleFlagSet(EdgeStyle flag) const =0
OdSmartPtr< OdGiDisplayStyle > OdGiDisplayStylePtr
virtual void setEdgeStyleFlag(EdgeStyle flag, bool bEnable)=0
virtual bool isEdgeModifierFlagSet(EdgeModifier flag) const =0
virtual const OdCmColorBase & intersectionColor() const =0
bool operator==(const OdGiFaceStyle &style) const
virtual void setEdgeStyles(unsigned long nStyles)=0
OdGiEdgeStyle & operator=(const OdGiEdgeStyle &style)
virtual ShadowType shadowType() const =0
virtual unsigned long edgeModifiers() const =0
virtual bool setTrait(Property prop, bool bVal, Operation op=OdGiVisualStyleOperations::kSet)
virtual void setEdgeStyle(const OdGiEdgeStyle &style)=0
OdGiFaceStyle & operator=(const OdGiFaceStyle &style)
virtual int haloGap() const =0
virtual void setWiggleAmount(WiggleAmount amount, bool bEnableModifier)=0
virtual OdCmColorBase & monoColor()=0
virtual OdCmColorBase & edgeColor()=0
virtual LightingQuality lightingQuality() const =0
virtual void setShadowType(ShadowType type)=0
virtual JitterAmount jitterAmount() const =0
virtual unsigned short isolines() const =0
virtual void setCreaseAngle(double nAngle)=0
virtual void setBrightness(double value)=0
virtual void setMonoColor(const OdCmColorBase &color, bool bEnableMode)=0
virtual void setObscuredColor(const OdCmColorBase &color)=0
OdSmartPtr< OdGiVisualStyleTraits > OdGiVisualStyleTraitsPtr
OdSmartPtr< OdGiFaceStyle > OdGiFaceStylePtr
virtual bool hidePrecision() const =0
virtual int overhangAmount() const =0
virtual void setDisplaySettings(unsigned long nSettings)=0
virtual double opacityLevel() const =0
static OdGiVariant::VariantType propertyType(Property prop)
virtual void setJitterAmount(JitterAmount amount, bool bEnableModifier)=0
virtual void setFaceModifiers(unsigned long nModifiers)=0
virtual void setDisplayStyle(const OdGiDisplayStyle &style)=0
virtual void setSpecularAmount(double nAmount, bool bEnableModifier)=0
virtual OdGiVariantPtr trait(Property prop, Operation *pOp=NULL) const =0
virtual double creaseAngle() const =0
OdGiDisplayStyle & operator=(const OdGiDisplayStyle &style)
virtual FaceColorMode faceColorMode() const =0
virtual LineType intersectionLinetype() const =0
virtual void setHidePrecision(bool bHidePrecision)=0
OdSmartPtr< OdGiVisualStyle > OdGiVisualStylePtr
virtual short silhouetteWidth() const =0
virtual bool setTrait(Property prop, const OdGiVariant *pVal, Operation op=OdGiVisualStyleOperations::kSet)=0
virtual double specularAmount() const =0
bool operator==(const OdGiVisualStyle &visualStyle) const
virtual void setOdGiVisualStyle(const OdGiVisualStyle &visualStyle)=0
virtual EdgeModel edgeModel() const =0
void configureForType(Type type)
virtual void setLightingQuality(LightingQuality lightingQuality)=0
virtual int edgeWidth() const =0
virtual bool isDisplaySettingsFlagSet(DisplaySettings flag) const =0
virtual const OdCmColorBase & edgeColor() const =0
virtual void setOpacityLevel(double nLevel, bool bEnableModifier)=0
ODRX_DECLARE_MEMBERS(OdGiFaceStyle)
void set(const OdGiFaceStyle &style)
virtual void setOverhangAmount(int nAmount, bool bEnableModifier)=0
virtual void setFaceStyle(const OdGiFaceStyle &style)=0
GLsizei const GLfloat * value
virtual const OdCmColorBase & monoColor() const =0
virtual EdgeStyleApply edgeStyleApply() const =0
virtual const OdGiDisplayStyle & displayStyle(void) const =0
virtual void setFaceColorMode(FaceColorMode mode)=0
@ kEdgeObscuredLinePattern
virtual LineType obscuredLinetype() const =0
virtual bool setTraitFlag(Property flagProp, OdUInt32 flagVal, bool bEnable=true)
virtual WiggleAmount wiggleAmount() const =0
OdGiVisualStyle & operator=(const OdGiVisualStyle &visualStyle)
virtual void setObscuredLinetype(LineType ltype)=0
bool operator==(const OdGiDisplayStyle &style) const
virtual void setSilhouetteWidth(short nWidth)=0
virtual double opacityLevel() const =0
virtual const OdCmColorBase & obscuredColor() const =0
ODRX_DECLARE_MEMBERS(OdGiVisualStyle)
@ kEdgeIntersectionLinePattern
OdSmartPtr< OdGiEdgeStyle > OdGiEdgeStylePtr
virtual void setEdgeStyleApply(EdgeStyleApply apply)=0
virtual OdGiDisplayStyle & displayStyle(void)=0
virtual OdCmColorBase & intersectionColor()=0
virtual unsigned long displaySettings() const =0
virtual void setEdgeColor(const OdCmColorBase &color, bool bEnableModifier)=0