CFx SDK Documentation
2020SP3
|
#include <GiConveyorGeometry.h>
Public Types | |
enum | ETtfCharProcFlags { kTtfCharProcEnable = 1, kTtfCharProcBoundBlock = 2 } |
enum | EConveyorBoundaryInfoFlags { kBoundaryProcXform = 1, kBoundaryProcXformNonUni = 2, kBoundaryProcProjection = 4, kBoundaryProcClip = 8, kBoundaryProcClipFull = 16 } |
Public Member Functions | |
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 ¢er, double radius, const OdGeVector3d &normal, const OdGeVector3d *pExtrusion=0)=0 |
virtual void | circleProc (const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint, const OdGePoint3d &thirdPoint, const OdGeVector3d *pExtrusion=0)=0 |
virtual void | circularArcProc (const OdGePoint3d ¢er, 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, 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 |
virtual void | rowOfDotsProc (OdInt32 numPoints, const OdGePoint3d &startPoint, const OdGeVector3d &dirToNextPoint)=0 |
virtual void | edgeProc (const OdGiEdge2dArray &edges, const OdGeMatrix3d *pXform=0)=0 |
This class defines the interface through which nodes in the Teigha vectorization pipeline transfer geometric data.
Definition at line 269 of file GiConveyorGeometry.h.
Enumerator | |
---|---|
kBoundaryProcXform | |
kBoundaryProcXformNonUni | |
kBoundaryProcProjection | |
kBoundaryProcClip | |
kBoundaryProcClipFull |
Definition at line 657 of file GiConveyorGeometry.h.
Enumerator | |
---|---|
kTtfCharProcEnable | |
kTtfCharProcBoundBlock |
Definition at line 640 of file GiConveyorGeometry.h.
|
inlinevirtual |
Definition at line 272 of file GiConveyorGeometry.h.
|
pure virtual |
Process circle data.
center | [in] Center point. |
radius | [in] Radius. |
normal | [in] Normal vector. |
pExtrusion | [in] Pointer to the extrusion vector. |
Implemented in OdGsExtAccum, OdGiGeometrySimplifier, OdGiEmptyGeometry, and OdGiConveyorPassingImpl< TThisClass, TBase >.
|
pure virtual |
Process circle data.
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. |
Implemented in OdGsExtAccum, OdGiGeometrySimplifier, OdGiEmptyGeometry, and OdGiConveyorPassingImpl< TThisClass, TBase >.
|
pure virtual |
Processes circular arc data.
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. |
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.
Implemented in OdGsExtAccum, OdGiGeometrySimplifier, OdGiEmptyGeometry, and OdGiConveyorPassingImpl< TThisClass, TBase >.
|
pure virtual |
Processes circular arc data.
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. |
Implemented in OdGsExtAccum, OdGiGeometrySimplifier, OdGiEmptyGeometry, and OdGiConveyorPassingImpl< TThisClass, TBase >.
|
inlinevirtual |
Reimplemented in OdGiConveyorPassingImpl< TThisClass, TBase >.
Definition at line 665 of file GiConveyorGeometry.h.
|
pure virtual |
Processes hatch boundary.
edges | [in] 2d curves array. |
pXform | [in] Optional boundary transform matrix. |
Implemented in OdGsExtAccum, OdGiGeometrySimplifier, OdGiEmptyGeometry, and OdGiConveyorPassingImpl< TThisClass, TBase >.
|
pure virtual |
Processes OdGeEllipArc3d data.
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. |
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.
Implemented in OdGiEmptyGeometry, OdGsExtAccum, OdGiGeometrySimplifier, and OdGiConveyorPassingImpl< TThisClass, TBase >.
|
pure virtual |
Processes mesh data.
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. |
Implemented in OdGiEmptyGeometry, OdGsExtAccum, OdGiGeometrySimplifier, and OdGiConveyorPassingImpl< TThisClass, TBase >.
|
pure virtual |
Processes metafile data.
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. |
Implemented in OdGsExtAccum, OdGiGeometrySimplifier, OdGiEmptyGeometry, and OdGiConveyorPassingImpl< TThisClass, TBase >.
|
pure virtual |
Processes OdGeNurbCurve3d data.
nurbsCurve | [in] NURBS curve data. |
Implemented in OdGsExtAccum, OdGiGeometrySimplifier, OdGiEmptyGeometry, and OdGiConveyorPassingImpl< TThisClass, TBase >.
|
pure virtual |
Processes OdGiPolyline data.
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. |
Implemented in OdGiEmptyGeometry, OdGsExtAccum, OdGiGeometrySimplifier, and OdGiConveyorPassingImpl< TThisClass, TBase >.
|
pure virtual |
Processes polygon data.
numPoints | [in] Number of points. |
vertexList | [in] Array of vertices. |
pNormal | [in] Pointer to the normal vector. |
pExtrusion | [in] Pointer to the extrusion vector. |
Implemented in OdGsExtAccum, OdGiGeometrySimplifier, OdGiEmptyGeometry, and OdGiConveyorPassingImpl< TThisClass, TBase >.
|
pure virtual |
Processes simple polyline data.
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. |
Implemented in OdGsExtAccum, OdGiSectionGeometryOutput, OdGiGeometrySimplifier, OdGiEmptyGeometry, and OdGiConveyorPassingImpl< TThisClass, TBase >.
|
pure virtual |
Processes array of points.
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. |
Implemented in OdGsExtAccum, OdGiGeometrySimplifier, OdGiEmptyGeometry, and OdGiConveyorPassingImpl< TThisClass, TBase >.
|
inline |
Definition at line 714 of file GiConveyorGeometry.h.
|
pure virtual |
Processes raster images data.
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]. |
Implemented in OdGsExtAccum, OdGiGeometrySimplifier, OdGiEmptyGeometry, and OdGiConveyorPassingImpl< TThisClass, TBase >.
|
pure virtual |
Processes Ray data.
basePoint | [in] Base point. |
throughPoint | [in] Through point |
Implemented in OdGsExtAccum, OdGiGeometrySimplifier, OdGiEmptyGeometry, and OdGiConveyorPassingImpl< TThisClass, TBase >.
|
inlinevirtual |
Reimplemented in OdGiConveyorPassingImpl< TThisClass, TBase >.
Definition at line 633 of file GiConveyorGeometry.h.
|
pure virtual |
Processes row of points.
numPoints | [in] Number of points. |
startPoint | [in] First point to draw. |
dirToNextPoint | [in] Offset to next point. |
Implemented in OdGsExtAccum, OdGiGeometrySimplifier, OdGiEmptyGeometry, and OdGiConveyorPassingImpl< TThisClass, TBase >.
|
inline |
Definition at line 743 of file GiConveyorGeometry.h.
|
inlinevirtual |
Reimplemented in OdGsExtAccum.
Definition at line 638 of file GiConveyorGeometry.h.
|
pure virtual |
Processes shape data.
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. |
Implemented in OdGsExtAccum, OdGiGeometrySimplifier, OdGiEmptyGeometry, and OdGiConveyorPassingImpl< TThisClass, TBase >.
|
pure virtual |
Processes shell data.
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. |
Implemented in OdGsExtAccum, OdGiSectionGeometryOutput, OdGiGeometrySimplifier, OdGiEmptyGeometry, and OdGiConveyorPassingImpl< TThisClass, TBase >.
|
pure virtual |
Processes text data.
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. |
Implemented in OdGiGeometrySimplifier, OdGiEmptyGeometry, OdGsExtAccum, and OdGiConveyorPassingImpl< TThisClass, TBase >.
|
inlinevirtual |
Reimplemented in OdGiGeometrySimplifier, OdGsExtAccum, and OdGiConveyorPassingImpl< TThisClass, TBase >.
Definition at line 550 of file GiConveyorGeometry.h.
|
inlinevirtual |
Definition at line 646 of file GiConveyorGeometry.h.
|
inlinevirtual |
Definition at line 645 of file GiConveyorGeometry.h.
|
inlinevirtual |
Reimplemented in OdGiGeometrySimplifier, and OdGiConveyorPassingImpl< TThisClass, TBase >.
Definition at line 649 of file GiConveyorGeometry.h.
|
pure virtual |
Processes Xline data.
firstPoint | [in] First point. |
secondPoint | [in] Second point. |
Implemented in OdGsExtAccum, OdGiGeometrySimplifier, OdGiEmptyGeometry, and OdGiConveyorPassingImpl< TThisClass, TBase >.
|
inlinevirtual |
Reimplemented in OdGiConveyorPassingImpl< TThisClass, TBase >.
Definition at line 629 of file GiConveyorGeometry.h.