CFx SDK Documentation  2020SP3
Classes | Public Member Functions | List of all members
OdGiPlotGenerator Class Referenceabstract

#include <GiPlotGenerator.h>

Inheritance diagram for OdGiPlotGenerator:
OdGiConveyorNode OdRxObject

Classes

class  EllipseOut
 
class  PolylineOut
 

Public Member Functions

 ODRX_DECLARE_MEMBERS (OdGiPlotGenerator)
 
virtual void setDeviation (const OdGeDoubleArray &deviations)=0
 
virtual void setDeviation (const OdGiDeviation *pDeviation)=0
 
virtual void setDrawContext (OdGiConveyorContext *pDrawContext)=0
 
virtual void enable (bool bEnable)=0
 
virtual bool enabled () const =0
 
virtual void dot_per_inch (double dpi)=0
 
virtual double dot_per_inch () const =0
 
void dot_per_mm (double dpmm)
 
double dot_per_mm () const
 
virtual void setPlotStyle (const OdPsPlotStyleData &psd)=0
 
virtual void setExternalPolylineOut (PolylineOut *pPolylineOut)=0
 
virtual PolylineOutexternalPolylineOut () const =0
 
virtual void setExternalEllipseOut (EllipseOut *pEllipseOut)=0
 
virtual EllipseOutexternalEllipseOut () 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

This class is the base class for custom classes that implements software plot generation for OdGiConveyorGeometry objects. Corresponding C++ library: TD_Gi <group OdGi_Classes>

Definition at line 39 of file GiPlotGenerator.h.

Member Function Documentation

◆ dot_per_inch() [1/2]

virtual double OdGiPlotGenerator::dot_per_inch ( ) const
pure virtual

Returns current software plot generation output DPI.

◆ dot_per_inch() [2/2]

virtual void OdGiPlotGenerator::dot_per_inch ( double  dpi)
pure virtual

Sets software plot generation output DPI.

Parameters
dpi[in] Value to set.

◆ dot_per_mm() [1/2]

double OdGiPlotGenerator::dot_per_mm ( ) const
inline

Returns current software plot generation output DPI as millimeters.

Definition at line 146 of file GiPlotGenerator.h.

◆ dot_per_mm() [2/2]

void OdGiPlotGenerator::dot_per_mm ( double  dpmm)
inline

Sets software plot generation output DPI and millimeters.

Parameters
dpmm[in] DPI in millimeters to set.

Definition at line 140 of file GiPlotGenerator.h.

◆ enable()

virtual void OdGiPlotGenerator::enable ( bool  bEnable)
pure virtual

Enable/Disable plot generation.

Parameters
bEnable[in] Flag to set.

◆ enabled()

virtual bool OdGiPlotGenerator::enabled ( ) const
pure virtual

Returns true if and only if software plot generation is enabled.

◆ externalEllipseOut()

virtual EllipseOut* OdGiPlotGenerator::externalEllipseOut ( ) const
pure virtual

◆ externalPolylineOut()

virtual PolylineOut* OdGiPlotGenerator::externalPolylineOut ( ) const
pure virtual

Returns current interface for extended line style emulation.

Remarks
By default (until PolylineOut interface doesn't set) it is returns Null. This is means that software plot generator will handle extended line style internally.

◆ ODRX_DECLARE_MEMBERS()

OdGiPlotGenerator::ODRX_DECLARE_MEMBERS ( OdGiPlotGenerator  )

◆ setDeviation() [1/2]

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

Sets max deviation for curve tesselation.

◆ setDeviation() [2/2]

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

Sets deviation object to obtain max deviation for curve tesselation.

◆ setDrawContext()

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

Sets the draw context associated with this object.

Parameters
pDrawContext[in] Pointer to the draw context.

◆ setExternalEllipseOut()

virtual void OdGiPlotGenerator::setExternalEllipseOut ( EllipseOut pEllipseOut)
pure virtual

◆ setExternalPolylineOut()

virtual void OdGiPlotGenerator::setExternalPolylineOut ( PolylineOut pPolylineOut)
pure virtual

Sets external interface for extended line style emulation.

Parameters
pPolylineOut[in] Pointer to implementation of PolylineOut interface.

◆ setPlotStyle()

virtual void OdGiPlotGenerator::setPlotStyle ( const OdPsPlotStyleData psd)
pure virtual

Sets current plot style.

Parameters
psd[in] Plot style to set.

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