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

#include <GiOrthoClipperEx.h>

Inheritance diagram for OdGiOrthoClipperEx:
OdGiOrthoClipper OdGiConveyorNode OdRxObject

Classes

struct  ClipPlane
 
struct  PolyTolOverride
 
struct  TolOverride
 

Public Types

enum  ClipLimit { kPolyClipLimit = 0 , kNumClipLimits }
 
enum  ClipStageFlags {
  kCSNoFlags = 0 , kCSDisabled = (1 << 0) , kCSInverted = (1 << 1) , kCSEnableSections = (1 << 2) ,
  kCSEnableCutting = (1 << 3) , kCSPassNonSections = (1 << 4)
}
 
enum  CountsClassify {
  kCCDontClassify = 0 , kCCClassifiedByInclusion , kCCClassifiedByInteger , kCCClassifiedByOrder ,
  kCCClassifiedByNormal , kCCClassifiedByXor , kCCClassifiedBySignedXor
}
 
enum  VisibilityStatus { kStatusInvisible = -1 , kStatusClipped = 0 , kStatusVisible = 1 }
 
typedef OdArray< ClipPlane, OdObjectsAllocator< ClipPlane > > ClipPlanesArray
 

Public Member Functions

 ODRX_DECLARE_MEMBERS (OdGiOrthoClipperEx)
 
 TD_USING (OdGiOrthoClipper::set)
 
 TD_USING (OdGiOrthoClipper::get)
 
virtual void set (bool bInverted, OdUInt32 nPoints, const OdGePoint2d *points, bool bClipLowerZ=false, double dLowerZ=0.0, bool bClipUpperZ=false, double dUpperZ=0.0)=0
 
virtual void set (bool bInverted, const OdGePoint2dArray &points, bool bClipLowerZ=false, double dLowerZ=0.0, bool bClipUpperZ=false, double dUpperZ=0.0)=0
 
virtual void get (bool &bInverted, OdGePoint2dArray &points, bool &bClipLowerZ, double &dLowerZ, bool &bClipUpperZ, double &dUpperZ) const =0
 
virtual void set (bool bPreprocess, OdUInt32 nCounts, const int *counts, OdUInt32 nPoints, const OdGePoint2d *points, bool bClipLowerZ=false, double dLowerZ=0.0, bool bClipUpperZ=false, double dUpperZ=0.0)=0
 
virtual void set (bool bPreprocess, const OdIntArray &counts, const OdGePoint2dArray &points, bool bClipLowerZ=false, double dLowerZ=0.0, bool bClipUpperZ=false, double dUpperZ=0.0)=0
 
virtual void get (OdIntArray &counts, OdGePoint2dArray &points, bool &bClipLowerZ, double &dLowerZ, bool &bClipUpperZ, double &dUpperZ) const =0
 
void set (OdUInt32 nCounts, const int *counts, OdUInt32 nPoints, const OdGePoint2d *points, bool bClipLowerZ=false, double dLowerZ=0.0, bool bClipUpperZ=false, double dUpperZ=0.0)
 
void set (const OdIntArray &counts, const OdGePoint2dArray &points, bool bClipLowerZ=false, double dLowerZ=0.0, bool bClipUpperZ=false, double dUpperZ=0.0)
 
virtual bool isEmpty () const =0
 
virtual bool isInverted () const =0
 
virtual bool isExtended () const =0
 
virtual bool isSingleClipStage () const =0
 
virtual bool isEmptyClipSet () const =0
 
virtual void set (OdGiClipBoundary *pBoundary, OdGiAbstractClipBoundary *pClipInfo=NULL, const OdGeMatrix3d *pXform=NULL)=0
 
virtual OdGiAbstractClipBoundary::BoundaryType getType () const =0
 
virtual void enableAnalyticCurvesClipping (bool bEnable)=0
 
virtual bool isAnalyticCurvesClippingEnabled () const =0
 
virtual void enable ()=0
 
virtual void disable ()=0
 
virtual bool enabled () const =0
 
virtual void setLimit (ClipLimit clipLimit, OdUInt32 nLimit)=0
 
virtual OdUInt32 getLimit (ClipLimit clipLimit) const =0
 
