CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Classes | Public Member Functions | Protected Types | Protected Attributes | List of all members
OdGiClippedGeometryOutput Class Reference

#include <GiSectionGeometryOutput.h>

Inheritance diagram for OdGiClippedGeometryOutput:
OdRxObject OdGiConveyorPassingImpl< OdGiClippedGeometryOutput > OdGiConveyorGeometry OdGiCuttedGeometryOutput OdGiSectionGeometryOutput

Classes

struct  ClippedGeometryOutputInterface
 
class  WrapTraitsProc
 

Public Member Functions

OdGiConveyorGeometrydestGeometry ()
 
OdGiConveyorContextdrawContext ()
 
 OdGiClippedGeometryOutput ()
 
virtual void copyFrom (const OdRxObject *pSource)
 
ClippedGeometryOutputInterfacegetInterface ()
 
void setInterface (ClippedGeometryOutputInterface *pInterface)
 
OdGiClippedGeometryOutputCallbackgeometryProcessingCallback ()
 
void setGeometryProcessingCallback (OdGiClippedGeometryOutputCallback *pCallback)
 
bool isProcessingEnabled () const
 
void setProcessingEnabled (bool bSet)
 
bool isNonSectionableGeometryClipping () const
 
void setNonSectionableGeometryClipping (bool bSet)
 
void setTraitsOverrideFlags (OdUInt32 nFlags)
 
OdUInt32 traitsOverrideFlags () const
 
void setTraitsOverrides (const OdGiSubEntityTraitsData &pData)
 
OdGiSubEntityTraitsDatatraitsOverrides ()
 
const OdGiSubEntityTraitsDatatraitsOverrides () const
 
virtual void setupDrawableProcessing ()
 
virtual void setupTraits (OdGiConveyorContext &context)
 
virtual void releaseTraits (OdGiConveyorContext &context)
 
void plineProc (const OdGiPolyline &polyline, const OdGeMatrix3d *pXfm=0, OdUInt32 fromIndex=0, OdUInt32 numSegs=0)
 
void polylineProc (OdInt32 numPoints, const OdGePoint3d *vertexList, const OdGeVector3d *pNormal=0, const OdGeVector3d *pExtrusion=0, OdGsMarker baseSubEntMarker=-1)
 
void polygonProc (OdInt32 numPoints, const OdGePoint3d *vertexList, const OdGeVector3d *pNormal=0, const OdGeVector3d *pExtrusion=0)
 
void xlineProc (const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint)
 
void rayProc (const OdGePoint3d &basePoint, const OdGePoint3d &throughPoint)
 
void meshProc (OdInt32 numRows, OdInt32 numColumns, const OdGePoint3d *vertexList, const OdGiEdgeData *pEdgeData=0, const OdGiFaceData *pFaceData=0, const OdGiVertexData *pVertexData=0)
 
void shellProc (OdInt32 numVertices, const OdGePoint3d *vertexList, OdInt32 faceListSize, const OdInt32 *faceList, const OdGiEdgeData *pEdgeData=0, const OdGiFaceData *pFaceData=0, const OdGiVertexData *pVertexData=0)
 
void circleProc (const OdGePoint3d &center, double radius, const OdGeVector3d &normal, const OdGeVector3d *pExtrusion=0)
 
void circleProc2 (const OdGePoint3d &center, double radius, const OdGeVector3d &normal, const OdGeVector3d &startVector, const OdGeVector3d *pExtrusion=0)
 
void circleProc (const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint, const OdGePoint3d &thirdPoint, const OdGeVector3d *pExtrusion=0)
 
void circularArcProc (const OdGePoint3d &center, double radius, const OdGeVector3d &normal, const OdGeVector3d &startVector, double sweepAngle, OdGiArcType arcType=kOdGiArcSimple, const OdGeVector3d *pExtrusion=0)
 
void circularArcProc (const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint, const OdGePoint3d &thirdPoint, OdGiArcType arcType=kOdGiArcSimple, const OdGeVector3d *pExtrusion=0)
 
void ellipArcProc (const OdGeEllipArc3d &ellipArc, const OdGePoint3d *endPointOverrides=0, OdGiArcType arcType=kOdGiArcSimple, const OdGeVector3d *pExtrusion=0)
 
void nurbsProc (const OdGeNurbCurve3d &nurbsCurve)
 
void textProc (const OdGePoint3d &position, const OdGeVector3d &direction, const OdGeVector3d &upVector, const OdChar *msg, OdInt32 numBytes, bool raw, const OdGiTextStyle *pTextStyle, const OdGeVector3d *pExtrusion=0)
 
void textProc2 (const OdGePoint3d &position, const OdGeVector3d &direction, const OdGeVector3d &upVector, const OdChar *msg, OdInt32 numBytes, bool raw, const OdGiTextStyle *pTextStyle, const OdGeVector3d *pExtrusion=0, const OdGeExtents3d *extentsBox=0)
 
void shapeProc (const OdGePoint3d &position, const OdGeVector3d &direction, const OdGeVector3d &upVector, int shapeNumber, const OdGiTextStyle *pTextStyle, const OdGeVector3d *pExtrusion=0)
 
void rasterImageProc (const OdGePoint3d &origin, const OdGeVector3d &u, const OdGeVector3d &v, const OdGiRasterImage *pImage, const OdGePoint2d *uvBoundary, OdUInt32 numBoundPts, bool transparency=false, double brightness=50.0, double contrast=50.0, double fade=0.0)
 
void metafileProc (const OdGePoint3d &origin, const OdGeVector3d &u, const OdGeVector3d &v, const OdGiMetafile *pMetafile, bool dcAligned=true, bool allowClipping=false)
 
void xlineProc2 (const OdGePoint3d &basePoint, const OdGeVector3d &direction)
 
void rayProc2 (const OdGePoint3d &basePoint, const OdGeVector3d &direction)
 
