CFx SDK Documentation  2020SP3
Public Member Functions | Static Public Member Functions | List of all members
OdGiSubEntityTraitsToData Class Reference

#include <GiDummyGeometry.h>

Inheritance diagram for OdGiSubEntityTraitsToData:
OdGiSubEntityTraitsToDataWrapper< OdStaticRxObject< OdGiSubEntityTraits >, OdGiSubEntityTraitsData > OdGiSubEntityTraitsChangedFlags OdStaticRxObject< OdGiSubEntityTraits > OdGiSubEntityTraits OdGiDrawableTraits OdRxObject

Public Member Functions

 OdGiSubEntityTraitsToData ()
 
 OdGiSubEntityTraitsToData (OdGiSubEntityTraitsData &pData)
 
- Public Member Functions inherited from OdGiSubEntityTraitsToDataWrapper< OdStaticRxObject< OdGiSubEntityTraits >, OdGiSubEntityTraitsData >
 OdGiSubEntityTraitsToDataWrapper ()
 
void setTraits (OdGiSubEntityTraitsData &pTraits)
 
OdGiSubEntityTraitsDatagetTraits () const
 
void setColor (OdUInt16 n)
 
void setTrueColor (const OdCmEntityColor &n)
 
void setLayer (OdDbStub *n)
 
void setLineType (OdDbStub *n)
 
void setSelectionMarker (OdGsMarker)
 
void setFillType (OdGiFillType n)
 
void setFillPlane (const OdGeVector3d *=0)
 
void setLineWeight (OdDb::LineWeight n)
 
void setLineTypeScale (double n=1.0)
 
void setThickness (double n)
 
void setPlotStyleName (OdDb::PlotStyleNameType n, OdDbStub *m=0)
 
void setMaterial (OdDbStub *n)
 
void setMapper (const OdGiMapper *n)
 
void setVisualStyle (const OdDbStub *n)
 
void setTransparency (const OdCmTransparency &transparency)
 
void setDrawFlags (OdUInt32 drawFlags)
 
void setSelectionGeom (bool bSelectionFlag)
 
void setShadowFlags (OdGiSubEntityTraits::ShadowFlags shadowFlags)
 
void setSectionable (bool bSectionableFlag)
 
void setSelectionFlags (OdGiSubEntityTraits::SelectionFlags selectionFlags)
 
void setSecondaryTrueColor (const OdCmEntityColor &n)
 
void setLineStyleModifiers (const OdGiDgLinetypeModifiers *pLSMod)
 
void setFill (const OdGiFill *pFill)
 
OdUInt16 color () const
 
OdCmEntityColor trueColor () const
 
OdDbStub * layer () const
 
OdDbStub * lineType () const
 
OdGiFillType fillType () const
 
bool fillPlane (OdGeVector3d &)
 
OdDb::LineWeight lineWeight () const
 
double lineTypeScale () const
 
double thickness () const
 
OdDb::PlotStyleNameType plotStyleNameType () const
 
OdDbStub * plotStyleNameId () const
 
OdDbStub * material () const
 
const OdGiMappermapper () const
 
OdDbStub * visualStyle () const
 
OdCmTransparency transparency () const
 
OdUInt32 drawFlags () const
 
bool selectionGeom () const
 
OdGiSubEntityTraits::ShadowFlags shadowFlags () const
 
bool sectionable () const
 
OdGiSubEntityTraits::SelectionFlags selectionFlags () const
 
OdCmEntityColor secondaryTrueColor () const
 
const OdGiDgLinetypeModifierslineStyleModifiers () const
 
const OdGiFillfill () const
 
- Public Member Functions inherited from OdStaticRxObject< OdGiSubEntityTraits >
void addRef ()
 
void release ()
 
- Public Member Functions inherited from OdGiSubEntityTraits
 ODRX_DECLARE_MEMBERS (OdGiSubEntityTraits)
 
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 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 OdGiMappermapper () const =0
 
virtual OdDbStub * visualStyle () const
 
virtual OdCmTransparency transparency () const
 
virtual OdUInt32 drawFlags () const
 
virtual bool selectionGeom () const
 
virtual ShadowFlags shadowFlags () const
 
virtual bool sectionable () const
 
virtual SelectionFlags selectionFlags () const
 
virtual OdCmEntityColor secondaryTrueColor () const
 
virtual const OdGiDgLinetypeModifierslineStyleModifiers () const
 
virtual const OdGiFillfill () const
 