virtual void pushClipStage (OdGiClipBoundary *pBoundary, OdGiAbstractClipBoundary *pClipInfo=NULL, const OdGeMatrix3d *pXform=NULL)=0
 
virtual void pushClipStage (OdUInt32 numPlanes, const ClipPlane *pPlanes, const OdGeMatrix3d *pXform=NULL, OdUInt32 stageFlags=kCSNoFlags)=0
 
virtual void pushClipStage (OdUInt32 nCounts, const int *counts, OdUInt32 nPoints, const OdGePoint2d *points, OdUInt32 stageFlags=kCSNoFlags, CountsClassify countsClass=kCCDontClassify, const OdGeMatrix3d *pXform=NULL, OdUInt32 numPlanes=0, const ClipPlane *pPlanes=NULL, PolyTolOverride *pPolyTol=NULL)=0
 
virtual void pushClipStage (OdUInt32 nCounts, const int *counts, OdUInt32 nPoints, const OdGePoint3d *points, const OdGeVector3d *pNormal=NULL, OdUInt32 stageFlags=kCSNoFlags, CountsClassify countsClass=kCCDontClassify, const OdGeMatrix3d *pXform=NULL, OdUInt32 numPlanes=0, const ClipPlane *pPlanes=NULL, PolyTolOverride *pPolyTol=NULL)=0
 
virtual bool popClipStage ()=0
 
virtual void clearClipping (bool bClearCache=false)=0
 
virtual void clearTemporaryArrays ()=0
 
virtual OdUInt32 numClipStages () const =0
 
virtual void classifyClipStage (OdUInt32 nStage, OdUInt32 *pNPlanes, OdUInt32 *pNPolys=NULL, bool *bFirstPolyInverted=NULL) const =0
 
virtual bool isClipStageSectionable (OdUInt32 nStage) const =0
 
virtual bool isClipStageCuttable (OdUInt32 nStage) const =0
 
virtual bool getClipStage (OdUInt32 nStage, OdIntArray &counts, OdGePoint2dArray &points, OdGeVector3d *pNormal=NULL) const =0
 
virtual bool getClipStage (OdUInt32 nStage, OdIntArray &counts, OdGePoint3dArray &points, OdGeVector3d *pNormal=NULL) const =0
 
virtual bool getClipStage (OdUInt32 nStage, ClipPlanesArray &planes) const =0
 
virtual void enableClipStage (OdUInt32 nStage, bool bEnable)=0
 
virtual bool isClipStageEnabled (OdUInt32 nStage) const =0
 
virtual OdUInt32 clipStatus () const =0
 
virtual void clearClipStatus ()=0
 
virtual VisibilityStatus checkPointVisibility (const OdGePoint3d &pt) const =0
 
virtual VisibilityStatus checkSphereVisibility (const OdGePoint3d &origin, double radius) const =0
 
virtual VisibilityStatus checkExtentsVisibility (const OdGeExtents3d &extents) const =0
 
virtual VisibilityStatus checkBoundsVisibility (const OdGeBoundBlock3d &bb) const =0
 
virtual void enableLogging (OdStreamBuf *pStream)=0
 
virtual void disableLogging ()=0
 
virtual bool isLoggingEnabled () const =0
 
virtual OdGiConveyorOutputsectionOutput (OdGiMultipleClippedOutputExt *pExt=NULL)=0
 
virtual OdGiConveyorOutputcuttingOutput (OdGiMultipleClippedOutputExt *pExt=NULL)=0
 
virtual OdGiClippedGeometryOutput::ClippedGeometryOutputInterfacenativeClippingGeometryInterface ()=0
 
virtual void flushSection (bool bFlushClosed=true, bool bFlushOpened=false, bool bReleaseData=true)=0
 
virtual void setSkipExtentsCheck (bool bOn)=0
 
virtual void setTextsNoClip (bool bOn)=0
 
- Public Member Functions inherited from OdGiOrthoClipper
 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 implements a geometry clipper, used for clipping objects. {group:OdGi_Classes}

Definition at line 41 of file GiOrthoClipperEx.h.

Member Typedef Documentation

◆ ClipPlanesArray

Defines the type of array of clipping planes.

Definition at line 389 of file GiOrthoClipperEx.h.

Member Enumeration Documentation

◆ ClipLimit

Represents a memory limit (in bytes) used by clipping engine during clipping a set of polygons.

Enumerator
kPolyClipLimit 

Memory limit (in bytes) which limits internal clipping structures number.

kNumClipLimits 

Count of limits available at the current moment.

Definition at line 284 of file GiOrthoClipperEx.h.

◆ ClipStageFlags

Set of flags which can be passed for separate clipping stage during construction.

Enumerator
kCSNoFlags 

Default clipping stage flags state.

kCSDisabled 

Construct clipping stage in disabled state.

kCSInverted 

Specifies the Inverted (if true) or the Normal (if false) type of polygonal clipping boundary.

kCSEnableSections 

Mark that the clipping stage can generate section geometry.

kCSEnableCutting 

Mark that the clipping stage can generate cutted geometry.

kCSPassNonSections 

Enable passing geometry through clipping stage without clipping if sections/slicing output disabled.

Definition at line 394 of file GiOrthoClipperEx.h.

◆ CountsClassify

Represents a classification of clipping contours in a clipping boundary.

Enumerator
kCCDontClassify 

Classification is not used.

kCCClassifiedByInclusion 

Classification by contours inclusion.

kCCClassifiedByInteger 

Classification by positive/negative counts number.

kCCClassifiedByOrder 

Classification by clockwise/counterclockwise ordering.

kCCClassifiedByNormal 

Classification by positive/negative normal.

kCCClassifiedByXor 

Classification by Xor operation (intersection).

kCCClassifiedBySignedXor 

Classification by set of Union/Subtract operations.

Definition at line 413 of file GiOrthoClipperEx.h.

◆ VisibilityStatus

Represents a visibility status of clipped objects.

Enumerator
kStatusInvisible 

Invisible.

kStatusClipped 

Clipped.

kStatusVisible 

Visible.

Definition at line 621 of file GiOrthoClipperEx.h.

Member Function Documentation

◆ checkBoundsVisibility()

virtual VisibilityStatus OdGiOrthoClipperEx::checkBoundsVisibility ( const OdGeBoundBlock3d bb) const
pure virtual

Retrieves the visible status of the bounding block.

Parameters
bb[in] Bounding block.
Returns
one of the visibility statuses represented by a value from the VisibilityStatus enumeration.

◆ checkExtentsVisibility()

virtual VisibilityStatus OdGiOrthoClipperEx::checkExtentsVisibility ( const OdGeExtents3d extents) const
pure virtual

Retrieves the visible status of extents.

Parameters
extents[in] Extents.
Returns
one of the visibility statuses represented by a value from the VisibilityStatus enumeration.

◆ checkPointVisibility()

virtual VisibilityStatus OdGiOrthoClipperEx::checkPointVisibility ( const OdGePoint3d pt) const
pure virtual

Retrieves the visible status of the 3D point.

Parameters
pt[in] 3D point.
Returns
one of the visibility statuses represented by a value from the VisibilityStatus enumeration.

◆ checkSphereVisibility()

virtual VisibilityStatus OdGiOrthoClipperEx::checkSphereVisibility ( const OdGePoint3d origin,
double  radius 
) const
pure virtual

Retrieves the sphere's visible status.

Parameters
origin[in] Sphere's origin point.
radius[in] Sphere's radius.
Returns
one of the statuses which can be visible, invisible or clipped.
one of the visibility statuses represented by a value from the VisibilityStatus enumeration.

◆ classifyClipStage()

virtual void OdGiOrthoClipperEx::classifyClipStage ( OdUInt32  nStage,
OdUInt32 pNPlanes,
OdUInt32 pNPolys = NULL,
bool *  bFirstPolyInverted = NULL 
) const
pure virtual

Classifies the clipping stage.

Parameters
nStage[in] Clipping stage's index.
pNPlanes[in/out] Count of planes in the clipping stage.
pNPolys[in/out] Count of polygons in the clipping stage.
bFirstPolyInverted[in/out] Flag which indicates that the first polygon is inverted.

◆ clearClipping()

virtual void OdGiOrthoClipperEx::clearClipping ( bool  bClearCache = false)
pure virtual

Clears all clipping stages.

Parameters
bClearCache[in] Flag which indicates that caches should be cleared.

◆ clearClipStatus()

virtual void OdGiOrthoClipperEx::clearClipStatus ( )
pure virtual

Clears the clipping status.

◆ clearTemporaryArrays()

virtual void OdGiOrthoClipperEx::clearTemporaryArrays ( )
pure virtual

Clears all temporarily allocated arrays and caches.

◆ clipStatus()

virtual OdUInt32 OdGiOrthoClipperEx::clipStatus ( ) const
pure virtual

Retrieves the clipping status.

Returns
clipping status which can be one of the following:
value Description 0 Clipping does not occur. 8 The object clipped partially or completely at least once. 16 The object completely clipped at least once.

◆ cuttingOutput()

virtual OdGiConveyorOutput & OdGiOrthoClipperEx::cuttingOutput ( OdGiMultipleClippedOutputExt pExt = NULL)
pure virtual

Output for optional cutting geometry.

Parameters
pExt[in] Optional interface for multiple clipping outputs selection.
Returns
a reference to the optional cutting geometry.

◆ disable()

virtual void OdGiOrthoClipperEx::disable ( )
pure virtual

Disables clipping.

◆ disableLogging()

virtual void OdGiOrthoClipperEx::disableLogging ( )
pure virtual

Disable clipping engine debugging.

◆ enable()

virtual void OdGiOrthoClipperEx::enable ( )
pure virtual

Enables clipping.

◆ enableAnalyticCurvesClipping()

virtual void OdGiOrthoClipperEx::enableAnalyticCurvesClipping ( bool  bEnable)
pure virtual

Enables an analytic curves clipping.

Parameters
bEnable[in] Boolean flag which indicates that analytic curves clipping is enabled (true value) or disabled (false value).

◆ enableClipStage()

virtual void OdGiOrthoClipperEx::enableClipStage ( OdUInt32  nStage,
bool  bEnable 
)
pure virtual

Enables or disables specified clipping stage.

Parameters
nStage[in] Clipping stage's index.
bEnable[in] New clipping stage state.

◆ enabled()

virtual bool OdGiOrthoClipperEx::enabled ( ) const
pure virtual

Checks whether clipping is enabled.

Returns
true if clipping is enabled or returns false in the other case.

◆ enableLogging()

virtual void OdGiOrthoClipperEx::enableLogging ( OdStreamBuf pStream)
pure virtual

Enables clipping engine debugging.

Parameters
pStream[out] Stream to which the debugging information is to be written.

◆ flushSection()

virtual void OdGiOrthoClipperEx::flushSection ( bool  bFlushClosed = true,
bool  bFlushOpened = false,
bool  bReleaseData = true 
)
pure virtual

Sends accumulated geometry sections into conveyor output.

Parameters
bFlushClosed[in] Send accumulated closed sections as shell geometry primitive.
bFlushOpened[in] Send accumulated opened sections as polyline geometry primitive.
bReleaseData[in] Delete accumulated sections data after flushing.

◆ get() [1/2]

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

Retrieves a clipping stage.

Parameters
bInverted[out] Specifies the Inverted (if true) or the Normal (if false) type of polygonal clipping boundary.
points[out] Array of 2D 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.

◆ get() [2/2]

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

Retrieves a clipping stage.

Parameters
counts[out] Array of points count of each polygon.
points[out] Array of 2D points defining polygons.
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.

◆ getClipStage() [1/3]

virtual bool OdGiOrthoClipperEx::getClipStage ( OdUInt32  nStage,
ClipPlanesArray planes 
) const
pure virtual

Retrieves the clipping stage when the clipping boundary defined by infinite planes.

Parameters
nStage[in] Clipping stage's index.
planes[out] Array of infinite planes in the clipping stage.
Returns
Returns true if the clipping stage is not empty or returns false in the other case.

◆ getClipStage() [2/3]

virtual bool OdGiOrthoClipperEx::getClipStage ( OdUInt32  nStage,
OdIntArray counts,
OdGePoint2dArray points,
OdGeVector3d pNormal = NULL 
) const
pure virtual

Retrieves the clipping stage.

Parameters
nStage[in] Clipping stage's index.
counts[out] Array of points count of each polygon in the clipping stage.
points[out] Array of 2D points defining a clipping boundary.
pNormal[in/out] Normal.
Returns
Returns true if the clipping stage is not empty or returns false in the other case.

