|
CFx SDK Documentation 2024 SP0
|
#include <GiMetafiler.h>
Public Types | |
| enum | CoordType { kUnknown = 0 , kModel , kWorld , kEye , kDevice } |
| enum | EOptions { kTextAsText = 1 , kNurbsAsNurbs = 2 , kPlineAsPline = 4 , kDisableImageConversion = 8 } |
Public Member Functions | |
| ODRX_DECLARE_MEMBERS (OdGiMetafiler) | |
| virtual void | setMetafile (OdGiGeometryMetafile *pMetafile)=0 |
| virtual OdGiGeometryMetafile * | metafile ()=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 |
| virtual void | setOptions (OdUInt32 options) |
| virtual OdUInt32 | options () const |
Public Member Functions inherited from OdGiConveyorNode | |
| ODRX_DECLARE_MEMBERS (OdGiConveyorNode) | |
| virtual OdGiConveyorInput & | input ()=0 |
| virtual OdGiConveyorOutput & | output ()=0 |
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 () |
Protected Member Functions inherited from OdGiConveyorNode | |
| OdGiConveyorNode () | |
Coordinates types for geometry.
| Enumerator | |
|---|---|
| kUnknown | Unknown. |
| kModel | Model space coordinates. |
| kWorld | World space coordinates. |
| kEye | Eye space coordinates. |
| kDevice | Device space coordinates. |
Definition at line 290 of file GiMetafiler.h.
Metafiler storage options.
Definition at line 366 of file GiMetafiler.h.
|
pure virtual |
Adds a metafile record to the records list.
| pRec | [in] Pointer to the metafile record to be added. |
|
pure virtual |
Retrieves the coordinates type used by this metafiler object.
|
pure virtual |
Replaces a metafile, sets the last metafile record to be the current.
| pMetafile | [in] Pointer to a geometry metafile. |
Flushes all data to the metafile.
| bForceTraits | [in] Flag that specifies whether data should be flushed even if geometry buffers are empty. |
|
pure virtual |
Retrieves a metafile associated with this object.
| OdGiMetafiler::ODRX_DECLARE_MEMBERS | ( | OdGiMetafiler | ) |
|
inlinevirtual |
Retrieves options used by this metafiler object.
Definition at line 391 of file GiMetafiler.h.
|
pure virtual |
Saves effective traits only into the metafile.
|
pure virtual |
Saves traits into the metafile. Optionally saves ByBlock traits.
| entTraits | [in] Entity traits to save. |
| byBlockTraits | [in] Pointer to optional byBlock traits to save. |
|
pure virtual |
Saves ByBlock traits into the metafile.
| byBlockTraits | [in] Pointer to ByBlock traits to save. |
Sets the coordinates type for geometry stored by the metafiler.
| ct | [in] Coordinates type. |
|
pure virtual |
Sets the max deviation for curve tesselation.
| deviations | [in] Array of deviation values. |
|
pure virtual |
Sets a deviation object to obtain max deviation for curve tesselation.
| pDeviation | [in] Pointer to the deviation object. |
|
pure virtual |
Sets the draw context object (to access traits, etc).
| pDeviation | [in] Pointer to the deviation object. |
|
pure virtual |
Sets a metafile.
| pMetafile | [in] Pointer to a geometry metafile. |
Sets the metafiler options.
| options | [in] Metafiler options. |
Definition at line 383 of file GiMetafiler.h.