void ttfPolyDrawProc (OdInt32 numVertices, const OdGePoint3d *vertexList, OdInt32 faceListSize, const OdInt32 *faceList, const OdUInt8 *pBezierTypes, const OdGiFaceData *pFaceData=0)
 
void polypointProc (OdInt32 numPoints, const OdGePoint3d *vertexList, const OdCmEntityColor *pColors, const OdCmTransparency *pTransparency=0, const OdGeVector3d *pNormals=0, const OdGeVector3d *pExtrusions=0, const OdGsMarker *pSubEntMarkers=0, OdInt32 nPointSize=0)
 
void rowOfDotsProc (OdInt32 numPoints, const OdGePoint3d &startPoint, const OdGeVector3d &dirToNextPoint)
 
void pointCloudProc (const OdGiPointCloud &pCloud, const OdGiPointCloudFilter *pFilter)
 
void edgeProc (const OdGiEdge2dArray &edges, const OdGeMatrix3d *pXform=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
 
- Public Member Functions inherited from OdGiConveyorPassingImpl< OdGiClippedGeometryOutput >
void plineProc (const OdGiPolyline &polyline, const OdGeMatrix3d *pXfm=0, OdUInt32 fromIndex=0, OdUInt32 numSegs=0)
 
void polylineProc (OdInt32 numPoints, const OdGePoint3d *vertexList, const OdGeVector3d *pNormal=0, const OdGeVector3d *pExtrusion=0, OdGsMarker baseSubEntMarker=-1)
 
void polygonProc (OdInt32 numPoints, const OdGePoint3d *vertexList, const OdGeVector3d *pNormal=0, const OdGeVector3d *pExtrusion=0)
 
void xlineProc (const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint)
 
void rayProc (const OdGePoint3d &basePoint, const OdGePoint3d &throughPoint)
 
void meshProc (OdInt32 numRows, OdInt32 numColumns, const OdGePoint3d *vertexList, const OdGiEdgeData *pEdgeData=0, const OdGiFaceData *pFaceData=0, const OdGiVertexData *pVertexData=0)
 
void shellProc (OdInt32 numVertices, const OdGePoint3d *vertexList, OdInt32 faceListSize, const OdInt32 *faceList, const OdGiEdgeData *pEdgeData=0, const OdGiFaceData *pFaceData=0, const OdGiVertexData *pVertexData=0)
 
void circleProc (const OdGePoint3d &center, double radius, const OdGeVector3d &normal, const OdGeVector3d *pExtrusion=0)
 
void circleProc (const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint, const OdGePoint3d &thirdPoint, const OdGeVector3d *pExtrusion=0)
 
void circleProc2 (const OdGePoint3d &center, double radius, const OdGeVector3d &normal, const OdGeVector3d &startVector, const OdGeVector3d *pExtrusion=0)
 
void circularArcProc (const OdGePoint3d &center, double radius, const OdGeVector3d &normal, const OdGeVector3d &startVector, double sweepAngle, OdGiArcType arcType=kOdGiArcSimple, const OdGeVector3d *pExtrusion=0)
 
void circularArcProc (const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint, const OdGePoint3d &thirdPoint, OdGiArcType arcType=kOdGiArcSimple, const OdGeVector3d *pExtrusion=0)
 
void ellipArcProc (const OdGeEllipArc3d &ellipArc, const OdGePoint3d *endPointOverrides=0, OdGiArcType arcType=kOdGiArcSimple, const OdGeVector3d *pExtrusion=0)
 
void nurbsProc (const OdGeNurbCurve3d &nurbsCurve)
 
void textProc (const OdGePoint3d &position, const OdGeVector3d &direction, const OdGeVector3d &upVector, const OdChar *msg, OdInt32 numBytes, bool raw, const OdGiTextStyle *pTextStyle, const OdGeVector3d *pExtrusion=0)
 
void textProc2 (const OdGePoint3d &position, const OdGeVector3d &direction, const OdGeVector3d &upVector, const OdChar *msg, OdInt32 numBytes, bool raw, const OdGiTextStyle *pTextStyle, const OdGeVector3d *pExtrusion=0, const OdGeExtents3d *extentsBox=0)
 
void shapeProc (const OdGePoint3d &position, const OdGeVector3d &direction, const OdGeVector3d &upVector, int shapeNumber, const OdGiTextStyle *pTextStyle, const OdGeVector3d *pExtrusion=0)
 
void rasterImageProc (const OdGePoint3d &origin, const OdGeVector3d &u, const OdGeVector3d &v, const OdGiRasterImage *pImage, const OdGePoint2d *uvBoundary, OdUInt32 numBoundPts, bool transparency=false, double brightness=50.0, double contrast=50.0, double fade=0.0)
 
void metafileProc (const OdGePoint3d &origin, const OdGeVector3d &u, const OdGeVector3d &v, const OdGiMetafile *pMetafile, bool dcAligned=true, bool allowClipping=false)
 
void xlineProc2 (const OdGePoint3d &basePoint, const OdGeVector3d &direction)
 
void rayProc2 (const OdGePoint3d &basePoint, const OdGeVector3d &direction)
 
void ttfPolyDrawProc (OdInt32 numVertices, const OdGePoint3d *vertexList, OdInt32 faceListSize, const OdInt32 *faceList, const OdUInt8 *pBezierTypes, const OdGiFaceData *pFaceData=0)
 
void polypointProc (OdInt32 numPoints, const OdGePoint3d *vertexList, const OdCmEntityColor *pColors, const OdCmTransparency *pTransparency=0, const OdGeVector3d *pNormals=0, const OdGeVector3d *pExtrusions=0, const OdGsMarker *pSubEntMarkers=0, OdInt32 nPointSize=0)
 
void rowOfDotsProc (OdInt32 numPoints, const OdGePoint3d &startPoint, const OdGeVector3d &dirToNextPoint)
 
void pointCloudProc (const OdGiPointCloud &pCloud, const OdGiPointCloudFilter *pFilter=NULL)
 
void edgeProc (const OdGiEdge2dArray &edges, const OdGeMatrix3d *pXform=0)
 
virtual void conveyorBoundaryInfoProc (const OdGeBoundBlock3d &boundBlock, OdUInt32 &outputFlags)
 
- Public Member Functions inherited from OdGiConveyorGeometry
virtual ~OdGiConveyorGeometry ()
 
virtual void plineProc (const OdGiPolyline &polyline, const OdGeMatrix3d *pXfm=0, OdUInt32 fromIndex=0, OdUInt32 numSegs=0)=0
 
virtual void polylineProc (OdInt32 numPoints, const OdGePoint3d *vertexList, const OdGeVector3d *pNormal=0, const OdGeVector3d *pExtrusion=0, OdGsMarker baseSubEntMarker=-1)=0
 
virtual void polygonProc (OdInt32 numPoints, const OdGePoint3d *vertexList, const OdGeVector3d *pNormal=0, const OdGeVector3d *pExtrusion=0)=0
 
virtual void xlineProc (const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint)=0
 
virtual void rayProc (const OdGePoint3d &basePoint, const OdGePoint3d &throughPoint)=0
 
virtual void meshProc (OdInt32 numRows, OdInt32 numColumns, const OdGePoint3d *vertexList, const OdGiEdgeData *pEdgeData=0, const OdGiFaceData *pFaceData=0, const OdGiVertexData *pVertexData=0)=0
 
virtual void shellProc (OdInt32 numVertices, const OdGePoint3d *vertexList, OdInt32 faceListSize, const OdInt32 *faceList, const OdGiEdgeData *pEdgeData=0, const OdGiFaceData *pFaceData=0, const OdGiVertexData *pVertexData=0)=0
 
virtual void circleProc (const OdGePoint3d &center, double radius, const OdGeVector3d &normal, const OdGeVector3d *pExtrusion=0)=0
 
virtual void circleProc2 (const OdGePoint3d &center, double radius, const OdGeVector3d &normal, const OdGeVector3d &, const OdGeVector3d *pExtrusion=0)
 
virtual void circleProc (const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint, const OdGePoint3d &thirdPoint, const OdGeVector3d *pExtrusion=0)=0
 
virtual void circularArcProc (const OdGePoint3d &center, double radius, const OdGeVector3d &normal, const OdGeVector3d &startVector, double sweepAngle, OdGiArcType arcType=kOdGiArcSimple, const OdGeVector3d *pExtrusion=0)=0
 
virtual void circularArcProc (const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint, const OdGePoint3d &thirdPoint, OdGiArcType arcType=kOdGiArcSimple, const OdGeVector3d *pExtrusion=0)=0
 
virtual void ellipArcProc (const OdGeEllipArc3d &ellipArc, const OdGePoint3d *endPointOverrides=0, OdGiArcType arcType=kOdGiArcSimple, const OdGeVector3d *pExtrusion=0)=0
 
virtual void nurbsProc (const OdGeNurbCurve3d &nurbsCurve)=0
 
virtual void textProc (const OdGePoint3d &position, const OdGeVector3d &direction, const OdGeVector3d &upVector, const OdChar *msg, OdInt32 numBytes, bool raw, const OdGiTextStyle *pTextStyle, const OdGeVector3d *pExtrusion=0)=0
 
virtual void textProc2 (const OdGePoint3d &position, const OdGeVector3d &direction, const OdGeVector3d &upVector, const OdChar *msg, OdInt32 numBytes, bool raw, const OdGiTextStyle *pTextStyle, const OdGeVector3d *pExtrusion=0, const OdGeExtents3d *=0)
 
virtual void shapeProc (const OdGePoint3d &position, const OdGeVector3d &direction, const OdGeVector3d &upVector, int shapeNumber, const OdGiTextStyle *pTextStyle, const OdGeVector3d *pExtrusion=0)=0
 
virtual void rasterImageProc (const OdGePoint3d &origin, const OdGeVector3d &u, const OdGeVector3d &v, const OdGiRasterImage *pImage, const OdGePoint2d *uvBoundary, OdUInt32 numBoundPts, bool transparency=false, double brightness=50.0, double contrast=50.0, double fade=0.0)=0
 
virtual void metafileProc (const OdGePoint3d &origin, const OdGeVector3d &u, const OdGeVector3d &v, const OdGiMetafile *pMetafile, bool dcAligned=true, bool allowClipping=false)=0
 
virtual void xlineProc2 (const OdGePoint3d &basePoint, const OdGeVector3d &direction)
 
virtual void rayProc2 (const OdGePoint3d &basePoint, const OdGeVector3d &direction)
 
virtual void setExtentsProc (const OdGePoint3d *, bool=true)
 
virtual int ttfCharProcFlags () const
 
virtual bool ttfCharProc (OdChar, bool, const OdGePoint3d &, const OdGeBoundBlock3d *)
 
virtual void ttfPolyDrawProc (OdInt32 numVertices, const OdGePoint3d *vertexList, OdInt32 faceListSize, const OdInt32 *faceList, const OdUInt8 *, const OdGiFaceData *pFaceData=0)
 
virtual void conveyorBoundaryInfoProc (const OdGeBoundBlock3d &, OdUInt32 &)
 
void polypointProc2 (OdGiConveyorContext *pContext, OdInt32 numPoints, const OdGePoint3d *vertexList, const OdCmEntityColor *pColors=0, const OdCmTransparency *pTransparency=0, const OdGeVector3d *pNormals=0, const OdGeVector3d *pExtrusions=0, const OdGsMarker *pSubEntMarkers=0, OdInt32 nPointSize=0)
 
void rowOfDotsProc2 (OdInt32 numPoints, const OdGePoint3d &startPoint, const OdGeVector3d &dirToNextPoint)
 
virtual void polypointProc (OdInt32 numPoints, const OdGePoint3d *vertexList, const OdCmEntityColor *pColors, const OdCmTransparency *pTransparency=0, const OdGeVector3d *pNormals=0, const OdGeVector3d *pExtrusions=0, const OdGsMarker *pSubEntMarkers=0, OdInt32 nPointSize=0)=0
 
void polyPolygonProc2 (OdGiConveyorContext *pContext, OdUInt32 numIndices, const OdUInt32 *pNumPositions, const OdGePoint3d *pPositions, const OdUInt32 *pNumPoints, const OdGePoint3d *pPoints, const OdCmEntityColor *pOutlineColors=NULL, const OdUInt32 *pOutlinePsLinetypes=NULL, const OdCmEntityColor *pFillColors=NULL, const OdCmTransparency *pFillTransparencies=NULL)
 
virtual void rowOfDotsProc (OdInt32 numPoints, const OdGePoint3d &startPoint, const OdGeVector3d &dirToNextPoint)=0
 
void pointCloudProc2 (OdGiConveyorContext *pContext, const OdGiPointCloud &pCloud, const OdGiPointCloudFilter *pFilter)
 
virtual void pointCloudProc (const OdGiPointCloud &pCloud, const OdGiPointCloudFilter *pFilter=NULL)=0
 
virtual void edgeProc (const OdGiEdge2dArray &edges, const OdGeMatrix3d *pXform=0)=0
 

Protected Types

enum  Flags { kProcessingEnabled = 1 , kNonSectionableGeometryClip = 2 , kLastGenericFlag = kNonSectionableGeometryClip }
 

Protected Attributes

ClippedGeometryOutputInterfacem_pIface
 
OdGiClippedGeometryOutputCallbackPtr m_pDrawCallback
 
OdUInt32 m_flags
 
OdUInt32 m_overrideFlags
 
OdGiSubEntityTraitsData m_overrides
 
OdGiSubEntityTraitsData m_traits
 

Additional Inherited Members

- Public Types inherited from OdGiConveyorGeometry
enum  ETtfCharProcFlags { kTtfCharProcEnable = 1 , kTtfCharProcBoundBlock = 2 }
 
enum  EConveyorBoundaryInfoFlags {
  kBoundaryProcXform = 1 , kBoundaryProcXformNonUni = 2 , kBoundaryProcProjection = 4 , kBoundaryProcClip = 8 ,
  kBoundaryProcClipFull = 16
}
 
- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 

Detailed Description

This class is an default implementation of OdGiConveyorGeometry that provides generic output of clipped geometry.

<group OdGi_Classes>

See also
<link gi_geometry_sectioning_callback, Work with Geometry Sectioning Callback>

Definition at line 72 of file GiSectionGeometryOutput.h.

Member Enumeration Documentation

◆ Flags

Enumerator
kProcessingEnabled 
kNonSectionableGeometryClip 
kLastGenericFlag 

Definition at line 96 of file GiSectionGeometryOutput.h.

Constructor & Destructor Documentation

◆ OdGiClippedGeometryOutput()

OdGiClippedGeometryOutput::OdGiClippedGeometryOutput ( )
inline

Default constructor for the OdGiClippedGeometryOutput class. Sets the associated clipped geometry output interface to NULL, sets kProcessingEnabled and kNonSectionableGeometryClip flags.

Definition at line 136 of file GiSectionGeometryOutput.h.

Member Function Documentation

◆ circleProc() [1/2]

void OdGiClippedGeometryOutput::circleProc ( const OdGePoint3d center,
double  radius,
const OdGeVector3d normal,
const OdGeVector3d pExtrusion = 0 
)
inlinevirtual

Process circle data.

Parameters
center[in] Center point.
radius[in] Radius.
normal[in] Normal vector.
pExtrusion[in] Pointer to the extrusion vector.
Remarks
The extrusion vector specifies the direction and distance of the extrusion.

Implements OdGiConveyorGeometry.

Definition at line 420 of file GiSectionGeometryOutput.h.

◆ circleProc() [2/2]

void OdGiClippedGeometryOutput::circleProc ( const OdGePoint3d firstPoint,
const OdGePoint3d secondPoint,
const OdGePoint3d thirdPoint,
const OdGeVector3d pExtrusion = 0 
)
inlinevirtual

Process circle data.

Parameters
firstPoint[in] First point of a 3-point circle.
secondPoint[in] Second point of a 3-point circle.
thirdPoint[in] Third point of a 3-point circle.
pExtrusion[in] Pointer to the extrusion vector.
Remarks
If firstPoint, secondPoint, and thirdPoint are specified, they cannot be colinear and no two can be coincident.

Implements OdGiConveyorGeometry.

Definition at line 452 of file GiSectionGeometryOutput.h.

◆ circleProc2()

void OdGiClippedGeometryOutput::circleProc2 ( const OdGePoint3d center,
double  radius,
const OdGeVector3d normal,
const OdGeVector3d startVector,
const OdGeVector3d pExtrusion = 0 
)
inlinevirtual

Process circle data.

Parameters
center[in] Center point.
radius[in] Radius.
normal[in] Normal vector.
startVector[in] Start vector of the arc. Not used.
pExtrusion[in] Pointer to the extrusion vector.
Remarks
The extrusion vector specifies the direction and distance of the extrusion.

Reimplemented from OdGiConveyorGeometry.

Definition at line 436 of file GiSectionGeometryOutput.h.

◆ circularArcProc() [1/2]

void OdGiClippedGeometryOutput::circularArcProc ( const OdGePoint3d center,
double  radius,
const OdGeVector3d normal,
const OdGeVector3d startVector,
double  sweepAngle,
OdGiArcType  arcType = kOdGiArcSimple,
const OdGeVector3d pExtrusion = 0 
)
inlinevirtual

Processes circular arc data.

Parameters
center[in] Center point.
radius[in] Radius.
normal[in] Normal vector.
startVector[in] Defines the start of this arc.
sweepAngle[in] Angle that defines the arc.
arcType[in] Arc type.
pExtrusion[in] Pointer to the extrusion vector.
Remarks
arcType must be one of the following:

Value Description kOdGiArcSimple 0 Unfilled. kOdGiArcSector 1 Filled area bounded by the arc and its center. kOdGiArcChord 2 Filled area bounded by the arc and its end points

The extrusion vector specifies the direction and distance of the extrusion.

Remarks
All angles are expressed in radians.

Implements OdGiConveyorGeometry.

Definition at line 480 of file GiSectionGeometryOutput.h.

◆ circularArcProc() [2/2]

void OdGiClippedGeometryOutput::circularArcProc ( const OdGePoint3d firstPoint,
const OdGePoint3d secondPoint,
const OdGePoint3d thirdPoint,
OdGiArcType  arcType = kOdGiArcSimple,
const OdGeVector3d pExtrusion = 0 
)
inlinevirtual

Processes circular arc data.

Parameters
firstPoint[in] First point of a 3-point arc.
secondPoint[in] Second point of a 3-point arc.
thirdPoint[in] Third point of a 3-point arc.
arcType[in] Arc type.
pExtrusion[in] Pointer to the extrusion vector.
Remarks
If firstPoint, secondPoint, and thirdPoint are specified, they cannot be colinear and no two can be coincident.

Implements OdGiConveyorGeometry.

Definition at line 499 of file GiSectionGeometryOutput.h.

◆ copyFrom()

virtual void OdGiClippedGeometryOutput::copyFrom ( const OdRxObject pSource)
inlinevirtual

details Copies the contents of the specified object into this object.

Parameters
pSource[in] Pointer to the object from which to copy the data. /remarks If you create nested class, based onto OdGiClippedGeometryOutput, you should implement this method override, elsewhere it will not support multithreaded regeneration.

Reimplemented from OdRxObject.

Reimplemented in OdGiSectionGeometryOutput, and OdGiCuttedGeometryOutput.

Definition at line 145 of file GiSectionGeometryOutput.h.

◆ destGeometry()

OdGiConveyorGeometry & OdGiClippedGeometryOutput::destGeometry ( )
inline

Retrieves the destination geometry.

Returns
a reference to the destination geometry or throws an error if there is no associated conveyor geometry output interface or it is NULL.

Definition at line 116 of file GiSectionGeometryOutput.h.

◆ drawContext()

OdGiConveyorContext & OdGiClippedGeometryOutput::drawContext ( )
inline

Retrieves the drawing context.

Returns
a reference to the drawing context or throws an error if there is no associated conveyor geometry output interface or it is NULL.

Definition at line 123 of file GiSectionGeometryOutput.h.

◆ edgeProc()

void OdGiClippedGeometryOutput::edgeProc ( const OdGiEdge2dArray edges,
const OdGeMatrix3d pXform = 0 
)
inlinevirtual

Processes hatch boundary.

Parameters
edges[in] 2d curves array.
pXform[in] Optional boundary transform matrix.

Implements OdGiConveyorGeometry.

Definition at line 728 of file GiSectionGeometryOutput.h.

◆ ellipArcProc()

void OdGiClippedGeometryOutput::ellipArcProc ( const OdGeEllipArc3d ellipArc,
const OdGePoint3d endPointOverrides = 0,
OdGiArcType  arcType = kOdGiArcSimple,
const OdGeVector3d pExtrusion = 0 
)
inlinevirtual

Processes OdGeEllipArc3d data.

Parameters
ellipArc[in] Elliptical arc.
endPointOverrides[in] Array of points to be used as the first and last points of the vectorized arc.
arcType[in] Arc type.
pExtrusion[in] Pointer to the extrusion vector.
Remarks
arcType must be one of the following:

Value Description kOdGiArcSimple 0 Unfilled. kOdGiArcSector 1 Filled area bounded by the arc and its center. kOdGiArcChord 3 Filled area bounded by the arc and its end points

The extrusion vector specifies the direction and distance of the extrusion.

Implements OdGiConveyorGeometry.

Definition at line 523 of file GiSectionGeometryOutput.h.

◆ geometryProcessingCallback()

OdGiClippedGeometryOutputCallback * OdGiClippedGeometryOutput::geometryProcessingCallback ( )
inline

Retrieves geometry output callback interface.

Returns
pointer to the output geometry callback interface.
Remarks
Called internally by OdGiOrthoClipperEx conveyor node.

Definition at line 177 of file GiSectionGeometryOutput.h.

◆ getInterface()

ClippedGeometryOutputInterface * OdGiClippedGeometryOutput::getInterface ( )
inline

Retrieves conveyor geometry output interface.

Returns
pointer to the ClippedGeometryOutputInterface that represent geometry output interface for this object.

Definition at line 161 of file GiSectionGeometryOutput.h.

◆ isNonSectionableGeometryClipping()

bool OdGiClippedGeometryOutput::isNonSectionableGeometryClipping ( ) const
inline

Checks whether clipping of non-sectionable geometry is enabled.

Returns
true if clipping of non-sectionable geometry enabled, false otherwise.

Definition at line 200 of file GiSectionGeometryOutput.h.

◆ isProcessingEnabled()

bool OdGiClippedGeometryOutput::isProcessingEnabled ( ) const
inline

Checks whether processing of this geometry output is enabled.

Returns
true if processing of this geometry output is enabled, false otherwise.

Definition at line 188 of file GiSectionGeometryOutput.h.

◆ meshProc()

void OdGiClippedGeometryOutput::meshProc ( OdInt32  numRows,
OdInt32  numColumns,
const OdGePoint3d vertexList,
const OdGiEdgeData pEdgeData = 0,
const OdGiFaceData pFaceData = 0,
const OdGiVertexData pVertexData = 0 
)
inlinevirtual

Processes mesh data.

Parameters
numRows[in] Number of rows.
numColumns[in] Number of columns.
vertexList[in] Array of vertices.
pEdgeData[in] Pointer to additional edge data.
pFaceData[in] Pointer to additional face data.
pVertexData[in] Pointer to additional vertex data.

Implements OdGiConveyorGeometry.

Definition at line 387 of file GiSectionGeometryOutput.h.

◆ metafileProc()

void OdGiClippedGeometryOutput::metafileProc ( const OdGePoint3d origin,
const OdGeVector3d u,
const OdGeVector3d v,
const OdGiMetafile pMetafile,
bool  dcAligned = true,
bool  allowClipping = false 
)
inlinevirtual

Processes metafile data.

Parameters
origin[in] Metafile origin.
u[in] Metafile width vector.
v[in] Metafile height vector.
pMetafile[in] Pointer to the metafile object.
dcAligned[in] reserved.
allowClipping[in] reserved.

Implements OdGiConveyorGeometry.

Definition at line 628 of file GiSectionGeometryOutput.h.

◆ nurbsProc()

void OdGiClippedGeometryOutput::nurbsProc ( const OdGeNurbCurve3d nurbsCurve)
inlinevirtual

Processes OdGeNurbCurve3d data.

Parameters
nurbsCurve[in] NURBS curve data.

Implements OdGiConveyorGeometry.

Definition at line 533 of file GiSectionGeometryOutput.h.

◆ plineProc()

void OdGiClippedGeometryOutput::plineProc ( const OdGiPolyline polyline,
const OdGeMatrix3d pXfm = 0,
OdUInt32  fromIndex = 0,
OdUInt32  numSegs = 0 
)
inlinevirtual

Processes OdGiPolyline data.

Parameters
polyline[in] Polyline data to be processed.
pXfm[in] Pointer to a transformation matrix.
fromIndex[in] Index of the first segment to be processed.
numSegs[in] Number of segments to be processed.
Remarks
numSegs == 0 indicates all segments starting at fromIndex are to be processed.

Implements OdGiConveyorGeometry.

Definition at line 312 of file GiSectionGeometryOutput.h.

◆ pointCloudProc()

void OdGiClippedGeometryOutput::pointCloudProc ( const OdGiPointCloud pCloud,
const OdGiPointCloudFilter pFilter 
)
inlinevirtual

Processes point cloud object.

Parameters
pCloud[in] Point cloud object.
pFilter[in] Optional set of point cloud object conveyor filters.

Implements OdGiConveyorGeometry.

Definition at line 717 of file GiSectionGeometryOutput.h.

◆ polygonProc()

void OdGiClippedGeometryOutput::polygonProc ( OdInt32  numPoints,
const OdGePoint3d vertexList,
const OdGeVector3d pNormal = 0,
const OdGeVector3d pExtrusion = 0 
)
inlinevirtual

Processes polygon data.

Parameters
numPoints[in] Number of points.
vertexList[in] Array of vertices.
pNormal[in] Pointer to the normal vector.
pExtrusion[in] Pointer to the extrusion vector.
Remarks
The extrusion vector specifies the direction and distance of the extrusion.

Implements OdGiConveyorGeometry.

Definition at line 344 of file GiSectionGeometryOutput.h.

◆ polylineProc()

void OdGiClippedGeometryOutput::polylineProc ( OdInt32  numPoints,
const OdGePoint3d vertexList,
const OdGeVector3d pNormal = 0,
const OdGeVector3d pExtrusion = 0,
OdGsMarker  baseSubEntMarker = -1 
)
inlinevirtual

Processes simple polyline data.

Parameters
numPoints[in] Number of points.
vertexList[in] Array of vertices.
pNormal[in] Pointer to the normal vector.
pExtrusion[in] Pointer to the extrusion vector.
baseSubEntMarker[in] Currently unused.
Remarks
The extrusion vector specifies the direction and distance of the extrusion.

Implements OdGiConveyorGeometry.

Reimplemented in OdGiSectionGeometryOutput.

Definition at line 328 of file GiSectionGeometryOutput.h.

◆ polypointProc()

void OdGiClippedGeometryOutput::polypointProc ( OdInt32  numPoints,
const OdGePoint3d vertexList,
const OdCmEntityColor pColors,
const OdCmTransparency pTransparency = 0,
const OdGeVector3d pNormals = 0,
const OdGeVector3d pExtrusions = 0,
const OdGsMarker pSubEntMarkers = 0,
OdInt32  nPointSize = 0 
)
inlinevirtual

Processes an array of points.

Parameters
numPoints[in] Number of points.
vertexList[in] Pointer to an array of vertices.
pColors[in] Pointer to point colors.
pTransparency[in] Pointer to point transparency.
pNormals[in] Array of normal vectors.
pExtrusions[in] Array of vectors that defines extrusions.
pSubEntMarkers[in] Array of sub-entity markers.
nPointSize[in] Points size.

Implements OdGiConveyorGeometry.

Definition at line 693 of file GiSectionGeometryOutput.h.

◆ rasterImageProc()

void OdGiClippedGeometryOutput::rasterImageProc ( const OdGePoint3d origin,
const OdGeVector3d u,
const OdGeVector3d v,
const OdGiRasterImage pImage,
const OdGePoint2d uvBoundary,
OdUInt32  numBoundPts,
bool  transparency = false,
double  brightness = 50.0,
double  contrast = 50.0,
double  fade = 0.0 
)
inlinevirtual

Processes raster images data.

Parameters
origin[in] Lower-left corner.
u[in] Image width vector.
v[in] Image height vector.
pImage[in] Pointer to the RasterImage object.
uvBoundary[in] Array of image boundary points (may not be null).
numBoundPts[in] Number of boundary points.
transparency[in] True if and only if image transparency is on.
brightness[in] Image brightness [0.0 .. 100.0].
contrast[in] Image contrast [0.0 .. 100.0].
fade[in] Image fade value [0.0 .. 100.0].

Implements OdGiConveyorGeometry.

Definition at line 611 of file GiSectionGeometryOutput.h.

◆ rayProc()

void OdGiClippedGeometryOutput::rayProc ( const OdGePoint3d basePoint,
const OdGePoint3d throughPoint 
)
inlinevirtual

Processes Ray data.

Parameters
basePoint[in] Base point.
throughPoint[in] Through point
Remarks
A Ray is a semi-infinite line that starts at the basePoint, and passes through the throughPoint.

Implements OdGiConveyorGeometry.

Definition at line 372 of file GiSectionGeometryOutput.h.

◆ rayProc2()

void OdGiClippedGeometryOutput::rayProc2 ( const OdGePoint3d basePoint,
const OdGeVector3d direction 
)
inlinevirtual

Processes Ray data.

Parameters
basePoint[in] Base point.
direction[in] Direction of a ray.
Remarks
A Ray is a semi-infinite line that starts at the basePoint, and extends through the specified direction.

Reimplemented from OdGiConveyorGeometry.

Definition at line 657 of file GiSectionGeometryOutput.h.

◆ releaseTraits()

virtual void OdGiClippedGeometryOutput::releaseTraits ( OdGiConveyorContext context)
inlinevirtual

Called to release output geometry traits.

Parameters
context[in] Geometry conveyor context.
Remarks
Override to implement own traits processing.

Definition at line 289 of file GiSectionGeometryOutput.h.

◆ rowOfDotsProc()

void OdGiClippedGeometryOutput::rowOfDotsProc ( OdInt32  numPoints,
const OdGePoint3d startPoint,
const OdGeVector3d dirToNextPoint 
)
inlinevirtual

Processes a row of points.

Parameters
numPoints[in] Number of points.
startPoint[in] First point to draw.
dirToNextPoint[in] Offset to next point.

Implements OdGiConveyorGeometry.

Definition at line 706 of file GiSectionGeometryOutput.h.

◆ setGeometryProcessingCallback()

void OdGiClippedGeometryOutput::setGeometryProcessingCallback ( OdGiClippedGeometryOutputCallback pCallback)
inline

Setup geometry output callback interface.

Parameters
pCallback[in] Geometry output callback interface pointer.

Definition at line 182 of file GiSectionGeometryOutput.h.

◆ setInterface()

void OdGiClippedGeometryOutput::setInterface ( ClippedGeometryOutputInterface pInterface)
inline

Sets conveyor geometry output interface.

Parameters
pInterface[in] Pointer onto conveyor geometry output interface.
Remarks
Called internally by OdGiOrthoClipperEx conveyor node.

Definition at line 168 of file GiSectionGeometryOutput.h.

◆ setNonSectionableGeometryClipping()

void OdGiClippedGeometryOutput::setNonSectionableGeometryClipping ( bool  bSet)
inline

Enables or disables clipping of non-sectionable geometry.

Parameters
bSet[in] New state of non-sectionable geometry clipping.

Definition at line 205 of file GiSectionGeometryOutput.h.

◆ setProcessingEnabled()

void OdGiClippedGeometryOutput::setProcessingEnabled ( bool  bSet)
inline

Enables or disables processing of this geometry output.

Parameters
bSet[in] New processing state for this geometry output.

Definition at line 193 of file GiSectionGeometryOutput.h.

◆ setTraitsOverrideFlags()

void OdGiClippedGeometryOutput::setTraitsOverrideFlags ( OdUInt32  nFlags)
inline

Setup traits override flags.

Parameters
nFlags[in] Traits override flags.

Definition at line 211 of file GiSectionGeometryOutput.h.

◆ setTraitsOverrides()

void OdGiClippedGeometryOutput::setTraitsOverrides ( const OdGiSubEntityTraitsData pData)
inline

Setup traits overrides.

Parameters
pData[in] Traits overrides.

Definition at line 229 of file GiSectionGeometryOutput.h.

◆ setupDrawableProcessing()

virtual void OdGiClippedGeometryOutput::setupDrawableProcessing ( )
inlinevirtual

Called by vectorizer to setup geometry output configuration for current conveyor drawable and state.

Remarks
Override to implement own settings processing.

Definition at line 257 of file GiSectionGeometryOutput.h.

◆ setupTraits()

virtual void OdGiClippedGeometryOutput::setupTraits ( OdGiConveyorContext context)
inlinevirtual

Called to setup output geometry traits.

Parameters
context[in] Geometry conveyor context.
Remarks
Override to implement own traits processing.

Definition at line 269 of file GiSectionGeometryOutput.h.

◆ shapeProc()

void OdGiClippedGeometryOutput::shapeProc ( const OdGePoint3d position,
const OdGeVector3d direction,
const OdGeVector3d upVector,
int  shapeNumber,
const OdGiTextStyle pTextStyle,
const OdGeVector3d pExtrusion = 0 
)
inlinevirtual

Processes shape data.

Parameters
position[in] Position of the shape.
direction[in] Baseline direction of the shape.
upVector[in] Up vector for the shape.
shapeNumber[in] Shape number.
pTextStyle[in] Pointer to the TextStyle for the shape.
pExtrusion[in] Pointer to the extrusion vector.
Remarks
The extrusion vector specifies the direction and distance of the extrusion.

Implements OdGiConveyorGeometry.

Definition at line 591 of file GiSectionGeometryOutput.h.

◆ shellProc()

void OdGiClippedGeometryOutput::shellProc ( OdInt32  numVertices,
const OdGePoint3d vertexList,
OdInt32  faceListSize,
const OdInt32 faceList,
const OdGiEdgeData pEdgeData = 0,
const OdGiFaceData pFaceData = 0,
const OdGiVertexData pVertexData = 0 
)
inlinevirtual

Processes shell data.

Parameters
numVertices[in] Number of vertices.
vertexList[in] Array of vertices.
faceListSize[in] Number of entries in faceList.
faceList[in] Array of numbers that define the faces.
pEdgeData[in] Pointer to additional edge data.
pFaceData[in] Pointer to additional face data.
pVertexData[in] Pointer to additional vertex data.

Implements OdGiConveyorGeometry.

Reimplemented in OdGiSectionGeometryOutput.

Definition at line 404 of file GiSectionGeometryOutput.h.

◆ textProc()

void OdGiClippedGeometryOutput::textProc ( const OdGePoint3d position,
const OdGeVector3d direction,
const OdGeVector3d upVector,
const OdChar msg,
OdInt32  numBytes,
bool  raw,
const OdGiTextStyle pTextStyle,
const OdGeVector3d pExtrusion = 0 
)
inlinevirtual

Processes text data.

Parameters
position[in] Position of the text.
direction[in] Baseline direction of the text.
upVector[in] Up vector for the text.
msg[in] Text string.
numBytes[in] Number of bytes in msg.
raw[in] If and only if true, escape sequences, such as %P, will not be converted to special characters.
pTextStyle[in] Pointer to the TextStyle for the text.
pExtrusion[in] Pointer to the extrusion vector.
Remarks
The extrusion vector specifies the direction and distance of the extrusion.

Implements OdGiConveyorGeometry.

Definition at line 553 of file GiSectionGeometryOutput.h.

◆ textProc2()

void OdGiClippedGeometryOutput::textProc2 ( const OdGePoint3d position,
const OdGeVector3d direction,
const OdGeVector3d upVector,
const OdChar msg,
OdInt32  numBytes,
bool  raw,
const OdGiTextStyle pTextStyle,
const OdGeVector3d pExtrusion = 0,
const OdGeExtents3d extentsBox = 0 
)
inlinevirtual

Processes text data.

Parameters
position[in] Position of the text.
direction[in] Baseline direction of the text.
upVector[in] Up vector for the text.
msg[in] Text string.
numBytes[in] Number of bytes in msg.
raw[in] Flag that specifies whether escape sequences, such as %P, should not be converted to special characters.
pTextStyle[in] Pointer to the TextStyle for the text.
pExtrusion[in] Pointer to the extrusion vector.
Remarks
The extrusion vector specifies the direction and distance of the extrusion.

Reimplemented from OdGiConveyorGeometry.

Definition at line 573 of file GiSectionGeometryOutput.h.

◆ traitsOverrideFlags()

OdUInt32 OdGiClippedGeometryOutput::traitsOverrideFlags ( ) const
inline

Retrieves traits override flags.

Returns
a set of traits override flags as OdUInt32 value.

Definition at line 220 of file GiSectionGeometryOutput.h.

◆ traitsOverrides() [1/2]

OdGiSubEntityTraitsData & OdGiClippedGeometryOutput::traitsOverrides ( )
inline

Retrieves traits overrides (for changing).

Returns
subentity traits overrides as OdGiSubEntityTraitsData instance.

Definition at line 238 of file GiSectionGeometryOutput.h.

◆ traitsOverrides() [2/2]

const OdGiSubEntityTraitsData & OdGiClippedGeometryOutput::traitsOverrides ( ) const
inline

Returns traits overrides.

Returns
reference to subentity traits overrides.

Definition at line 247 of file GiSectionGeometryOutput.h.

◆ ttfPolyDrawProc()

void OdGiClippedGeometryOutput::ttfPolyDrawProc ( OdInt32  numVertices,
const OdGePoint3d vertexList,
OdInt32  faceListSize,
const OdInt32 faceList,
const OdUInt8 pBezierTypes,
const OdGiFaceData pFaceData = 0 
)
inlinevirtual

Processes TrueType font characters in dynamic polyDraw mode which is similar to shellProc() method, except here additional information about bezier data is passed for processing.

Parameters
numVertices[in] Number of vertices.
vertexList[in] Array of vertices.
faceListSize[in] Number of entries in faceList.
faceList[in] Array of numbers that define the faces.
pBezierTypes[in] Bezier types.
pFaceData[in] Pointer to additional face data.
pVertexData[in] Pointer to additional vertex data.

Reimplemented from OdGiConveyorGeometry.

Definition at line 675 of file GiSectionGeometryOutput.h.

◆ xlineProc()

void OdGiClippedGeometryOutput::xlineProc ( const OdGePoint3d firstPoint,
const OdGePoint3d secondPoint 
)
inlinevirtual

Processes Xline data.

Parameters
firstPoint[in] First point.
secondPoint[in] Second point.
Remarks
An Xline is an infinite line passing through the specified points.

Implements OdGiConveyorGeometry.

Definition at line 358 of file GiSectionGeometryOutput.h.

◆ xlineProc2()

void OdGiClippedGeometryOutput::xlineProc2 ( const OdGePoint3d basePoint,
const OdGeVector3d direction 
)
inlinevirtual

Processes Xline data.

Parameters
basePoint[in] Base point.
direction[in] Direction of an xline.
Remarks
An Xline is an infinite line passing through the specified basePoint along the passed direction.

Reimplemented from OdGiConveyorGeometry.

Definition at line 643 of file GiSectionGeometryOutput.h.

Member Data Documentation

◆ m_flags

OdUInt32 OdGiClippedGeometryOutput::m_flags
protected

Definition at line 106 of file GiSectionGeometryOutput.h.

◆ m_overrideFlags

OdUInt32 OdGiClippedGeometryOutput::m_overrideFlags
protected

Definition at line 107 of file GiSectionGeometryOutput.h.

◆ m_overrides

OdGiSubEntityTraitsData OdGiClippedGeometryOutput::m_overrides
protected

Definition at line 108 of file GiSectionGeometryOutput.h.

◆ m_pDrawCallback

OdGiClippedGeometryOutputCallbackPtr OdGiClippedGeometryOutput::m_pDrawCallback
protected

Definition at line 105 of file GiSectionGeometryOutput.h.

◆ m_pIface

ClippedGeometryOutputInterface* OdGiClippedGeometryOutput::m_pIface
protected

Definition at line 104 of file GiSectionGeometryOutput.h.

◆ m_traits

OdGiSubEntityTraitsData OdGiClippedGeometryOutput::m_traits
protected

Definition at line 109 of file GiSectionGeometryOutput.h.


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