◆ getClipStage() [3/3]

virtual bool OdGiOrthoClipperEx::getClipStage ( OdUInt32  nStage,
OdIntArray counts,
OdGePoint3dArray points,
OdGeVector3d pNormal = NULL 
) const
pure virtual

Retrieves the clipping stage.

Parameters
nStage[in] Clipping stage's index.
counts[out] Array of points count of each polygon in the clipping stage.
points[out] Array of 3D points defining a clipping boundary.
pNormal[in/out] Normal.
Returns
Returns true if the clipping stage is not empty or returns false in the other case.

◆ getLimit()

virtual OdUInt32 OdGiOrthoClipperEx::getLimit ( ClipLimit  clipLimit) const
pure virtual

Retrieves a memory limit (in bytes) used by clipping engine during clipping a set of polygons.

Parameters
clipLimit[in] Memory limit (in bytes) which limits internal clipping structures number.
Returns
memory limit (in bytes) as OdUInt32 value.

◆ getType()

virtual OdGiAbstractClipBoundary::BoundaryType OdGiOrthoClipperEx::getType ( ) const
pure virtual

Retrieves the type of clipping boundary.

Returns
a value from the OdGiAbstractClipBoundary::BoundaryType enumeration that represents one of the clip boundary types.
See also
<link OdGiAbstractClipBoundary::BoundaryType, BoundaryType enumeration.>

◆ isAnalyticCurvesClippingEnabled()

virtual bool OdGiOrthoClipperEx::isAnalyticCurvesClippingEnabled ( ) const
pure virtual

Checks whether analytic curves clipping is enabled.

Returns
true if the analytic curves clipping is enabled, false otherwise.

◆ isClipStageCuttable()

virtual bool OdGiOrthoClipperEx::isClipStageCuttable ( OdUInt32  nStage) const
pure virtual

Checks whether cutting geometry generation is enabled for specified clipping stage.

Parameters
nStage[in] Clipping stage's index.
Returns
true if cutting geometry generation is enabled for specified clipping stage, false otherwise.

◆ isClipStageEnabled()

virtual bool OdGiOrthoClipperEx::isClipStageEnabled ( OdUInt32  nStage) const
pure virtual

Checks that clipping stage enabled or disabled.

Parameters
nStage[in] Clipping stage's index.
Returns
true if the specified clipping stage is enabled, false otherwise.

◆ isClipStageSectionable()

virtual bool OdGiOrthoClipperEx::isClipStageSectionable ( OdUInt32  nStage) const
pure virtual

Checks whether sectioning is enabled for the specified clipping stage.

Parameters
nStage[in] Clipping stage's index.
Returns
true if sectioning enabled for specified clipping stage, false otherwise.

◆ isEmpty()

virtual bool OdGiOrthoClipperEx::isEmpty ( ) const
pure virtual

Checks whether clipping stage is empty.

Returns
true if the top clipping stage is empty, false otherwise.

◆ isEmptyClipSet()

virtual bool OdGiOrthoClipperEx::isEmptyClipSet ( ) const
pure virtual

Checks whether clip set is empty.

Returns
true if the set of clipping stages is empty, false otherwise.

◆ isExtended()

virtual bool OdGiOrthoClipperEx::isExtended ( ) const
pure virtual

Checks whether clipping stage is extended.

Returns
true if the top clipping stage is extended, false otherwise.

◆ isInverted()

virtual bool OdGiOrthoClipperEx::isInverted ( ) const
pure virtual

Checks whether clipping stage is inverted.

Returns
true if the top clipping stage is inverted, false otherwise.

◆ isLoggingEnabled()

virtual bool OdGiOrthoClipperEx::isLoggingEnabled ( ) const
pure virtual

Checks whether debugging is enabled for clipping engine.

Returns
true if debugging is enabled for clipping engine, false otherwise.

◆ isSingleClipStage()

virtual bool OdGiOrthoClipperEx::isSingleClipStage ( ) const
pure virtual

Checks whether there is only 1 clipping stage.

Returns
true if there is only 1 clipping stage, false otherwise.

◆ nativeClippingGeometryInterface()

