CFx SDK Documentation  2020SP3
Protected Member Functions | List of all members
OdGiLayerTraits_ Class Referenceabstract

#include <GiLayerTraitsData.h>

Inheritance diagram for OdGiLayerTraits_:
OdGiLayerTraits OdGiDrawableTraits OdRxObject OdGiLayerTraitsTaker OdGiLayerTraitsTakerView

Protected Member Functions

OdCmEntityColor color () const
 

Additional Inherited Members

- Public Types inherited from OdGiLayerTraits
enum  {
  kByBlock = (OdGiDrawable::kLastFlag << 1), kFrozen = (OdGiDrawable::kLastFlag << 2), kOff = (OdGiDrawable::kLastFlag << 3), kPlottable = (OdGiDrawable::kLastFlag << 4),
  kLocked = (OdGiDrawable::kLastFlag << 5)
}
 
- Public Member Functions inherited from OdGiLayerTraits
 ODRX_DECLARE_MEMBERS (OdGiLayerTraits)
 
virtual OdDb::LineWeight lineweight () const =0
 
virtual OdDbStub * linetype () const =0
 
virtual OdDb::PlotStyleNameType plotStyleNameType () const =0
 
virtual OdDbStub * plotStyleNameId () const =0
 
virtual OdDbStub * materialId () const =0
 
virtual OdCmTransparency transparency () const =0
 
virtual void setColor (const OdCmEntityColor &color)=0
 
virtual void setLineweight (OdDb::LineWeight lineweight)=0
 
virtual void setLinetype (OdDbStub *pLinetypeId)=0
 
virtual void setPlotStyleName (OdDb::PlotStyleNameType plotStyleNameType, OdDbStub *pPlotStyleNameId=0)=0
 
virtual void setMaterial (OdDbStub *pMaterialId)=0
 
virtual void setTransparency (const OdCmTransparency &transparency)=0
 
- Public Member Functions inherited from OdGiDrawableTraits
 ODRX_DECLARE_MEMBERS (OdGiDrawableTraits)
 
- Public Member Functions inherited from OdRxObject
 ODRX_HEAP_OPERATORS ()
 
 OdRxObject ()
 
virtual ~OdRxObject ()
 
virtual OdRxObjectqueryX (const OdRxClass *pClass) const
 
virtual OdRxObjectx (const OdRxClass *pClass) const
 
virtual OdRxClassisA () 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 Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 

Detailed Description

This class provides an implementation of the OdGiLayerTraits::color() function.

See also
TD_Gi

<group OdGi_Classes>

Definition at line 45 of file GiLayerTraitsData.h.

Member Function Documentation

◆ color()

OdCmEntityColor OdGiLayerTraits_::color ( ) const
inlineprotectedvirtual

Returns the color for this object.

Implements OdGiLayerTraits.

Definition at line 49 of file GiLayerTraitsData.h.


The documentation for this class was generated from the following file: