98 kNoDrawFlags = 0x0000,
99 kDrawBackfaces = 0x0001,
100 kDrawHatchGroup = 0x0002,
101 kDrawFrontfacesOnly = 0x0004,
102 kDrawGradientFill = 0x0008,
103 kDrawSolidFill = 0x0010,
104 kDrawNoLineWeight = 0x0020,
105 kDrawNoPlotstyle = 0x0080,
107 kDrawContourFill = 0x08000,
108 kDisableLayoutCache = 0x10000,
109 kDrawBoundaryForClipping = 0x20000,
111 kDrawBoundaryForClippingDrw = 0x40000,
113 kClipSetIsEmpty = 0x80000,
114 kInternalDrawFlags = kDisableLayoutCache | kClipSetIsEmpty,
115 kDrawPolygonFill = 0x100000,
116 kExcludeFromViewExt = 0x200000,
117 kDrawDgLsPolyWithoutBreaks = 0x400000,
118 kPolygonProcessing = 0x800000,
119 kDisableAutoGenerateNormals = 0x1000000,
120 kDisableFillModeCheck = 0x2000000,
121 kDrawUnderlayReference = 0x4000000,
124 kDrawOnHighlight = 0x08000000,
125 kSkipDrawOnHighlight = 0x10000000,
126 kDrawOnSelection = 0x20000000,
127 kSkipDrawOnSelection = 0x40000000,
128 kXenonFlags = kDrawOnHighlight | kSkipDrawOnHighlight | kDrawOnSelection | kSkipDrawOnSelection,
131 kFxNoFillOnSelect = 0x08000000,
135 kInheritableDrawFlags = kDrawNoLineWeight | kDrawNoPlotstyle | kDrawBoundaryForClipping | kDrawBoundaryForClippingDrw |
136 kInternalDrawFlags | kExcludeFromViewExt | kDrawBackfaces | kDrawFrontfacesOnly
146 kShadowsCastAndReceive = 0,
147 kShadowsDoesNotCast = 1,
148 kShadowsDoesNotReceive = 2,
149 kShadowsIgnore = kShadowsDoesNotCast | kShadowsDoesNotReceive
154 kNoSelectionFlags = 0,
156 kHighlightingGeometry = 2
159 kFxSubentitySelection = 0x80
165 kHint2DAttributes = 1,
166 kHint3DAttributes = 2,
167 kHintAllAttributes = kHint2DAttributes | kHint3DAttributes,
169 kHintDefaultState = kHintAllAttributes
212 OdDbStub* layerId) = 0;
219 OdDbStub* lineTypeId) = 0;
277 double lineTypeScale = 1.0) = 0;
284 double thickness) = 0;
307 OdDbStub* plotStyleNameId = 0) = 0;
314 OdDbStub* materialId) = 0;
328 const OdDbStub* visualStyleId);
352 bool bSelectionFlag);
368 bool bSectionableFlag);
408 virtual OdDbStub*
layer()
const = 0;
599 const OdDbStub* lightId);
OdSmartPtr< OdGiSubEntityTraits > OdGiSubEntityTraitsPtr
ODRX_DECLARE_MEMBERS(OdGiDrawableTraits)
virtual const OdGiFill * fill() const
virtual void setLayer(OdDbStub *layerId)=0
virtual OdUInt16 color() const =0
virtual OdDbStub * layer() const =0
virtual void setFillPlane(const OdGeVector3d *pNormal=0)
virtual OdDb::PlotStyleNameType plotStyleNameType() const =0
virtual void setFill(const OdGiFill *pFill)
virtual void setLineType(OdDbStub *lineTypeId)=0
virtual OdGiFillType fillType() const =0
virtual void setSectionable(bool bSectionableFlag)
virtual void setLineTypeScale(double lineTypeScale=1.0)=0
virtual bool sectionable() const
virtual OdDbStub * material() const =0
virtual OdUInt32 setupForEntity() const
virtual void setShadowFlags(ShadowFlags shadowFlags)
virtual void setMapper(const OdGiMapper *pMapper)=0
virtual OdDbStub * lineType() const =0
virtual void popLineweightOverride()
virtual SelectionFlags selectionFlags() const
virtual void setLineWeight(OdDb::LineWeight lineWeight)=0
virtual void setVisualStyle(const OdDbStub *visualStyleId)
ODRX_DECLARE_MEMBERS(OdGiSubEntityTraits)
virtual void setSelectionFlags(SelectionFlags selectionFlags)
virtual void setLineStyleModifiers(const OdGiDgLinetypeModifiers *pLSMod)
virtual void setSelectionMarker(OdGsMarker selectionMarker)=0
virtual void setColor(OdUInt16 color)=0
virtual double lineTypeScale() const =0
virtual void setPlotStyleName(OdDb::PlotStyleNameType plotStyleNameType, OdDbStub *plotStyleNameId=0)=0
virtual OdUInt32 drawFlags() const
virtual OdCmTransparency transparency() const
virtual OdDbStub * plotStyleNameId() const =0
virtual void setTrueColor(const OdCmEntityColor &color)=0
virtual OdCmEntityColor trueColor() const =0
virtual ShadowFlags shadowFlags() const
virtual bool fillPlane(OdGeVector3d &normal)
virtual void addLight(const OdDbStub *lightId)
virtual void setDrawFlags(OdUInt32 drawFlags)
virtual const OdGiDgLinetypeModifiers * lineStyleModifiers() const
virtual void setSelectionGeom(bool bSelectionFlag)
virtual void setThickness(double thickness)=0
virtual OdCmEntityColor secondaryTrueColor() const
virtual void setSecondaryTrueColor(const OdCmEntityColor &color)
virtual void setFillType(OdGiFillType fillType)=0
virtual void setMaterial(OdDbStub *materialId)=0
virtual bool selectionGeom() const
virtual OdDb::LineWeight lineWeight() const =0
virtual const OdGiMapper * mapper() const =0
virtual double thickness() const =0
virtual void setTransparency(const OdCmTransparency &transparency)
virtual OdDbStub * visualStyle() const
virtual bool pushLineweightOverride(const OdGiLineweightOverride *pOverride)