CFx SDK Documentation
2020SP3
|
#include <GsExtAccum.h>
Public Member Functions | |
ODRX_DECLARE_MEMBERS (OdGsExtAccum) | |
OdGiConveyorGeometry * | optionalGeometry () |
OdGiExtAccum * | giExtAccum () |
const OdGiExtAccum * | giExtAccum () const |
virtual void | setBaseView (OdGsViewImpl *pBaseVV) |
OdGsViewImpl * | baseView () |
virtual void | setDrawContext (OdGiConveyorContext *pDrawContext) |
virtual OdGiConveyorGeometry & | geometry () |
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 OdGiConveyorInput & | input () |
virtual OdGiConveyorOutput & | output () |
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 ¢er, 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 ¢er, 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 OdRxObject * | queryX (const OdRxClass *pClass) const |
virtual OdRxObject * | x (const OdRxClass *pClass) const |
virtual OdRxClass * | isA () 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) |
OdGiConveyorGeometry & | destGeometry () 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 () | |
Wrapper extensions accumulator class adopted for Gs.
Corresponding C++ library: TD_Gs
<group OdGs_Classes>
Definition at line 87 of file GsExtAccum.h.
|
protected |
|
virtual |
Adds the specified extents to the the accumulated extents for the OdGiConveyorGeometry object associated with this object.
extents | [out] Extents to be added. |
Implements OdGiExtAccum.
void OdGsExtAccum::addLineweight | ( | OdDb::LineWeight | lwd | ) |
|
inline |
Definition at line 113 of file GsExtAccum.h.
|
virtual |
Process circle data.
center | [in] Center point. |
radius | [in] Radius. |
normal | [in] Normal vector. |
pExtrusion | [in] Pointer to the extrusion vector. |
Implements OdGiConveyorGeometry.
|
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. |
Implements OdGiConveyorGeometry.
|
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.
Implements OdGiConveyorGeometry.
|
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. |
Implements OdGiConveyorGeometry.
|
virtual |
Processes hatch boundary.
edges | [in] 2d curves array. |
pXform | [in] Optional boundary transform matrix. |
Implements OdGiConveyorGeometry.
|
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.
Implements OdGiConveyorGeometry.
|
virtual |
Returns the OdGiConveyorGeometry object associated with this object.
Implements OdGiExtAccum.
|
virtual |
Returns the accumulated extents for the OdGiConveyorGeometry object associated with this object.
extents | [out] Receives the extents. |
Implements OdGiExtAccum.
OdDb::LineWeight OdGsExtAccum::getLineweight | ( | ) | const |
|
inline |
Definition at line 104 of file GsExtAccum.h.
|
inline |
Definition at line 105 of file GsExtAccum.h.
|
virtual |
Returns the input from this ConveyorNode object.
Implements OdGiConveyorNode.
|
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. |
Implements OdGiConveyorGeometry.
|
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. |
Implements OdGiConveyorGeometry.
|
virtual |
Processes OdGeNurbCurve3d data.
nurbsCurve | [in] NURBS curve data. |
Implements OdGiConveyorGeometry.
OdGsExtAccum::ODRX_DECLARE_MEMBERS | ( | OdGsExtAccum | ) |
|
virtual |
Implements OdGsConveyorNodeBase.
|
virtual |
Returns the output from this ConveyorNode object.
Implements OdGiConveyorNode.
|
virtual |
Returns true if and only if any of input pline primitives contain bulges.
Implements OdGiExtAccum.
|
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. |
Implements OdGiConveyorGeometry.
|
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. |
Implements OdGiConveyorGeometry.
|
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. |
Implements OdGiConveyorGeometry.
|
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. |
Implements OdGiConveyorGeometry.
|
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]. |
Implements OdGiConveyorGeometry.
|
virtual |
Processes Ray data.
basePoint | [in] Base point. |
throughPoint | [in] Through point |
Implements OdGiConveyorGeometry.
|
virtual |
Resets the accumulated extents for the OdGiConveyorGeometry object associated with this object.
newExtents | [out] New extents. |
Implements OdGiExtAccum.
|
virtual |
Processes row of points.
numPoints | [in] Number of points. |
startPoint | [in] First point to draw. |
dirToNextPoint | [in] Offset to next point. |
Implements OdGiConveyorGeometry.
|
virtual |
Setup current OdGsViewImpl object for optional use of additional information into extents calculations.
pBaseVV | [in] Pointer to the view |
|
inlinevirtual |
Sets max deviation for curve tessellation.
Implements OdGiExtAccum.
Definition at line 124 of file GsExtAccum.h.
|
inlinevirtual |
Sets deviation object to obtain max deviation for curve tessellation.
Implements OdGiExtAccum.
Definition at line 128 of file GsExtAccum.h.
|
virtual |
Sets the draw context associated with this object.
pDrawContext | [in] Pointer to the draw context. |
Implements OdGiExtAccum.
|
virtual |
Reimplemented from OdGiConveyorGeometry.
|
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. |
Implements OdGiConveyorGeometry.
|
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. |
Implements OdGiConveyorGeometry.
|
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. |
Implements OdGiConveyorGeometry.
|
virtual |
Reimplemented from OdGiConveyorGeometry.
|
virtual |
Processes Xline data.
firstPoint | [in] First point. |
secondPoint | [in] Second point. |
Implements OdGiConveyorGeometry.