CFx SDK Documentation 2024 SP0
|
#include <GiExtAccum.h>
Public Member Functions | |
ODRX_DECLARE_MEMBERS (OdGiExtAccum) | |
virtual void | setDrawContext (OdGiConveyorContext *pDrawContext)=0 |
virtual void | setDeviation (const OdGeDoubleArray &deviations)=0 |
virtual void | setDeviation (const OdGiDeviation *pDeviation)=0 |
virtual OdGiConveyorGeometry & | geometry ()=0 |
virtual bool | getExtents (OdGeExtents3d &extents) const =0 |
virtual void | resetExtents (const OdGeExtents3d &newExtents=OdGeExtents3d())=0 |
virtual void | addExtents (const OdGeExtents3d &extents)=0 |
virtual bool | plineContainBulges () const =0 |
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 |
Static Public Member Functions | |
static void | textExtents (OdGiConveyorContext *pDrawContext, const OdGiTextStyle &textStyle, const OdChar *pStr, int nLength, OdUInt32 raw, OdGePoint3d &minExt, OdGePoint3d &maxExt, OdGePoint3d *pEndPos=NULL, OdGeExtents3d *pExactExtents=NULL) |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
Additional Inherited Members | |
Protected Member Functions inherited from OdGiConveyorNode | |
OdGiConveyorNode () | |
This class is the base class for custom classes that compute the extents of OdGiConveyorGeometry objects. Corresponding C++ library: TD_Gi <group OdGi_Classes>
Definition at line 39 of file GiExtAccum.h.
|
pure virtual |
Adds the specified extents to the the accumulated extents for the OdGiConveyorGeometry object associated with this object.
extents | [out] Extents to be added. |
Implemented in OdGsExtAccum.
|
pure virtual |
Returns the OdGiConveyorGeometry object associated with this object.
Implemented in OdGsExtAccum.
|
pure virtual |
Retrieves the accumulated extents for the OdGiConveyorGeometry object associated with this object.
extents | [out] Receives the extents. |
Implemented in OdGsExtAccum.
OdGiExtAccum::ODRX_DECLARE_MEMBERS | ( | OdGiExtAccum | ) |
|
pure virtual |
Checks if pline primitives contain bulges.
Implemented in OdGsExtAccum.
|
pure virtual |
Resets the accumulated extents for the OdGiConveyorGeometry object associated with this object.
newExtents | [out] New extents. |
Implemented in OdGsExtAccum.
|
pure virtual |
Sets max deviation for curve tessellation.
deviations | [in] Deviation values for curve tessellation. |
Implemented in OdGsExtAccum.
|
pure virtual |
Sets deviation object to obtain max deviation for curve tessellation.
deviations | [in] Pointer to the OdGiDeviation object to define deviation for curve tessellation. |
Implemented in OdGsExtAccum.
|
pure virtual |
Sets the draw context associated with this object.
pDrawContext | [in] Pointer to the draw context. |
Implemented in OdGsExtAccum.
|
static |
Computes text extents.
pDrawContext | [in] Current conveyor context pointer. |
textStyle | [in] Text style. |
pStr | [in] Pointer to a text string. |
nLength | [in] Text length. |
raw | [in] Text flags. |
minExt | [out] Minimal text extents point. |
maxExt | [out] Maximal text extents point. |
pEndPos | [out] Optional pointer to end text point. |
pExactExtents | [out] Optional pointer to exact text extents. |