virtual OdGiClippedGeometryOutput::ClippedGeometryOutputInterface * OdGiOrthoClipperEx::nativeClippingGeometryInterface ( )
pure virtual

Retrieves native clipping context, managed by this clipping object.

Returns
pointer to the native clipping context.

◆ numClipStages()

virtual OdUInt32 OdGiOrthoClipperEx::numClipStages ( ) const
pure virtual

Retrieves the count of clipping stages.

Returns
count of clipping stages as OdUInt32 value.

◆ ODRX_DECLARE_MEMBERS()

OdGiOrthoClipperEx::ODRX_DECLARE_MEMBERS ( OdGiOrthoClipperEx  )

◆ popClipStage()

virtual bool OdGiOrthoClipperEx::popClipStage ( )
pure virtual

Removes a clipping stage.

Returns
Returns true if the clipping stage was successfully removed or returns false in the other case.

◆ pushClipStage() [1/4]

virtual void OdGiOrthoClipperEx::pushClipStage ( OdGiClipBoundary pBoundary,
OdGiAbstractClipBoundary pClipInfo = NULL,
const OdGeMatrix3d pXform = NULL 
)
pure virtual

Creates a clipping boundary.

Parameters
pBoundary[in] Clipping boundary.
pClipInfo[in] Additional clipping boundary information.
pXform[in] Optional boundary transform matrix.

◆ pushClipStage() [2/4]

virtual void OdGiOrthoClipperEx::pushClipStage ( OdUInt32  nCounts,
const int *  counts,
OdUInt32  nPoints,
const OdGePoint2d points,
OdUInt32  stageFlags = kCSNoFlags,
CountsClassify  countsClass = kCCDontClassify,
const OdGeMatrix3d pXform = NULL,
OdUInt32  numPlanes = 0,
const ClipPlane pPlanes = NULL,
PolyTolOverride pPolyTol = NULL 
)
pure virtual

Creates a clipping boundary.

Parameters
nCounts[in] Count of polygons which define the clipping boundary.
counts[in] Array of points count of each polygon.
nPoints[in] Count of vertices which define the clipping boundary.
points[in] Array of points defining a clipping boundary.
stageFlags[in] Set of clipping stage flags (look at ClipStageFlags enumeration).
countsClass[in] Clipping contours classification mode.
pXform[in] Optional boundary transform matrix.
numPlanes[in] Count of planes.
pPlanes[in] Planes for defining a clipping boundary.
pPolyTol[in] Optional polygon tolerance overrides.

◆ pushClipStage() [3/4]

virtual void OdGiOrthoClipperEx::pushClipStage ( OdUInt32  nCounts,
const int *  counts,
OdUInt32  nPoints,
const OdGePoint3d points,
const OdGeVector3d pNormal = NULL,
OdUInt32  stageFlags = kCSNoFlags,
CountsClassify  countsClass = kCCDontClassify,
const OdGeMatrix3d pXform = NULL,
OdUInt32  numPlanes = 0,
const ClipPlane pPlanes = NULL,
PolyTolOverride pPolyTol = NULL 
)
pure virtual

Creates a clipping boundary.

Parameters
nCounts[in] Count of polygons which define the clipping boundary.
counts[in] Array of points count of each polygon.
nPoints[in] Count of vertices which define the clipping boundary.
points[in] Array of points defining a clipping boundary.
pNormal[in] Normal.
stageFlags[in] Set of clipping stage flags (look at ClipStageFlags enumeration).
countsClass[in] Clipping contours classification mode.
pXform[in] Optional boundary transform matrix.
numPlanes[in] Count of planes.
pPlanes[in] Planes for defining a clipping boundary.
pPolyTol[in] Optional polygon tolerance overrides.

◆ pushClipStage() [4/4]

virtual void OdGiOrthoClipperEx::pushClipStage ( OdUInt32  numPlanes,
const ClipPlane pPlanes,
const OdGeMatrix3d pXform = NULL,
OdUInt32  stageFlags = kCSNoFlags 
)
pure virtual

Creates a clipping boundary from infinite planes defined in a space.

Parameters
numPlanes[in] Count of planes.
pPlanes[in] Planes for defining a clipping boundary.
pXform[in] Optional boundary transform matrix.
stageFlags[in] Set of clipping stage flags (look at ClipStageFlags enumeration).