virtual bool pushLineweightOverride (const OdGiLineweightOverride *pOverride)
 
virtual void popLineweightOverride ()
 
virtual OdUInt32 setupForEntity () const
 
virtual void addLight (const OdDbStub *lightId)
 
- 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 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

static void copyTraits (OdGiSubEntityTraits &pFrom, OdGiSubEntityTraits &pTo, OdUInt32 nFlags=kAllChanged)
 
- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 

Additional Inherited Members

- Public Types inherited from OdGiSubEntityTraits
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, kInternalDrawFlags = kDisableLayoutCache | kClipSetIsEmpty, kDrawPolygonFill = 0x100000, kExcludeFromViewExt = 0x200000,
  kDrawDgLsPolyWithoutBreaks = 0x400000, kPolygonProcessing = 0x800000, kDisableAutoGenerateNormals = 0x1000000, kDisableFillModeCheck = 0x2000000,
  kDrawUnderlayReference = 0x4000000, kFxNoFillOnSelect = 0x08000000, kInheritableDrawFlags
}
 
enum  ShadowFlags { kShadowsCastAndReceive = 0, kShadowsDoesNotCast = 1, kShadowsDoesNotReceive = 2, kShadowsIgnore = kShadowsDoesNotCast | kShadowsDoesNotReceive }
 
enum  SelectionFlags { kNoSelectionFlags = 0, kSelectionIgnore = 1, kHighlightingGeometry = 2, kFxSubentitySelection = 0x80 }
 
enum  SubEntityHints {
  kHint2DAttributes = 1, kHint3DAttributes = 2, kHintAllAttributes = kHint2DAttributes | kHint3DAttributes, kHintSnapModeOn = 4,
  kHintDefaultState = kHintAllAttributes
}
 
- Public Types inherited from OdGiSubEntityTraitsChangedFlags
enum  ChangedTraits {
  kFirstChangedFlag = 1, kColorChanged = kFirstChangedFlag << 0, kLayerChanged = kFirstChangedFlag << 1, kLineTypeChanged = kFirstChangedFlag << 2,
  kFillTypeChanged = kFirstChangedFlag << 3, kLineWeightChanged = kFirstChangedFlag << 4, kLineTypeScaleChanged = kFirstChangedFlag << 5, kThicknessChanged = kFirstChangedFlag << 6,
  kPlotStyleChanged = kFirstChangedFlag << 7, kMaterialChanged = kFirstChangedFlag << 8, kMapperChanged = kFirstChangedFlag << 9, kVisualStyleChanged = kFirstChangedFlag << 10,
  kTransparencyChanged = kFirstChangedFlag << 11, kDrawFlagsChanged = kFirstChangedFlag << 12, kSelectionGeomChanged = kFirstChangedFlag << 13, kShadowFlagsChanged = kFirstChangedFlag << 14,
  kSectionableChanged = kFirstChangedFlag << 15, kSelectionFlagsChanged = kFirstChangedFlag << 16, kSecColorChanged = kFirstChangedFlag << 17, kLSModifiersChanged = kFirstChangedFlag << 18,
  kFillChanged = kFirstChangedFlag << 19, kAwareFlagChanged = kFirstChangedFlag << 20, kAllChanged = 0x1FFFFF, kSomeChanged = kAllChanged
}
 
- Protected Attributes inherited from OdGiSubEntityTraitsToDataWrapper< OdStaticRxObject< OdGiSubEntityTraits >, OdGiSubEntityTraitsData >
OdGiSubEntityTraitsDatam_pTraits
 

Detailed Description

Corresponding C++ library: TD_Gi <group OdGi_Classes>

Definition at line 359 of file GiDummyGeometry.h.

Constructor & Destructor Documentation

◆ OdGiSubEntityTraitsToData() [1/2]

OdGiSubEntityTraitsToData::OdGiSubEntityTraitsToData ( )
inline

Definition at line 363 of file GiDummyGeometry.h.

◆ OdGiSubEntityTraitsToData() [2/2]

OdGiSubEntityTraitsToData::OdGiSubEntityTraitsToData ( OdGiSubEntityTraitsData pData)
inline

Definition at line 364 of file GiDummyGeometry.h.

Member Function Documentation

◆ copyTraits()

static void OdGiSubEntityTraitsToData::copyTraits ( OdGiSubEntityTraits pFrom,
OdGiSubEntityTraits pTo,
OdUInt32  nFlags = kAllChanged 
)
inlinestatic

Definition at line 366 of file GiDummyGeometry.h.


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