CFx SDK Documentation  2020SP3
Public Member Functions | Static Public Member Functions | List of all members
OdGiExtAccum Class Referenceabstract

#include <GiExtAccum.h>

Inheritance diagram for OdGiExtAccum:
OdGiConveyorNode OdRxObject OdGsExtAccum

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 OdGiConveyorGeometrygeometry ()=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 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
 

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 OdRxClassdesc ()
 

Additional Inherited Members

- Protected Member Functions inherited from OdGiConveyorNode
 OdGiConveyorNode ()
 

Detailed Description

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.

Member Function Documentation

◆ addExtents()

virtual void OdGiExtAccum::addExtents ( const OdGeExtents3d extents)
pure virtual

Adds the specified extents to the the accumulated extents for the OdGiConveyorGeometry object associated with this object.

Parameters
extents[out] Extents to be added.

Implemented in OdGsExtAccum.

◆ geometry()

virtual OdGiConveyorGeometry& OdGiExtAccum::geometry ( )
pure virtual

Returns the OdGiConveyorGeometry object associated with this object.

Remarks
This instance contains the functions that can be used by an entity to vectorize itself.

Implemented in OdGsExtAccum.

◆ getExtents()

virtual bool OdGiExtAccum::getExtents ( OdGeExtents3d extents) const
pure virtual

Returns the accumulated extents for the OdGiConveyorGeometry object associated with this object.

Parameters
extents[out] Receives the extents.

Implemented in OdGsExtAccum.

◆ ODRX_DECLARE_MEMBERS()

OdGiExtAccum::ODRX_DECLARE_MEMBERS ( OdGiExtAccum  )

◆ plineContainBulges()

virtual bool OdGiExtAccum::plineContainBulges ( ) const
pure virtual

Returns true if and only if any of input pline primitives contain bulges.

Implemented in OdGsExtAccum.

◆ resetExtents()

virtual void OdGiExtAccum::resetExtents ( const OdGeExtents3d newExtents = OdGeExtents3d())
pure virtual

Resets the accumulated extents for the OdGiConveyorGeometry object associated with this object.

Parameters
newExtents[out] New extents.

Implemented in OdGsExtAccum.

◆ setDeviation() [1/2]

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

Sets max deviation for curve tessellation.

Implemented in OdGsExtAccum.

◆ setDeviation() [2/2]

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

Sets deviation object to obtain max deviation for curve tessellation.

Implemented in OdGsExtAccum.

◆ setDrawContext()

virtual void OdGiExtAccum::setDrawContext ( OdGiConveyorContext pDrawContext)
pure virtual

Sets the draw context associated with this object.

Parameters
pDrawContext[in] Pointer to the draw context.

Implemented in OdGsExtAccum.

◆ textExtents()

static void OdGiExtAccum::textExtents ( OdGiConveyorContext pDrawContext,
const OdGiTextStyle textStyle,
const OdChar pStr,
int  nLength,
OdUInt32  raw,
OdGePoint3d minExt,
OdGePoint3d maxExt,
OdGePoint3d pEndPos = NULL,
OdGeExtents3d pExactExtents = NULL 
)
static

Computes text extents.

Parameters
pDrawContext[in] Current conveyor context pointer.
textStyle[in] Text style.
pStr[in] Text string.
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.

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