CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
OdGiPerspectivePreprocessor Class Referenceabstract

#include <GiPerspectivePreprocessor.h>

Inheritance diagram for OdGiPerspectivePreprocessor:
OdGiConveyorNode OdRxObject

Public Member Functions

 ODRX_DECLARE_MEMBERS (OdGiPerspectivePreprocessor)
 
virtual void setDeviation (const OdGeDoubleArray &deviations)=0
 
virtual void setDeviation (const OdGiDeviation *pDeviation)=0
 
virtual void setDrawContext (OdGiConveyorContext *pDrawCtx)=0
 
virtual void enable (bool enabled)=0
 
virtual bool enabled () 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
 

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> This class preprocesses geometry before xforming it by perspective matrix.

Remarks
Circles, arcs, ellipses, texts are tesselated, although for export tasks it may be more useful to switch arcs to nurbs curves.

Polylines, polygons, meshes, shells, xlines, rays, and NURBS curves are passed through.

Images and metafiles are not passed.

Definition at line 48 of file GiPerspectivePreprocessor.h.

Member Function Documentation

◆ enable()

virtual void OdGiPerspectivePreprocessor::enable ( bool  enabled)
pure virtual

Enables or disables perspective processor.

Parameters
enabled[in] Flag that specifies whether to enable perspective processor.

◆ enabled()

virtual bool OdGiPerspectivePreprocessor::enabled ( ) const
pure virtual

Checks whether perspective processor is enabled.

Returns
true if perspective processor is enabled, false otherwise.

◆ ODRX_DECLARE_MEMBERS()

OdGiPerspectivePreprocessor::ODRX_DECLARE_MEMBERS ( OdGiPerspectivePreprocessor  )

◆ setDeviation() [1/2]

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

Sets max deviation for curve tessellation.

Parameters
deviations[in] Array with deviation values.

◆ setDeviation() [2/2]

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

Sets deviation object to obtain max deviation for curve tessellation.

Parameters
pDeviation[in] Pointer to the deviation object.

◆ setDrawContext()

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

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

Parameters
pDrawCtx[in] Pointer to the draw context.

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