CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
OdGiSubEntityTraitsDataSaver Struct Reference

#include <GiSubEntityTraitsDataSaver.h>

Inheritance diagram for OdGiSubEntityTraitsDataSaver:
OdGiSubEntityTraitsData

Public Member Functions

 ODRX_HEAP_OPERATORS ()
 
 OdGiSubEntityTraitsDataSaver ()
 
 OdGiSubEntityTraitsDataSaver (const OdGiSubEntityTraitsData &from)
 
 OdGiSubEntityTraitsDataSaver (const OdGiSubEntityTraitsDataSaver &from)
 
 ~OdGiSubEntityTraitsDataSaver ()
 
void setMapper (const OdGiMapper *pMapper)
 
void setLineStyleModifiers (const OdGiDgLinetypeModifiers *pLSMod)
 
void setFill (const OdGiFill *pFill)
 
OdGiSubEntityTraitsDataoperator= (const OdGiSubEntityTraitsData &data)
 
- Public Member Functions inherited from OdGiSubEntityTraitsData
 OdGiSubEntityTraitsData ()
 
OdUInt16 flags () const
 
OdUInt16 selFlags () const
 
OdUInt16 geomVisibilityFlags () const
 
OdUInt16 geomVisibilityFlags (bool bHighlighted) const
 
bool isLayerFrozen () const
 
bool isLayerOff () const
 
bool isLayerVisible () const
 
bool visibility () const
 
const OdCmEntityColortrueColor () const
 
OdUInt16 color () const
 
OdDbStub * layer () const
 
OdDbStub * lineType () const
 
OdGiFillType fillType () const
 
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
 
const OdCmTransparencytransparency () const
 
OdUInt32 drawFlags () const
 
OdUInt32 lockFlags () const
 
bool selectionGeom () const
 
OdGiSubEntityTraits::ShadowFlags shadowFlags () const
 
bool sectionable () const
 
OdGiSubEntityTraits::SelectionFlags selectionFlags () const
 
const OdCmEntityColorsecondaryTrueColor () const
 
const OdGiDgLinetypeModifierslineStyleModifiers () const
 
const OdGiFillfill () const
 
OdGiAuxiliaryDataPtr auxData () const
 
void setFlags (OdUInt16 flags)
 
void setSelFlags (OdUInt16 selFlags)
 
void setTrueColor (const OdCmEntityColor &trueColor)
 
void setColor (OdUInt16 colorIndex)
 
void setLayer (OdDbStub *layerId)
 
void setLineType (OdDbStub *lineTypeId)
 
void setFillType (OdGiFillType fillType)
 
void setLineWeight (OdDb::LineWeight lineWeight)
 
void setLineTypeScale (double lineTypeScale)
 
void setThickness (double thickness)
 
void setPlotStyleName (OdDb::PlotStyleNameType plotStyleNameType, OdDbStub *pPlotStyleNameId)
 
void setMaterial (OdDbStub *materialId)
 
void setMapper (const OdGiMapper *pMapper)
 
void setVisualStyle (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)
 
void setSecondaryTrueColor (const OdCmEntityColor &trueColor)
 
void setLineStyleModifiers (const OdGiDgLinetypeModifiers *pLSMod)
 
void setFill (const OdGiFill *pFill)
 
void setAuxData (const OdGiAuxiliaryDataPtr &pAuxData)
 

Protected Member Functions

void deletePtrs ()
 
void allocPtrs ()
 

Additional Inherited Members

- Public Types inherited from OdGiSubEntityTraitsData
enum  { kSelectionGeom = 0x100 , kSectionable = 0x200 , kInheritableSelFlags = kSectionable , kSelectionFlagsMask = 0xFF }
 
enum  { kLayerOff = 1 , kLayerFrozen = 2 }
 
enum  {
  kGeomDisplayNormally = (1 << 0) , kGeomSelectNormally = (1 << 1) , kGeomDisplayHighlighted = (1 << 2) , kGeomSelectHighlighted = (1 << 3) ,
  kGeomAllVisibilityFlags = 0x0F
}
 

Detailed Description

<group OdGi_Classes>

Definition at line 37 of file GiSubEntityTraitsDataSaver.h.

Constructor & Destructor Documentation

◆ OdGiSubEntityTraitsDataSaver() [1/3]

OdGiSubEntityTraitsDataSaver::OdGiSubEntityTraitsDataSaver ( )
inline

Default constructor for the OdGiSubEntityTraitsDataSaver structure.

Definition at line 44 of file GiSubEntityTraitsDataSaver.h.

◆ OdGiSubEntityTraitsDataSaver() [2/3]

OdGiSubEntityTraitsDataSaver::OdGiSubEntityTraitsDataSaver ( const OdGiSubEntityTraitsData from)
inline

Constructor for the OdGiSubEntityTraitsDataSaver structure. Sets the subentity traits data to save.

Parameters
from[in] Subentity traits data to save.

Definition at line 50 of file GiSubEntityTraitsDataSaver.h.

◆ OdGiSubEntityTraitsDataSaver() [3/3]

OdGiSubEntityTraitsDataSaver::OdGiSubEntityTraitsDataSaver ( const OdGiSubEntityTraitsDataSaver from)
inline

Copy constructor for the OdGiSubEntityTraitsDataSaver structure.

Parameters
from[in] Traits saver to copy.

Definition at line 56 of file GiSubEntityTraitsDataSaver.h.

◆ ~OdGiSubEntityTraitsDataSaver()

OdGiSubEntityTraitsDataSaver::~OdGiSubEntityTraitsDataSaver ( )
inline

Destructor for the OdGiSubEntityTraitsDataSaver structure. Deletes all the allocated data.

Definition at line 61 of file GiSubEntityTraitsDataSaver.h.

Member Function Documentation

◆ allocPtrs()

void OdGiSubEntityTraitsDataSaver::allocPtrs ( )
inlineprotected

Definition at line 114 of file GiSubEntityTraitsDataSaver.h.

◆ deletePtrs()

void OdGiSubEntityTraitsDataSaver::deletePtrs ( )
inlineprotected

Definition at line 108 of file GiSubEntityTraitsDataSaver.h.

◆ ODRX_HEAP_OPERATORS()

OdGiSubEntityTraitsDataSaver::ODRX_HEAP_OPERATORS ( )

◆ operator=()

OdGiSubEntityTraitsData & OdGiSubEntityTraitsDataSaver::operator= ( const OdGiSubEntityTraitsData data)
inline

Assignment operator, deletes previously allocated data, assigns the passed object and allocates pointers for new data.

Parameters
pFill[in] Pointer to the fill object.

Definition at line 99 of file GiSubEntityTraitsDataSaver.h.

◆ setFill()

void OdGiSubEntityTraitsDataSaver::setFill ( const OdGiFill pFill)
inline

Sets the object fill.

Parameters
pFill[in] Pointer to the fill object.

Definition at line 88 of file GiSubEntityTraitsDataSaver.h.

◆ setLineStyleModifiers()

void OdGiSubEntityTraitsDataSaver::setLineStyleModifiers ( const OdGiDgLinetypeModifiers pLSMod)
inline

Sets line style modifiers.

Parameters
pLSMod[in] Pointer to the line style modifiers object.

Definition at line 77 of file GiSubEntityTraitsDataSaver.h.

◆ setMapper()

void OdGiSubEntityTraitsDataSaver::setMapper ( const OdGiMapper pMapper)
inline

Sets a mapper.

Parameters
pMapper[in] Pointer to the mapper object.

Definition at line 67 of file GiSubEntityTraitsDataSaver.h.


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