CFx SDK Documentation  2020SP3
Public Member Functions | Protected Member Functions | List of all members
OdGiXform Class Referenceabstract

#include <GiXform.h>

Inheritance diagram for OdGiXform:
OdGiConveyorNode OdRxObject

Public Member Functions

 ODRX_DECLARE_MEMBERS (OdGiXform)
 
virtual void setTransform (const OdGeMatrix3d &xMat)=0
 
virtual void transform (OdGeMatrix3d &xMat) const =0
 
virtual void setOutput2dPoints (bool bOutput2dPoints)=0
 
virtual bool output2dPoints () 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
 

Protected Member Functions

 OdGiXform ()
 
- Protected Member Functions inherited from OdGiConveyorNode
 OdGiConveyorNode ()
 

Additional Inherited Members

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

Detailed Description

<group OdGi_Classes>

Definition at line 36 of file GiXform.h.

Constructor & Destructor Documentation

◆ OdGiXform()

OdGiXform::OdGiXform ( )
protected

Member Function Documentation

◆ ODRX_DECLARE_MEMBERS()

OdGiXform::ODRX_DECLARE_MEMBERS ( OdGiXform  )

◆ output2dPoints()

virtual bool OdGiXform::output2dPoints ( ) const
pure virtual

◆ setOutput2dPoints()

virtual void OdGiXform::setOutput2dPoints ( bool  bOutput2dPoints)
pure virtual

Enable output as 2d points mode.

Parameters
bOutput2dPoints[in] Output as 2d points mode flag.
Remarks
This flag indicating that when applying transformation to the input points, output points should be considered as 2d points, z-coordinate won't be used and does not require calculation.

This way could be used to avoid extra arithmetic operations on doubles.

An example of setOutput2dPoints() usage is GDI device implementation. The last stage of geometry conveyor when playing metafiles to device is OdGiXForm (metafile to device transformation). It produces points in pixel coordinates, does not require z coordinate to be calculated.

◆ setTransform()

virtual void OdGiXform::setTransform ( const OdGeMatrix3d xMat)
pure virtual

◆ transform()

virtual void OdGiXform::transform ( OdGeMatrix3d xMat) const
pure virtual

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