◆ sectionOutput()

virtual OdGiConveyorOutput & OdGiOrthoClipperEx::sectionOutput ( OdGiMultipleClippedOutputExt pExt = NULL)
pure virtual

Output for optional section geometry.

Parameters
pExt[in] Optional interface for multiple clipping outputs selection.
Returns
a reference to the optional section geometry output.

◆ set() [1/7]

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

Creates a clipping stage.

Parameters
bInverted[in] Specifies the Inverted (if true) or the Normal (if false) type of polygonal clipping boundary.
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/7]

virtual void OdGiOrthoClipperEx::set ( bool  bInverted,
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
bInverted[in] Specifies the Inverted (if true) or the Normal (if false) type of polygonal clipping boundary.
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 boundary.

◆ set() [3/7]

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

Creates a clipping stage with extended or complex clipping boundary.

Parameters
bPreprocess[in] Specifies the Complex (if true) or the Extended (if false) type of polygonal clipping boundary.
counts[in] Array of points count of each polygon.
points[in] Array of 2D Points defining polygons.
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() [4/7]

virtual void OdGiOrthoClipperEx::set ( bool  bPreprocess,
OdUInt32  nCounts,
const int *  counts,
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 with extended or complex clipping boundary.

Parameters
bPreprocess[in] Specifies the Complex (if true) or the Extended (if false) type of polygonal clipping boundary.
nCounts[in] Count of polygons which define the clipping boundary.
counts[in] Array of points count of each polygon.
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.

◆ set() [5/7]

void OdGiOrthoClipperEx::set ( const OdIntArray counts,
const OdGePoint2dArray points,
bool  bClipLowerZ = false,
double  dLowerZ = 0.0,
bool  bClipUpperZ = false,
double  dUpperZ = 0.0 
)
inline

Creates a clipping stage with extended clipping boundary.

Parameters
counts[in] Array of points count of each polygon.
points[in] Array of 2D points defining polygons.
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.

Definition at line 181 of file GiOrthoClipperEx.h.

◆ set() [6/7]

virtual void OdGiOrthoClipperEx::set ( OdGiClipBoundary pBoundary,
OdGiAbstractClipBoundary pClipInfo = NULL,
const OdGeMatrix3d pXform = NULL 
)
pure virtual

Creates a clipping boundary.

Parameters
pBoundary[in] Clipping boundary.
pClipInfo[in] Additional clipping boundary information.
pXform[in] Optional boundary transform matrix.

◆ set() [7/7]

void OdGiOrthoClipperEx::set ( OdUInt32  nCounts,
const int *  counts,
OdUInt32  nPoints,
const OdGePoint2d points,
bool  bClipLowerZ = false,
double  dLowerZ = 0.0,
bool  bClipUpperZ = false,
double  dUpperZ = 0.0 
)
inline

Creates a clipping stage with extended clipping boundary.

Parameters
nCounts[in] Count of polygons which define the clipping boundary.
counts[in] Array of points count of each polygon.
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.

Definition at line 165 of file GiOrthoClipperEx.h.

◆ setLimit()

virtual void OdGiOrthoClipperEx::setLimit ( ClipLimit  clipLimit,
OdUInt32  nLimit 
)
pure virtual

Sets a memory limit (in bytes) used by clipping engine during clipping a set of polygons.

Parameters
clipLimit[in] Memory limit (in bytes) which limits internal clipping structures number..
nLimit[in] Count of limits.

◆ setSkipExtentsCheck()

virtual void OdGiOrthoClipperEx::setSkipExtentsCheck ( bool  bOn)
pure virtual

Enables/disables extents checking.

Parameters
bOn[in] enables (if false) or disables extents checking.

◆ setTextsNoClip()

virtual void OdGiOrthoClipperEx::setTextsNoClip ( bool  bOn)
pure virtual

Enables/disables clipping for texts.

Parameters
bOn[in] enables (if true) or disables clipping for texts.

◆ TD_USING() [1/2]

OdGiOrthoClipperEx::TD_USING ( OdGiOrthoClipper::get  )

◆ TD_USING() [2/2]

OdGiOrthoClipperEx::TD_USING ( OdGiOrthoClipper::set  )

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