CFx SDK Documentation  2020SP3
Public Types | Public Member Functions | List of all members
OdGiMetafiler Class Referenceabstract

#include <GiMetafiler.h>

Inheritance diagram for OdGiMetafiler:
OdGiConveyorNode OdRxObject

Public Types

enum  CoordType {
  kUnknown = 0, kModel, kWorld, kEye,
  kDevice
}
 

Public Member Functions

 ODRX_DECLARE_MEMBERS (OdGiMetafiler)
 
virtual void setMetafile (OdGiGeometryMetafile *pMetafile)=0
 
virtual OdGiGeometryMetafilemetafile ()=0
 
virtual void exchangeMetafile (OdGiGeometryMetafile *pMetafile)=0
 
virtual void setDeviation (const OdGeDoubleArray &deviations)=0
 
virtual void setDeviation (const OdGiDeviation *pDeviation)=0
 
virtual void setDrawContext (OdGiConveyorContext *pDrawCtx)=0
 
virtual void setCoordinatesType (CoordType ct)=0
 
virtual CoordType coordinatesType () const =0
 
virtual bool saveTraits (const OdGiSubEntityTraitsData &entTraits, const OdGiSubEntityTraitsData *byBlockTraits=NULL)=0
 
virtual bool saveTraits (const OdGiSubEntityTraitsData *byBlockTraits)=0
 
virtual bool saveTraits ()=0
 
virtual void flush (bool bForceTraits=true)=0
 
virtual void add (OdGiGeometryMetafile::Record *pRec)=0
 
- Public Member Functions inherited from OdGiConveyorNode
 ODRX_DECLARE_MEMBERS (OdGiConveyorNode)
 
virtual OdGiConveyorInputinput ()=0
 
virtual OdGiConveyorOutputoutput ()=0
 
- 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
 

Additional Inherited Members

- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 
- Protected Member Functions inherited from OdGiConveyorNode
 OdGiConveyorNode ()
 

Detailed Description

<group OdGi_Classes>

Definition at line 129 of file GiMetafiler.h.

Member Enumeration Documentation

◆ CoordType

Enumerator
kUnknown 
kModel 
kWorld 
kEye 
kDevice 

Definition at line 151 of file GiMetafiler.h.

Member Function Documentation

◆ add()

virtual void OdGiMetafiler::add ( OdGiGeometryMetafile::Record pRec)
pure virtual

Adds metafile record to the records list.

◆ coordinatesType()

virtual CoordType OdGiMetafiler::coordinatesType ( ) const
pure virtual

Returns coordinates type used by this metafiler object.

◆ exchangeMetafile()

virtual void OdGiMetafiler::exchangeMetafile ( OdGiGeometryMetafile pMetafile)
pure virtual

◆ flush()

virtual void OdGiMetafiler::flush ( bool  bForceTraits = true)
pure virtual

Flush all data to the metafile

◆ metafile()

virtual OdGiGeometryMetafile* OdGiMetafiler::metafile ( )
pure virtual

◆ ODRX_DECLARE_MEMBERS()

OdGiMetafiler::ODRX_DECLARE_MEMBERS ( OdGiMetafiler  )

◆ saveTraits() [1/3]

virtual bool OdGiMetafiler::saveTraits ( )
pure virtual

Save only effective traits into metafile.

◆ saveTraits() [2/3]

virtual bool OdGiMetafiler::saveTraits ( const OdGiSubEntityTraitsData entTraits,
const OdGiSubEntityTraitsData byBlockTraits = NULL 
)
pure virtual

Save traits into metafile. Optionally save ByBlock traits.

◆ saveTraits() [3/3]

virtual bool OdGiMetafiler::saveTraits ( const OdGiSubEntityTraitsData byBlockTraits)
pure virtual

Save effective traits into metafile. Optionally save ByBlock traits.

◆ setCoordinatesType()

virtual void OdGiMetafiler::setCoordinatesType ( CoordType  ct)
pure virtual

Sets coordinates type for geometry stored by metafiler.

◆ setDeviation() [1/2]

virtual void OdGiMetafiler::setDeviation ( const OdGeDoubleArray deviations)
pure virtual

Sets max deviation for curve tesselation.

◆ setDeviation() [2/2]

virtual void OdGiMetafiler::setDeviation ( const OdGiDeviation pDeviation)
pure virtual

Sets deviation object to obtain max deviation for curve tesselation.

◆ setDrawContext()

virtual void OdGiMetafiler::setDrawContext ( OdGiConveyorContext pDrawCtx)
pure virtual

Sets the draw context object (to access to traits, etc).

◆ setMetafile()

virtual void OdGiMetafiler::setMetafile ( OdGiGeometryMetafile pMetafile)
pure virtual

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