CFx SDK Documentation  2023 SP0
Public Member Functions | List of all members
OdGiOrthoClipper Class Referenceabstract

#include <GiOrthoClipper.h>

Inheritance diagram for OdGiOrthoClipper:
OdGiConveyorNode OdRxObject OdGiOrthoClipperEx

Public Member Functions

 ODRX_DECLARE_MEMBERS (OdGiOrthoClipper)
 
virtual void set (OdUInt32 nPoints, const OdGePoint2d *points, bool bClipLowerZ=false, double dLowerZ=0.0, bool bClipUpperZ=false, double dUpperZ=0.0)=0
 
virtual void set (const OdGePoint2dArray &points, bool bClipLowerZ=false, double dLowerZ=0.0, bool bClipUpperZ=false, double dUpperZ=0.0)=0
 
virtual void get (OdGePoint2dArray &points, bool &bClipLowerZ, double &dLowerZ, bool &bClipUpperZ, double &dUpperZ) const =0
 
virtual void setDeviation (const OdGeDoubleArray &deviations)=0
 
virtual void setDeviation (const OdGiDeviation *pDeviation)=0
 
virtual void setDrawContext (OdGiConveyorContext *pDrawCtx)=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 geometry clipper objects. <group OdGi_Classes>

Definition at line 41 of file GiOrthoClipper.h.

Member Function Documentation

◆ get()

virtual void OdGiOrthoClipper::get ( OdGePoint2dArray points,
bool &  bClipLowerZ,
double &  dLowerZ,
bool &  bClipUpperZ,
double &  dUpperZ 
) const
pure virtual

Returns a clipping stage.

Parameters
points[out] Array of points defining sides of clipping prism perpendicular to XY.
bClipLowerZ[out] Flag which indicates that there is a lower clipping plane.
dLowerZ[out] Z-coordinate of the lower clipping plane.
bClipUpperZ[out] Flag which indicates that there is an upper clipping plane.
dUpperZ[out] Z-coordinate of the upper clipping plane.

◆ ODRX_DECLARE_MEMBERS()

OdGiOrthoClipper::ODRX_DECLARE_MEMBERS ( OdGiOrthoClipper  )

◆ set() [1/2]

virtual void OdGiOrthoClipper::set ( const OdGePoint2dArray points,
bool  bClipLowerZ = false,
double  dLowerZ = 0.0,
bool  bClipUpperZ = false,
double  dUpperZ = 0.0 
)
pure virtual

Creates a clipping stage.

Parameters
points[in] Array of 2D points defining sides of clipping prism perpendicular to XY.
bClipLowerZ[in] Flag which indicates that there is a lower clipping plane.
dLowerZ[in] Z-coordinate of the lower clipping plane.
bClipUpperZ[in] Flag which indicates that there is an upper clipping plane.
dUpperZ[in] Z-coordinate of the upper clipping plane.

◆ set() [2/2]

virtual void OdGiOrthoClipper::set ( OdUInt32  nPoints,
const OdGePoint2d points,
bool  bClipLowerZ = false,
double  dLowerZ = 0.0,
bool  bClipUpperZ = false,
double  dUpperZ = 0.0 
)
pure virtual

Creates a clipping stage.

Parameters
nPoints[in] Count of points.
points[in] Points defining sides of clipping prism perpendicular to XY.
bClipLowerZ[in] Flag which indicates that there is a lower clipping plane.
dLowerZ[in] Z-coordinate of the lower clipping plane.
bClipUpperZ[in] Flag which indicates that there is an upper clipping plane.
dUpperZ[in] Z-coordinate of the upper clipping plane.
Remarks
If nPoints is 0 - XY clip is disabled. If nPoints is 2 - defines a rectangle clipping prism.

◆ setDeviation() [1/2]

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

Sets max deviation for curve tesselation.

◆ setDeviation() [2/2]

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

Sets deviation object to obtain max deviation for curve tesselation.

◆ setDrawContext()

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

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


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