104 kNoDrawFlags = 0x0000,
105 kDrawBackfaces = 0x0001,
106 kDrawHatchGroup = 0x0002,
107 kDrawFrontfacesOnly = 0x0004,
108 kDrawGradientFill = 0x0008,
109 kDrawSolidFill = 0x0010,
110 kDrawNoLineWeight = 0x0020,
111 kDrawNoPlotstyle = 0x0080,
113 kDrawContourFill = 0x08000,
114 kDisableLayoutCache = 0x10000,
115 kDrawBoundaryForClipping = 0x20000,
117 kDrawBoundaryForClippingDrw = 0x40000,
119 kClipSetIsEmpty = 0x80000,
120 kDrawPolygonFill = 0x100000,
121 kExcludeFromViewExt = 0x200000,
122 kDrawDgLsPolyWithoutBreaks = 0x400000,
123 kPolygonProcessing = 0x800000,
124 kDisableAutoGenerateNormals = 0x1000000,
125 kDisableFillModeCheck = 0x2000000,
126 kDrawUnderlayReference = 0x4000000,
127 kLineStyleScaleOverride = 0x8000000,
128 kDisableDisplayClipping = 0x10000000,
129 kRegenTypeDependent2dDraw = 0x20000000,
130 kInternalDrawFlags = kDisableLayoutCache | kClipSetIsEmpty | kRegenTypeDependent2dDraw,
142 kDrawGeometryForExtents = 0x04000,
143 kFxNoFillOnSelect = 0x40000000,
147 kInheritableDrawFlags = kDrawNoLineWeight | kDrawNoPlotstyle | kDrawBoundaryForClipping | kDrawBoundaryForClippingDrw |
148 kInternalDrawFlags | kExcludeFromViewExt | kDrawBackfaces | kDrawFrontfacesOnly | kDisableDisplayClipping | kRegenTypeDependent2dDraw
161 kNoLockFlags = 0x00000000,
162 kLockColors = 0x00000001,
163 kLockLineWeight = 0x00000002,
164 kLockLineType = 0x00000004,
165 kLockLineTypeScale = 0x00000008,
166 kLockLayer = 0x00000010,
167 kLockByBlockLayer = 0x00000020,
168 kKeepAuxDataAndLockFlags = 0x00000040,
169 kInheritableLockFlags = kLockColors | kLockLineWeight | kLockLineType | kLockLineTypeScale | kLockLayer | kKeepAuxDataAndLockFlags
177 kShadowsCastAndReceive = 0,
178 kShadowsDoesNotCast = 1,
179 kShadowsDoesNotReceive = 2,
180 kShadowsIgnore = kShadowsDoesNotCast | kShadowsDoesNotReceive
188 kNoSelectionFlags = 0,
190 kHighlightingGeometry = 2,
191 kHiddenInHighlight = 4
194 kFxSubentitySelection = 0x80
203 kHint2DAttributes = 1,
204 kHint3DAttributes = 2,
205 kHintAllAttributes = kHint2DAttributes | kHint3DAttributes,
207 kHintDefaultState = kHintAllAttributes
256 OdDbStub* layerId) = 0;
265 OdDbStub* lineTypeId) = 0;
326 double lineTypeScale = 1.0) = 0;
333 double thickness) = 0;
356 OdDbStub* plotStyleNameId = 0) = 0;
365 OdDbStub* materialId) = 0;
383 const OdDbStub* visualStyleId);
421 bool bSelectionFlag);
441 bool bSectionableFlag);
500 virtual OdDbStub*
layer()
const = 0;
809 const OdDbStub* lightId);
OdSmartPtr< OdGiSubEntityTraits > OdGiSubEntityTraitsPtr
ODRX_DECLARE_MEMBERS(OdGiDrawableTraits)
virtual void setAuxData(const OdGiAuxiliaryDataPtr &pAuxData)
virtual void setLayer(OdDbStub *layerId)=0
virtual OdUInt16 color() const =0
virtual OdDbStub * material() 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 bool pushPaletteOverride(const OdGiPalette *pOverride)
virtual const OdGiFill * fill() const
virtual OdGiFillType fillType() const =0
virtual void setSectionable(bool bSectionableFlag)
virtual void setLockFlags(OdUInt32 lockFlags)
virtual void setLineTypeScale(double lineTypeScale=1.0)=0
virtual bool sectionable() const
virtual OdUInt32 setupForEntity() const
virtual void setShadowFlags(ShadowFlags shadowFlags)
virtual OdGiAuxiliaryDataPtr auxData() const
virtual void setMapper(const OdGiMapper *pMapper)=0
virtual void popLineweightOverride()
virtual const OdGiDgLinetypeModifiers * lineStyleModifiers() const
virtual SelectionFlags selectionFlags() const
virtual void setLineWeight(OdDb::LineWeight lineWeight)=0
virtual void setVisualStyle(const OdDbStub *visualStyleId)
ODRX_DECLARE_MEMBERS(OdGiSubEntityTraits)
virtual void popPaletteOverride()
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 void setTrueColor(const OdCmEntityColor &color)=0
virtual const OdGiMapper * mapper() const =0
virtual OdCmEntityColor trueColor() const =0
virtual ShadowFlags shadowFlags() const
virtual bool fillPlane(OdGeVector3d &normal)
virtual void addLight(const OdDbStub *lightId)
virtual OdDbStub * plotStyleNameId() const =0
virtual void setDrawFlags(OdUInt32 drawFlags)
virtual void setSelectionGeom(bool bSelectionFlag)
virtual OdDbStub * visualStyle() const
virtual void setThickness(double thickness)=0
virtual OdDbStub * layer() const =0
virtual OdDbStub * lineType() const =0
virtual OdCmEntityColor secondaryTrueColor() const
virtual void setSecondaryTrueColor(const OdCmEntityColor &color)
virtual void setFillType(OdGiFillType fillType)=0
virtual OdUInt32 lockFlags() const
virtual void setMaterial(OdDbStub *materialId)=0
virtual bool selectionGeom() const
virtual OdDb::LineWeight lineWeight() const =0
virtual double thickness() const =0
virtual void setTransparency(const OdCmTransparency &transparency)
virtual bool pushLineweightOverride(const OdGiLineweightOverride *pOverride)