CFx SDK Documentation  2022 SP0
Public Member Functions | Protected Member Functions | List of all members
OdGsExtAccum Class Reference

#include <GsExtAccum.h>

Inheritance diagram for OdGsExtAccum:
OdGiExtAccum OdGsConveyorNodeBase OdGiConveyorGeometry OdGiConveyorNode OdGiConveyorInput OdGiConveyorOutput OdRxObject

Public Member Functions

 ODRX_DECLARE_MEMBERS (OdGsExtAccum)
 
OdGiConveyorGeometryoptionalGeometry ()
 
OdGiExtAccumgiExtAccum ()
 
const OdGiExtAccumgiExtAccum () const
 
virtual void setBaseView (OdGsViewImpl *pBaseVV)
 
OdGsViewImplbaseView ()
 
virtual void setDrawContext (OdGiConveyorContext *pDrawContext)
 
virtual OdGiConveyorGeometrygeometry ()
 
virtual bool getExtents (OdGeExtents3d &extents) const
 
virtual void resetExtents (const OdGeExtents3d &newExtents=OdGeExtents3d())
 
virtual void addExtents (const OdGeExtents3d &extents)
 
virtual bool plineContainBulges () const
 
virtual void setDeviation (const OdGeDoubleArray &deviations)
 
virtual void setDeviation (const OdGiDeviation *pDeviation)
 
OdDb::LineWeight getLineweight () const
 
void addLineweight (OdDb::LineWeight lwd)
 
virtual OdGiConveyorInputinput ()
 
virtual OdGiConveyorOutputoutput ()
 
virtual void plineProc (const OdGiPolyline &polyline, const OdGeMatrix3d *pXfm=0, OdUInt32 fromIndex=0, OdUInt32 numSegs=0)
 
virtual void polylineProc (OdInt32 numPoints, const OdGePoint3d *vertexList, const OdGeVector3d *pNormal=0, const OdGeVector3d *pExtrusion=0, OdGsMarker baseSubEntMarker=-1)
 
virtual void polygonProc (OdInt32 numPoints, const OdGePoint3d *vertexList, const OdGeVector3d *pNormal=0, const OdGeVector3d *pExtrusion=0)
 
virtual void xlineProc (const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint)
 
virtual void rayProc (const OdGePoint3d &basePoint, const OdGePoint3d &throughPoint)
 
virtual void meshProc (OdInt32 numRows, OdInt32 numColumns, const OdGePoint3d *vertexList, const OdGiEdgeData *pEdgeData=0, const OdGiFaceData *pFaceData=0, const OdGiVertexData *pVertexData=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)
 
virtual void circleProc (const OdGePoint3d &center, double radius, const OdGeVector3d &normal, const OdGeVector3d *pExtrusion=0)
 
virtual void circleProc (const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint, const OdGePoint3d &thirdPoint, const OdGeVector3d *pExtrusion=0)
 
virtual void circularArcProc (const OdGePoint3d &center, double radius, const OdGeVector3d &normal, const OdGeVector3d &startVector, double sweepAngle, OdGiArcType arcType=kOdGiArcSimple, const OdGeVector3d *pExtrusion=0)
 
virtual void circularArcProc (const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint, const OdGePoint3d &thirdPoint, OdGiArcType arcType=kOdGiArcSimple, const OdGeVector3d *pExtrusion=0)
 
virtual void ellipArcProc (const OdGeEllipArc3d &ellipArc, const OdGePoint3d *endPointOverrides=0, OdGiArcType arcType=kOdGiArcSimple, const OdGeVector3d *pExtrusion=0)
 
virtual void nurbsProc (const OdGeNurbCurve3d &nurbsCurve)
 
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)
 
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 *extentsBox=0)
 
virtual void shapeProc (const OdGePoint3d &position, const OdGeVector3d &direction, const OdGeVector3d &upVector, int shapeNumber, const OdGiTextStyle *pTextStyle, const OdGeVector3d *pExtrusion=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)
 
virtual void metafileProc (const OdGePoint3d &origin, const OdGeVector3d &u, const OdGeVector3d &v, const OdGiMetafile *pMetafile, bool dcAligned=true, bool allowClipping=false)
 
virtual void setExtentsProc (const OdGePoint3d *pPoints, bool bTransform=true)
 
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)
 
virtual void rowOfDotsProc (OdInt32 numPoints, const OdGePoint3d &startPoint, const OdGeVector3d &dirToNextPoint)
 
void edgeProc (const OdGiEdge2dArray &edges, const OdGeMatrix3d *pXform=0)
 
