|
enum | DrawFlags {
kNoDrawFlags = 0x0000
, kDrawBackfaces = 0x0001
, kDrawHatchGroup = 0x0002
, kDrawFrontfacesOnly = 0x0004
,
kDrawGradientFill = 0x0008
, kDrawSolidFill = 0x0010
, kDrawNoLineWeight = 0x0020
, kDrawNoPlotstyle = 0x0080
,
kDrawContourFill = 0x08000
, kDisableLayoutCache = 0x10000
, kDrawBoundaryForClipping = 0x20000
, kDrawBoundaryForClippingDrw = 0x40000
,
kClipSetIsEmpty = 0x80000
, kDrawPolygonFill = 0x100000
, kExcludeFromViewExt = 0x200000
, kDrawDgLsPolyWithoutBreaks = 0x400000
,
kPolygonProcessing = 0x800000
, kDisableAutoGenerateNormals = 0x1000000
, kDisableFillModeCheck = 0x2000000
, kDrawUnderlayReference = 0x4000000
,
kLineStyleScaleOverride = 0x8000000
, kDisableDisplayClipping = 0x10000000
, kRegenTypeDependent2dDraw = 0x20000000
, kInternalDrawFlags = kDisableLayoutCache | kClipSetIsEmpty | kRegenTypeDependent2dDraw
,
kDrawGeometryForExtents = 0x04000
, kFxNoFillOnSelect = 0x40000000
, kInheritableDrawFlags
} |
|
enum | LockFlags {
kNoLockFlags = 0x00000000
, kLockColors = 0x00000001
, kLockLineWeight = 0x00000002
, kLockLineType = 0x00000004
,
kLockLineTypeScale = 0x00000008
, kLockLayer = 0x00000010
, kLockByBlockLayer = 0x00000020
, kKeepAuxDataAndLockFlags = 0x00000040
,
kInheritableLockFlags = kLockColors | kLockLineWeight | kLockLineType | kLockLineTypeScale | kLockLayer | kKeepAuxDataAndLockFlags
} |
|
enum | ShadowFlags { kShadowsCastAndReceive = 0
, kShadowsDoesNotCast = 1
, kShadowsDoesNotReceive = 2
, kShadowsIgnore = kShadowsDoesNotCast | kShadowsDoesNotReceive
} |
|
enum | SelectionFlags {
kNoSelectionFlags = 0
, kSelectionIgnore = 1
, kHighlightingGeometry = 2
, kHiddenInHighlight = 4
,
kFxSubentitySelection = 0x80
} |
|
enum | SubEntityHints {
kHint2DAttributes = 1
, kHint3DAttributes = 2
, kHintAllAttributes = kHint2DAttributes | kHint3DAttributes
, kHintSnapModeOn = 4
,
kHintDefaultState = kHintAllAttributes
} |
|
void | setColor (OdUInt16 color) |
|
void | setTrueColor (const OdCmEntityColor &color) |
|
void | setLayer (OdDbStub *layerId) |
|
void | setLineType (OdDbStub *lineTypeId) |
|
void | setSelectionMarker (OdGsMarker selectionMarker) |
|
void | setFillType (OdGiFillType fillType) |
|
void | setFillPlane (const OdGeVector3d *pNormal=0) |
|
void | setLineWeight (OdDb::LineWeight lineWeight) |
|
void | setLineTypeScale (double lineTypeScale=1.0) |
|
void | setThickness (double thickness) |
|
void | setPlotStyleName (OdDb::PlotStyleNameType plotStyleNameType, OdDbStub *pPlotStyleNameId=0) |
|
void | setMaterial (OdDbStub *materialId) |
|
void | setMapper (const OdGiMapper *pMapper) |
|
void | setVisualStyle (const OdDbStub *visualStyleId) |
|
void | setTransparency (const OdCmTransparency &transparency) |
|
void | setDrawFlags (OdUInt32 drawFlags) |
|
void | setLockFlags (OdUInt32 lockFlags) |
|
void | setSelectionGeom (bool bSelectionFlag) |
|
void | setShadowFlags (OdGiSubEntityTraits::ShadowFlags shadowFlags) |
|
void | setSectionable (bool bSectionableFlag) |
|
void | setSelectionFlags (OdGiSubEntityTraits::SelectionFlags selectionFlags) |
|
OdUInt16 | color () const |
|
OdCmEntityColor | trueColor () const |
|
OdDbStub * | layer () const |
|
OdDbStub * | lineType () const |
|
OdGiFillType | fillType () const |
|
bool | fillPlane (OdGeVector3d &normal) |
|
OdDb::LineWeight | lineWeight () const |
|
double | lineTypeScale () const |
|
double | thickness () const |
|
OdDb::PlotStyleNameType | plotStyleNameType () const |
|
OdDbStub * | plotStyleNameId () const |
|
OdDbStub * | material () const |
|
const OdGiMapper * | mapper () const |
|
void | addLight (const OdDbStub *) |
|
OdCmTransparency | transparency () const |
|
OdUInt32 | drawFlags () const |
|
OdUInt32 | lockFlags () const |
|
bool | selectionGeom () const |
|
OdGiSubEntityTraits::ShadowFlags | shadowFlags () const |
|
bool | sectionable () const |
|
OdGiSubEntityTraits::SelectionFlags | selectionFlags () const |
|
| ODRX_DECLARE_MEMBERS (OdGiSubEntityTraits) |
|
virtual void | setColor (OdUInt16 color)=0 |
|
virtual void | setTrueColor (const OdCmEntityColor &color)=0 |
|
virtual void | setLayer (OdDbStub *layerId)=0 |
|
virtual void | setLineType (OdDbStub *lineTypeId)=0 |
|
virtual void | setSelectionMarker (OdGsMarker selectionMarker)=0 |
|
virtual void | setFillType (OdGiFillType fillType)=0 |
|
virtual void | setFillPlane (const OdGeVector3d *pNormal=0) |
|
virtual void | setLineWeight (OdDb::LineWeight lineWeight)=0 |
|
virtual void | setLineTypeScale (double lineTypeScale=1.0)=0 |
|
virtual void | setThickness (double thickness)=0 |
|
virtual void | setPlotStyleName (OdDb::PlotStyleNameType plotStyleNameType, OdDbStub *plotStyleNameId=0)=0 |
|
virtual void | setMaterial (OdDbStub *materialId)=0 |
|
virtual void | setMapper (const OdGiMapper *pMapper)=0 |
|
virtual void | setVisualStyle (const OdDbStub *visualStyleId) |
|
virtual void | setTransparency (const OdCmTransparency &transparency) |
|
virtual void | setDrawFlags (OdUInt32 drawFlags) |
|
virtual void | setLockFlags (OdUInt32 lockFlags) |
|
virtual void | setSelectionGeom (bool bSelectionFlag) |
|
virtual void | setShadowFlags (ShadowFlags shadowFlags) |
|
virtual void | setSectionable (bool bSectionableFlag) |
|
virtual void | setSelectionFlags (SelectionFlags selectionFlags) |
|
virtual OdUInt16 | color () const =0 |
|
virtual OdCmEntityColor | trueColor () const =0 |
|
virtual OdDbStub * | layer () const =0 |
|
virtual OdDbStub * | lineType () const =0 |
|
virtual OdGiFillType | fillType () const =0 |
|
virtual bool | fillPlane (OdGeVector3d &normal) |
|
virtual OdDb::LineWeight | lineWeight () const =0 |
|
virtual double | lineTypeScale () const =0 |
|
virtual double | thickness () const =0 |
|
virtual OdDb::PlotStyleNameType | plotStyleNameType () const =0 |
|
virtual OdDbStub * | plotStyleNameId () const =0 |
|
virtual OdDbStub * | material () const =0 |
|
virtual const OdGiMapper * | mapper () const =0 |
|
virtual OdDbStub * | visualStyle () const |
|
virtual OdCmTransparency | transparency () const |
|
virtual OdUInt32 | drawFlags () const |
|
virtual OdUInt32 | lockFlags () const |
|
virtual bool | selectionGeom () const |
|
virtual ShadowFlags | shadowFlags () const |
|
virtual bool | sectionable () const |
|
virtual SelectionFlags | selectionFlags () const |
|
virtual void | setSecondaryTrueColor (const OdCmEntityColor &color) |
|
virtual OdCmEntityColor | secondaryTrueColor () const |
|
virtual void | setLineStyleModifiers (const OdGiDgLinetypeModifiers *pLSMod) |
|
virtual const OdGiDgLinetypeModifiers * | lineStyleModifiers () const |
|
virtual void | setFill (const OdGiFill *pFill) |
|
virtual const OdGiFill * | fill () const |
|
virtual void | setAuxData (const OdGiAuxiliaryDataPtr &pAuxData) |
|
virtual OdGiAuxiliaryDataPtr | auxData () const |
|
virtual bool | pushLineweightOverride (const OdGiLineweightOverride *pOverride) |
|
virtual void | popLineweightOverride () |
|
virtual bool | pushPaletteOverride (const OdGiPalette *pOverride) |
|
virtual void | popPaletteOverride () |
|
virtual OdUInt32 | setupForEntity () const |
|
virtual void | addLight (const OdDbStub *lightId) |
|
| ODRX_DECLARE_MEMBERS (OdGiDrawableTraits) |
|
| ODRX_HEAP_OPERATORS () |
|
| OdRxObject () |
|
virtual | ~OdRxObject () |
|
virtual OdRxObject * | queryX (const OdRxClass *pClass) const |
|
virtual OdRxObject * | x (const OdRxClass *pClass) const |
|
virtual OdRxClass * | isA () const |
|
virtual void | addRef ()=0 |
|
virtual void | release ()=0 |
|
virtual long | numRefs () const |
|
bool | isKindOf (const OdRxClass *pClass) const |
|
virtual OdRxObjectPtr | clone () const |
|
virtual void | copyFrom (const OdRxObject *pSource) |
|
virtual OdRx::Ordering | comparedTo (const OdRxObject *pOther) const |
|
virtual bool | isEqualTo (const OdRxObject *pOther) const |
|
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
|
static OdRxClass * | desc () |
|
This class provides an implementation of the OdGisubEntityTraits::color() function.
- See also
- TD_Gi
<group OdGi_Classes>
Definition at line 60 of file GiLayerTraitsData.h.