CFx SDK Documentation 2024 SP0
|
#include <GiNonEntityTraits.h>
Public Types | |
enum | { kByBlock = (OdGiDrawable::kLastFlag << 1) , kFrozen = (OdGiDrawable::kLastFlag << 2) , kOff = (OdGiDrawable::kLastFlag << 3) , kPlottable = (OdGiDrawable::kLastFlag << 4) , kLocked = (OdGiDrawable::kLastFlag << 5) } |
Public Member Functions | |
ODRX_DECLARE_MEMBERS (OdGiLayerTraits) | |
virtual OdCmEntityColor | color () const =0 |
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 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 |
Additional Inherited Members | |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
This class defines the interface to the layer traits for the vectorization process.
Corresponding C++ library: TD_Gi <group OdGi_Classes>
Definition at line 46 of file GiNonEntityTraits.h.
anonymous enum |
Enumerator | |
---|---|
kByBlock | Traits inherited by block. |
kFrozen | Frozen layer. |
kOff | Layer is switched off. |
kPlottable | Layer is plottable. |
kLocked | Layer is locked. |
Definition at line 53 of file GiNonEntityTraits.h.
|
pure virtual |
Retrieves the color for this object.
Implemented in OdGiLayerTraits_.
|
pure virtual |
Retrieves the Object ID of the linetype for this object.
Implemented in OdGiLayerTraitsTaker.
|
pure virtual |
Retrieves the lineweight for this object.
Implemented in OdGiLayerTraitsTaker.
|
pure virtual |
Retrieves the Object ID of the material.
Implemented in OdGiLayerTraitsTaker.
OdGiLayerTraits::ODRX_DECLARE_MEMBERS | ( | OdGiLayerTraits | ) |
|
pure virtual |
Retrieves the Object ID of the Plot Style Name.
Implemented in OdGiLayerTraitsTaker.
|
pure virtual |
Returns the Plot Style Name Type for this object.
Value
OdDb::kPlotStyleNameByLayer 0 OdDb::kPlotStyleNameByBlock 1 OdDb::kPlotStyleNameIsDictDefault 2 OdDb::kPlotStyleNameById 3
Implemented in OdGiLayerTraitsTaker.
|
pure virtual |
Sets the color for this object.
color | [in] Entity color. |
Implemented in OdGiLayerTraitsTaker.
|
pure virtual |
Sets the linetype for this object.
pLinetypeId | [in] Pointer to the Object ID of the linetype. |
Implemented in OdGiLayerTraitsTaker.
|
pure virtual |
Sets the lineweight for this object.
lineweight | [in] Lineweight. |
Implemented in OdGiLayerTraitsTaker.
|
pure virtual |
Sets the material ID for this object.
pMaterialId | [in] Pointer to the Object ID of the material. |
Implemented in OdGiLayerTraitsTaker.
|
pure virtual |
Sets the Plot Style Name for this object.
plotStyleNameType | [in] Plot Style Name Type. |
pPlotStyleNameId | [in] Pointer to the Object ID of the Plot Style Name. |
plotStyleNameType must be one of the following:
Value
OdDb::kPlotStyleNameByLayer 0 OdDb::kPlotStyleNameByBlock 1 OdDb::kPlotStyleNameIsDictDefault 2 OdDb::kPlotStyleNameById 3
Implemented in OdGiLayerTraitsTaker.
|
pure virtual |
Sets the transparency for this object.
transparency | [in] OdCmTransparency object. |
Implemented in OdGiLayerTraitsTaker.
|
pure virtual |
Retrieves the transparency for this object.
Implemented in OdGiLayerTraitsTaker.