- Public Member Functions inherited from OdGiExtAccum
 ODRX_DECLARE_MEMBERS (OdGiExtAccum)
 
- Public Member Functions inherited from OdGiConveyorNode
 ODRX_DECLARE_MEMBERS (OdGiConveyorNode)
 
- 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 OdGsConveyorNodeBase
 OdGsConveyorNodeBase ()
 
void addSourceNode (OdGiConveyorOutput &sourceNode)
 
void removeSourceNode (OdGiConveyorOutput &sourceNode)
 
void setDestGeometry (OdGiConveyorGeometry &destGeometry)
 
OdGiConveyorGeometrydestGeometry () const
 
void updateLink ()
 
void updateLink (OdGiConveyorGeometry *pGeometry)
 
- Public Member Functions inherited from OdGiConveyorGeometry
virtual ~OdGiConveyorGeometry ()
 
virtual void xlineProc2 (const OdGePoint3d &basePoint, const OdGeVector3d &direction)
 
virtual void rayProc2 (const OdGePoint3d &basePoint, const OdGeVector3d &direction)
 
virtual int ttfCharProcFlags () const
 
virtual bool ttfCharProc (OdChar, 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)
 

Protected Member Functions

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

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 OdGiExtAccum
static void textExtents (OdGiConveyorContext *pDrawContext, const OdGiTextStyle &textStyle, const OdChar *pStr, int nLength, OdUInt32 raw, OdGePoint3d &minExt, OdGePoint3d &maxExt, OdGePoint3d *pEndPos=NULL, OdGeExtents3d *pExactExtents=NULL)
 
- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 
- Protected Types inherited from OdGsConveyorNodeBase
typedef OdArray< OdGiConveyorOutput *, OdMemoryAllocator< OdGiConveyorOutput * > > SourceNodeArray
 
- Protected Attributes inherited from OdGsConveyorNodeBase
SourceNodeArray m_sources
 
OdGiConveyorGeometrym_pDestGeom
 

Detailed Description

Wrapper extensions accumulator class adopted for Gs.

Corresponding C++ library: TD_Gs

<group OdGs_Classes>

Definition at line 87 of file GsExtAccum.h.

Constructor & Destructor Documentation

◆ OdGsExtAccum()

OdGsExtAccum::OdGsExtAccum ( )
protected

Member Function Documentation

◆ addExtents()

virtual void OdGsExtAccum::addExtents ( const OdGeExtents3d extents)
virtual

Adds the specified extents to the the accumulated extents for the OdGiConveyorGeometry object associated with this object.

Parameters
extents[out] Extents to be added.

Implements OdGiExtAccum.

◆ addLineweight()

void OdGsExtAccum::addLineweight ( OdDb::LineWeight  lwd)

◆ baseView()

OdGsViewImpl* OdGsExtAccum::baseView ( )
inline

Definition at line 113 of file GsExtAccum.h.

◆ circleProc() [1/2]

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

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.

◆ circleProc() [2/2]

virtual void OdGsExtAccum::circleProc ( const OdGePoint3d firstPoint,
const OdGePoint3d secondPoint,
const OdGePoint3d thirdPoint,
const OdGeVector3d pExtrusion = 0 
)
virtual

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.

◆ circularArcProc() [1/2]

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

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.

◆ circularArcProc() [2/2]

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

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.

◆ edgeProc()

void OdGsExtAccum::edgeProc ( const OdGiEdge2dArray edges,
const OdGeMatrix3d pXform = 0 
)
virtual

Processes hatch boundary.

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

Implements OdGiConveyorGeometry.

◆ ellipArcProc()

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

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.

◆ geometry()

virtual OdGiConveyorGeometry& OdGsExtAccum::geometry ( )
virtual

Returns the OdGiConveyorGeometry object associated with this object.

Remarks
This instance contains the functions that can be used by an entity to vectorize itself.

Implements OdGiExtAccum.

◆ getExtents()

virtual bool OdGsExtAccum::getExtents ( OdGeExtents3d extents) const
virtual

Returns the accumulated extents for the OdGiConveyorGeometry object associated with this object.

Parameters
extents[out] Receives the extents.

Implements OdGiExtAccum.

◆ getLineweight()

OdDb::LineWeight OdGsExtAccum::getLineweight ( ) const

◆ giExtAccum() [1/2]

OdGiExtAccum* OdGsExtAccum::giExtAccum ( )
inline

Definition at line 104 of file GsExtAccum.h.

◆ giExtAccum() [2/2]

const OdGiExtAccum* OdGsExtAccum::giExtAccum ( ) const
inline

Definition at line 105 of file GsExtAccum.h.

◆ input()

virtual OdGiConveyorInput& OdGsExtAccum::input ( )
virtual

Returns the input from this ConveyorNode object.

Implements OdGiConveyorNode.

◆ meshProc()

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

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.
See also
OdGiEdgeData OdGiFaceData OdGiVertexData Vectorization Primitives

Implements OdGiConveyorGeometry.

◆ metafileProc()

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

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.

◆ nurbsProc()

virtual void OdGsExtAccum::nurbsProc ( const OdGeNurbCurve3d nurbsCurve)
virtual

Processes OdGeNurbCurve3d data.

Parameters
nurbsCurve[in] NURBS curve data.

Implements OdGiConveyorGeometry.

◆ ODRX_DECLARE_MEMBERS()

OdGsExtAccum::ODRX_DECLARE_MEMBERS ( OdGsExtAccum  )

◆ optionalGeometry()

OdGiConveyorGeometry* OdGsExtAccum::optionalGeometry ( )
virtual

Implements OdGsConveyorNodeBase.

◆ output()

virtual OdGiConveyorOutput& OdGsExtAccum::output ( )
virtual

Returns the output from this ConveyorNode object.

Implements OdGiConveyorNode.

◆ plineContainBulges()

virtual bool OdGsExtAccum::plineContainBulges ( ) const
virtual

Returns true if and only if any of input pline primitives contain bulges.

Implements OdGiExtAccum.

◆ plineProc()

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

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.

◆ polygonProc()

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

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.

◆ polylineProc()

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

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.

◆ polypointProc()

virtual void OdGsExtAccum::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 
)
virtual

Processes array of points.

Parameters
numPoints[in] Number of points.
vertexList[in] Array of vertices.
pNormals[in] Array of normal vectors.
pExtrusions[in] Array of extrusion vectors.
pSubEntMarkers[in] Array of subentity markers.
Remarks
The extrusion vectors specifies the direction and distance of the extrusion.

Implements OdGiConveyorGeometry.

◆ rasterImageProc()

virtual void OdGsExtAccum::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 
)
virtual

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.

◆ rayProc()

virtual void OdGsExtAccum::rayProc ( const OdGePoint3d basePoint,
const OdGePoint3d throughPoint 
)
virtual

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.

◆ resetExtents()

virtual void OdGsExtAccum::resetExtents ( const OdGeExtents3d newExtents = OdGeExtents3d())
virtual

Resets the accumulated extents for the OdGiConveyorGeometry object associated with this object.

Parameters
newExtents[out] New extents.

Implements OdGiExtAccum.

◆ rowOfDotsProc()

virtual void OdGsExtAccum::rowOfDotsProc ( OdInt32  numPoints,
const OdGePoint3d startPoint,
const OdGeVector3d dirToNextPoint 
)
virtual

Processes row of points.

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

Implements OdGiConveyorGeometry.

◆ setBaseView()

virtual void OdGsExtAccum::setBaseView ( OdGsViewImpl pBaseVV)
virtual

Setup current OdGsViewImpl object for optional use of additional information into extents calculations.

Parameters
pBaseVV[in] Pointer to the view

◆ setDeviation() [1/2]

virtual void OdGsExtAccum::setDeviation ( const OdGeDoubleArray deviations)
inlinevirtual

Sets max deviation for curve tessellation.

Implements OdGiExtAccum.

Definition at line 124 of file GsExtAccum.h.

◆ setDeviation() [2/2]

virtual void OdGsExtAccum::setDeviation ( const OdGiDeviation pDeviation)
inlinevirtual

Sets deviation object to obtain max deviation for curve tessellation.

Implements OdGiExtAccum.

Definition at line 128 of file GsExtAccum.h.

◆ setDrawContext()

virtual void OdGsExtAccum::setDrawContext ( OdGiConveyorContext pDrawContext)
virtual

Sets the draw context associated with this object.

Parameters
pDrawContext[in] Pointer to the draw context.

Implements OdGiExtAccum.

◆ setExtentsProc()

virtual void OdGsExtAccum::setExtentsProc ( const OdGePoint3d pPoints,
bool  bTransform = true 
)
virtual

Reimplemented from OdGiConveyorGeometry.

◆ shapeProc()

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

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.

◆ shellProc()

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

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.
See also
Vectorization Primitives

Implements OdGiConveyorGeometry.

◆ textProc()

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

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.

◆ textProc2()

virtual void OdGsExtAccum::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 
)
virtual

Reimplemented from OdGiConveyorGeometry.

◆ xlineProc()

virtual void OdGsExtAccum::xlineProc ( const OdGePoint3d firstPoint,
const OdGePoint3d secondPoint 
)
virtual

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.


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