CFx SDK Documentation 2024 SP0
|
#include <GiGeometrySimplifier.h>
Public Member Functions | |
OdGiGeometrySimplifier () | |
~OdGiGeometrySimplifier () | |
void | setDeviation (const OdGeDoubleArray &deviations) |
void | setDeviation (const OdGiDeviation *pDeviation) |
OdGsView::RenderMode | renderMode () |
void | setDrawContext (OdGiConveyorContext *pDrawCtx) |
OdGiConveyorContext * | drawContext () |
const OdGiConveyorContext * | drawContext () const |
virtual void | polylineOut (OdInt32 numPoints, const OdGePoint3d *vertexList) |
virtual void | polygonOut (OdInt32 numPoints, const OdGePoint3d *vertexList, const OdGeVector3d *pNormal=0) |
void | setVertexData (OdInt32 numVertices, const OdGePoint3d *vertexList, const OdGiVertexData *pVertexData=0) |
OdInt32 | vertexDataCount () const |
const OdGePoint3d * | vertexDataList () const |
const OdGiVertexData * | vertexData () const |
OdGsMarker | baseSubEntMarker () const |
OdGiVisibility | polylineOutEdgeVisibility () const |
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 | generateMeshWires (OdInt32 numRows, OdInt32 numColumns, const OdGiEdgeData *pEdgeData, const OdGiFaceData *pFaceData) |
virtual void | generateMeshFaces (OdInt32 numRows, OdInt32 numColumns, const OdGiFaceData *pFaceData) |
virtual void | meshFaceOut (const OdInt32 *faceList, const OdGeVector3d *pNormal) |
virtual void | filledShellProc (const OdGePoint3d *vertexList, OdInt32 faceListSize, const OdInt32 *faceList, const OdGiEdgeData *pEdgeData=0, const OdGiFaceData *pFaceData=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 | generateShellWires (OdInt32 faceListSize, const OdInt32 *faceList, const OdGiEdgeData *pEdgeData=0, const OdGiFaceData *pFaceData=0) |
virtual void | generateShellFaces (OdInt32 faceListSize, const OdInt32 *faceList, const OdGiEdgeData *pEdgeData=0, const OdGiFaceData *pFaceData=0) |
virtual void | shellFaceOut (OdInt32 faceListSize, const OdInt32 *faceList, const OdGeVector3d *pNormal) |
virtual void | triangleOut (const OdInt32 *vertices, const OdGeVector3d *pNormal) |
virtual void | generateShellFacets (OdInt32 faceListSize, const OdInt32 *faceList, const OdGiFaceData *pFaceData=0, OdInt32 maxFacetSize=3) |
virtual void | facetOut (const OdInt32 *faceList, const OdInt32 *edgeIndices, const OdGeVector3d *pNormal) |
virtual void | circleProc (const OdGePoint3d ¢er, double radius, const OdGeVector3d &normal, const OdGeVector3d *pExtrusion=0) |
void | circleProc2 (const OdGePoint3d ¢er, double radius, const OdGeVector3d &normal, const OdGeVector3d &startVector, 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 | textProc (const OdGePoint3d &position, const OdGeVector3d &u, const OdGeVector3d &v, const OdChar *msg, OdInt32 length, bool raw, const OdGiTextStyle *pTextStyle, const OdGeVector3d *pExtrusion=0) |
virtual void | textProc2 (const OdGePoint3d &position, const OdGeVector3d &u, const OdGeVector3d &v, const OdChar *msg, OdInt32 length, 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 | nurbsProc (const OdGeNurbCurve3d &nurbsCurve) |
virtual void | ellipArcProc (const OdGeEllipArc3d &ellipArc, const OdGePoint3d *endPointOverrides=0, OdGiArcType arcType=kOdGiArcSimple, const OdGeVector3d *pExtrusion=0) |
virtual bool | ellipArcProc (const OdGeEllipArc3d &ellipArc, double width) |
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 | initTexture (const OdGePoint3d &origin, const OdGeVector3d &u, const OdGeVector3d &v, const OdGiRasterImage *pImage, bool transparency, double brightness, double contrast, double fade) |
virtual void | uninitTexture () |
virtual void | metafileProc (const OdGePoint3d &origin, const OdGeVector3d &u, const OdGeVector3d &v, const OdGiMetafile *pMetafile, bool dcAligned=true, bool allowClipping=false) |
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) |
virtual void | pointCloudProc (const OdGiPointCloud &pCloud, const OdGiPointCloudFilter *pFilter=NULL) |
virtual void | edgeProc (const OdGiEdge2dArray &edges, const OdGeMatrix3d *pXform=0) |
virtual void | polylineOut (OdInt32 numPoints, const OdInt32 *vertexIndexList) |
void | convertMeshToShell (OdInt32 rows, OdInt32 columns, const OdGePoint3d *pVertexList, const OdGiEdgeData *pEdgeData, const OdGiFaceData *pFaceData, const OdGiVertexData *pVertexData) |
virtual void | ttfPolyDrawProc (OdInt32 numVertices, const OdGePoint3d *vertexList, OdInt32 faceListSize, const OdInt32 *faceList, const OdUInt8 *pBezierTypes, const OdGiFaceData *pFaceData=0) |
void | subdivideShellByVertexLimit (OdInt32 numVertices, const OdGePoint3d *vertexList, OdInt32 faceListSize, const OdInt32 *faceList, const OdGiEdgeData *pEdgeData, const OdGiFaceData *pFaceData, const OdGiVertexData *pVertexData, OdUInt32 nLimit) |
virtual bool | generateShellFill (OdGiHatchPatternPtr pHatch, OdDouble &fillDensity, const OdGePoint3d *pVertexList, OdInt32 faceListSize, const OdInt32 *pFaceList, const OdGiFaceData *pFaceData=0, OdGiMapperItemEntry *pMapper=0) |
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 ¢er, double radius, const OdGeVector3d &normal, const OdGeVector3d *pExtrusion=0)=0 |
virtual void | circleProc2 (const OdGePoint3d ¢er, 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 ¢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, 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 | SimplifierFlags { kSimplProcessingText = (1 << 0) , kSimplFillModeDisabled = (1 << 1) , kSimplEyeSpaceSilhs = (1 << 2) , kSimplEdgeVisible = (1 << 3) , kSimplEdgeSilhouette = (1 << 4) , kSimplNoFaceNormals = (1 << 5) , kSimplGenTrgNormals = (1 << 6) , kSimplLastFlag = kSimplGenTrgNormals , kZInverted = (1 << 30) , kDiscardBackFaces = (1 << 31) } |
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 } |
This class provides tessellation functionality for the ODA Platform vectorization framework.
An instance of this class is used to simplify the geometry produced by the ODA Platform vectorization framework.
<group OdGi_Classes>
Definition at line 58 of file GiGeometrySimplifier.h.
|
protected |
Enumerator | |
---|---|
kSimplProcessingText | |
kSimplFillModeDisabled | |
kSimplEyeSpaceSilhs | |
kSimplEdgeVisible | |
kSimplEdgeSilhouette | |
kSimplNoFaceNormals | |
kSimplGenTrgNormals | |
kSimplLastFlag | |
kZInverted | |
kDiscardBackFaces |
Definition at line 79 of file GiGeometrySimplifier.h.
OdGiGeometrySimplifier::OdGiGeometrySimplifier | ( | ) |
OdGiGeometrySimplifier::~OdGiGeometrySimplifier | ( | ) |
|
inline |
Retrieves base sub-entity selection marker for polylineOut().
Definition at line 313 of file GiGeometrySimplifier.h.
|
protected |
|
virtual |
Introduces a circle into this vectorization context.
center | [in] Center point. |
radius | [in] Radius. |
normal | [in] Normal vector. |
pExtrusion | [in] Extrusion vector. |
Implements OdGiConveyorGeometry.
Reimplemented in AECGe::Harvester, and AECGe::HarvesterOverall.
|
virtual |
Processes a circle.
firstPoint | [in] First point. |
secondPoint | [in] Second point. |
thirdPoint | [in] Third point. |
pExtrusion | [in] Extrusion vector. |
Implements OdGiConveyorGeometry.
Reimplemented in AECGe::Harvester, and AECGe::HarvesterOverall.
|
virtual |
Introduces a circle into this vectorization context.
center | [in] Center point. |
radius | [in] Radius. |
normal | [in] Normal vector. |
startVector | [in] Normal vector. |
pExtrusion | [in] Extrusion vector. |
Reimplemented from OdGiConveyorGeometry.
|
virtual |
Introduces a circular arc into this vectorization context.
center | [in] Center point. |
radius | [in] Radius. |
normal | [in] Normal to a plane on which a circular arc lies. |
startVector | [in] Defines the start of this arc. |
sweepAngle | [in] Angle that defines the arc. |
arcType | [in] Arc type. |
pExtrusion | [in] 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
Implements OdGiConveyorGeometry.
Reimplemented in AECGe::Harvester, and AECGe::HarvesterOverall.
|
virtual |
Introduces a circular arc into this vectorization context.
firstPoint | [in] First point. |
secondPoint | [in] Second point. |
thirdPoint | [in] Third point. |
arcType | [in] Arc type. |
pExtrusion | [in] 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
Implements OdGiConveyorGeometry.
Reimplemented in AECGe::Harvester, and AECGe::HarvesterOverall.
void OdGiGeometrySimplifier::convertMeshToShell | ( | OdInt32 | rows, |
OdInt32 | columns, | ||
const OdGePoint3d * | pVertexList, | ||
const OdGiEdgeData * | pEdgeData, | ||
const OdGiFaceData * | pFaceData, | ||
const OdGiVertexData * | pVertexData | ||
) |
Utility function to be called from client implementation of meshProc() to unify mesh primitives processing.
rows | [in] Number of rows. |
columns | [in] Number of columns. |
pVertexList | [in] Pointer to an array of vertices. |
pEdgeData | [in] Additional edge data. |
pFaceData | [in] Additional face data. |
pVertexData | [in] Additional vertex data. |
|
protected |
Returns the recommended maximum deviation of the current vectorization for the specified point on the curve or surface being tesselated.
deviationType | [in] Deviation type. |
pointOnCurve | [in] Point on the curve. |
|
inline |
Retrieves the OdGiConveyorContext associated with this Vectorizer object.
Definition at line 217 of file GiGeometrySimplifier.h.
|
inline |
Retrieves the OdGiConveyorContext associated with this Vectorizer object.
Definition at line 225 of file GiGeometrySimplifier.h.
|
protected |
Draws an arc of the specified type.
arcType | [in] Arc type. |
center | [in] Center of arc. |
points | [out] Receives an array of points comprising the arc. |
pNormal | [in] Pointer to the normal to the arc. |
pExtrusion | [in] Pointer to the extrusion direction of the arc. |
|
virtual |
Introduces an edge into this vectorization context.
edges | [in] Array of 2d points that define a boundary. |
pXform | [in] Transformation matrix. |
Implements OdGiConveyorGeometry.
|
virtual |
Introduces an elliptical arc into this vectorization context.
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] Extrusion vector. |
Implements OdGiConveyorGeometry.
Reimplemented in AECGe::Harvester, and AECGe::HarvesterOverall.
|
virtual |
Introduces an elliptical arc into this vectorization context.
ellipArc | [in] Elliptical arc. |
width | [in] Arc width. |
|
inlineprotected |
Enables processing silhouettes in ECS (Eye Coordinates Space).
Definition at line 138 of file GiGeometrySimplifier.h.
|
virtual |
Outputs a facet.
faceList | [in] List of numbers that define the vertices in the facet. |
edgeIndices | [in] Currently not used. |
pNormal | [in] Pointer to the normal vector for this face. |
|
virtual |
BIM-specific version of shellProc which also generates fill pattern data for shell faces.
vertexList | [in] OdGePoint3d Array which represents vertices. |
faceListSize | [in] Number of entries in faceList. |
faceList | [in] List of numbers that define the faces in the shell. |
pEdgeData | [in] Pointer to additional edge data. |
pFaceData | [in] Pointer to additional face data. |
|
protected |
Returns the FillMode and DrawEdges for this Vectorizer object.
drawEdges | [out] Receives the DrawEdges value. |
|
protected |
|
protected |
|
virtual |
Tessellates a filled mesh.
numRows | [in] Number of rows in the mesh. |
numColumns | [in] Number of columns in the mesh. |
pFaceData | [in] Pointer to additional face data. |
Client applications have the option of overriding this function to process the mesh data themselves. If the function is not overridden, the default implementation of this function processes the mesh into a set of facets. More specifically, the default generateMeshFaces function processes mesh attributes, and calls triangleOut function with the tessellated mesh data.
|
protected |
|
virtual |
Tessellates a wireframe mesh.
numRows | [in] Number of rows in the mesh. |
numColumns | [in] Number of columns in the mesh. |
pEdgeData | [in] Pointer to additional edge data. |
pFaceData | [in] Pointer to additional face data. |
Client applications have the option of overriding this function to process the mesh data themselves. If the function is not overridden, the default implementation of this function processes the mesh into a set of facets. More specifically, the default generateMeshWires function processes mesh attributes, and calls polylineOut with the tessellated mesh data.
|
virtual |
Tessellates a filled wireframe shell.
faceListSize | [in] Number of entries in faceList. |
faceList | [in] List of numbers that define the faces in the shell. |
pEdgeData | [in] Pointer to additional edge data. |
pFaceData | [in] Pointer to additional face data. |
|
virtual |
Tessellates a shell.
faceListSize | [in] Number of entries in faceList. |
faceList | [in] List of numbers that define the faces in the shell. |
pFaceData | [in] Pointer to additional face data. |
maxFacetSize | [in] Maximum number of edges in the tessellated faces produced by this function. |
|
virtual |
Applies given fill pattern to the shell. Returns true if pattern was applied succesfully and false if pattern is too dense and solid fill is required.
pHatch | [in] Smart pointer to hatch pattern to be applied. |
fillDensity | [in] Fill density. |
pVertexList | [in] Pointer to a vertex list. |
faceListSize | [in] Number of faces. |
pFaceList | [in] Pointer to a face list. |
pFaceData | [in] Additional face data. |
pMapper | [in] Pointer to a material mapper. |
|
virtual |
Tessellates a wireframe shell.
faceListSize | [in] Number of entries in faceList. |
faceList | [in] List of numbers that define the faces in the shell. |
pEdgeData | [in] Pointer to additional edge data. |
pFaceData | [in] Pointer to additional face data. |
Reimplemented in OdGiPlineContourCalcSimplifierInheritance< SimplClass >.
|
inlineprotected |
Returns the OdGiContext for this Vectorizer object.
Definition at line 143 of file GiGeometrySimplifier.h.
|
virtual |
Initializes a texture map for this Vectorizer object.
origin | [in] Lower-left corner. |
u | [in] Image width vector. |
v | [in] Image height vector. |
pImage | [in] Pointer to the RasterImage object. |
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]. |
|
protected |
|
protected |
|
protected |
|
protected |
|
virtual |
Outputs a face of a tessilated mesh.
faceList | [in] Array of numbers that define the face. |
pNormal | [in] Pointer to the normal to the face. |
|
virtual |
Processes meshes.
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.
Reimplemented in AECGe::Harvester, and AECGe::HarvesterOverall.
|
virtual |
Processes a metafile. Currently not implemented.
origin | [in] Origin of a metafile content. |
u | [in] Metafile content u-parameter. |
v | [in] Metafile content v-parameter. |
pMetafile | [in] Pointer to a metafile. |
dcAligned | [in] Flag that specifies whether metafile content should be aligned to device coordinate system. |
allowClipping | [in] Flag that specifies whether clipping should be allowed for a metafile. |
Implements OdGiConveyorGeometry.
Reimplemented in AECGe::Harvester.
|
virtual |
Introduces nurbs into this vectorization context.
nurbsCurve | [in] NURBS curve data. |
Implements OdGiConveyorGeometry.
Reimplemented in AECGe::Harvester, and AECGe::HarvesterOverall.
|
protectedvirtual |
Controls plineProc arc segment output.
drawContextFlags | [in] Input conveyor context draw flags. |
|
virtual |
Processes polylines.
polyline | [in] Polyline to process. |
pXfm | [in] Transformation matrix. |
fromIndex | [in] Index of the first segment to be processed. |
numSegs | [in] Number of segments to be processed. |
Implements OdGiConveyorGeometry.
Reimplemented in AECGe::Harvester, and AECGe::HarvesterOverall.
|
virtual |
Introduces an point cloud object into this vectorization context.
pCloud | [in] Point cloud object. |
pFilter | [in] Optional set of point cloud object conveyor filters. |
Implements OdGiConveyorGeometry.
|
virtual |
Passes polygon data to this Vectorizer object.
numPoints | [in] Number of points in the polygon. |
vertexList | [in] Array of vertices that make up the polygon. |
pNormal | [in] Normal vector for the polygon. |
Reimplemented in AECGe::Harvester, and AECGe::HarvesterOverall.
|
virtual |
Processes polygons.
numPoints | [in] Number of points. |
vertexList | [in] Pointer to an array of vertices. |
pNormal | [in] Pointer to the normal vector. |
pExtrusion | [in] Extrusion vector. |
Implements OdGiConveyorGeometry.
Reimplemented in AECGe::Harvester, and AECGe::HarvesterOverall.
|
virtual |
Passes polyline data to this Vectorizer object.
numPoints | [in] Number of points in the polyline. |
vertexList | [in] Array of vertices that make up the polyline. |
Reimplemented in AECGe::Harvester, and AECGe::HarvesterOverall.
|
virtual |
Passes polyline data to this Vectorizer object.
numPoints | [in] Number of points. |
vertexIndexList | [in] Pointer to an array of vertex indices. |
Client applications have the option of overriding this function to process the data themselves. If the function is not overridden, the default implementation of this function calls polylineOut with the vertex list.
|
inlineprotected |
Definition at line 1182 of file GiGeometrySimplifier.h.
|
inline |
Retrieves edge visibility state for indexed polylineOut() call.
Definition at line 324 of file GiGeometrySimplifier.h.
|
virtual |
Processes polylines.
numPoints | [in] Number of points. |
vertexList | [in] Pointer to an array of vertices. |
pNormal | [in] Pointer to the normal vector. |
pExtrusion | [in] Extrusion vector. |
baseSubEntMarker | [in] Base sub-entity marker. |
Implements OdGiConveyorGeometry.
Reimplemented in AECGe::Harvester, and AECGe::HarvesterOverall.
|
virtual |
Introduces a polypoint into this vectorization context.
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. |
pSubEntMarkers | [in] Array of sub-entity markers. |
nPointSize | [in] Points size. |
Implements OdGiConveyorGeometry.
|
inlineprotected |
Returns true if and only if this Vectorizer object is processing TrueType text.
Definition at line 129 of file GiGeometrySimplifier.h.
|
virtual |
Introduces a raster image into this vectorization context.
origin | [in] Image origin. |
u | [in] Image width vector. |
v | [in] Image height vector. |
pImage | [in] pointer to a raster image. |
uvBoundary | [in] pointer to an array of boundary points. |
numBoundPts | [in] number of boundary points. |
transparency | [in] Flag that specifies image transparency. |
brightness | [in] Brightness of an image in range of [0..100]. |
contrast | [in] Contrast of an image in range of [0..100]. |
fade | [in] Fade of an image in range of [0..100]. |
Implements OdGiConveyorGeometry.
Reimplemented in AECGe::Harvester.
|
virtual |
Processes rays.
basePoint | [in] Base point. |
throughPoint | [in] Through point |
Implements OdGiConveyorGeometry.
|
inline |
Returns the render mode for this object.
Value Description kBoundingBox -1 Bounding box. For internal use only. k2DOptimized 0 Standard display. Optimized for 2D. kWireframe 1 Standard display. Uses 3D pipeline. kHiddenLine 2 Wireframe display. Hidden lines removed. kFlatShaded 3 Faceted display. One color per face. kGouraudShaded 4 Smooth shaded display. Colors interpolated between vertices. kFlatShadedWithWireframe 5 Faceted display with wireframe overlay. kGouraudShadedWithWireframe 6 Smooth shaded display with wireframe overlay.
Definition at line 200 of file GiGeometrySimplifier.h.
|
virtual |
Introduces a row of points into this vectorization context.
numPoints | [in] Number of points. |
startPoint | [in] First point to draw. |
dirToNextPoint | [in] Offset to next point. |
Implements OdGiConveyorGeometry.
void OdGiGeometrySimplifier::setDeviation | ( | const OdGeDoubleArray & | deviations | ) |
Specifies the maximum deviation allowed during the tessellation process.
deviations | [in] Array of deviation values. Specifies the limit for the maximum difference between the actual curve or surface, and the tessellated curve or surface. |
Each OdGiDeviationType value is used as an index into this array.
void OdGiGeometrySimplifier::setDeviation | ( | const OdGiDeviation * | pDeviation | ) |
Specifies the maximum deviation allowed during the tessellation process.
pDeviation | [in] Deviation to be used for anisotropic space (perspective view). |
void OdGiGeometrySimplifier::setDrawContext | ( | OdGiConveyorContext * | pDrawCtx | ) |
Sets the OdGiConveyorContext for this object.
pDrawCtx | [in] Pointer to the draw context. |
void OdGiGeometrySimplifier::setVertexData | ( | OdInt32 | numVertices, |
const OdGePoint3d * | vertexList, | ||
const OdGiVertexData * | pVertexData = 0 |
||
) |
Sets vertex data for tessellation of meshes and shells.
numVertices | [in] Number of vertices in the mesh or shell. |
vertexList | [in] Array of vertices that make up the mesh or shell. |
pVertexData | [in] Pointer to additional vertex data. |
|
virtual |
Introduces a shape into this vectorization context.
position | [in] Position of the shape. |
direction | [in] Baseline direction for the shape. |
upVector | [in] Text up vector. |
shapeNumber | [in] Shape number. |
pTextStyle | [in] Pointer to the TextStyle for the shape. |
pExtrusion | [in] Extrusion vector. |
Implements OdGiConveyorGeometry.
Reimplemented in AECGe::Harvester, and AECGe::HarvesterOverall.
|
virtual |
Outputs the face of a tessellated shell.
faceListSize | [in] Number of entries in faceList. |
faceList | [in] List of numbers that define the face. |
pNormal | [in] Normal vector for this face. |
|
virtual |
Processes shells.
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.
|
protected |
|
protected |
|
inlineprotected |
Returns true if silhouettes processing in ECS (Eye Coordinates Space) enabled.
Definition at line 134 of file GiGeometrySimplifier.h.
void OdGiGeometrySimplifier::subdivideShellByVertexLimit | ( | OdInt32 | numVertices, |
const OdGePoint3d * | vertexList, | ||
OdInt32 | faceListSize, | ||
const OdInt32 * | faceList, | ||
const OdGiEdgeData * | pEdgeData, | ||
const OdGiFaceData * | pFaceData, | ||
const OdGiVertexData * | pVertexData, | ||
OdUInt32 | nLimit | ||
) |
Utility function to be called from client implementation of shellProc() to subdivide shell onto set of smaller shell primitives by vertexes number limit.
numVertices | [in] Number of vertices. |
vertexList | [in] Pointer to an array of vertices. |
faceListSize | [in] Number of faces. |
faceList | [in] Pointer to an array of faces. |
pEdgeData | [in] Additional edge data. |
pFaceData | [in] Additional face data. |
pVertexData | [in] Additional vertex data. |
nLimit | [in] Vertex limit. |
|
virtual |
Introduces a text into this vectorization context.
position | [in] Position of the text. |
u | [in] U parameter of the text. |
v | [in] V parameter of the text. |
msg | [in] Message string. |
length | [in] Message length. |
raw | [in] Flag that specifies whether escape sequences, such as %P, will not be converted to special characters. |
pTextStyle | [in] Pointer to a text style. |
pExtrusion | [in] Extrusion vector. |
Implements OdGiConveyorGeometry.
Reimplemented in AECGe::Harvester, and AECGe::HarvesterOverall.
|
virtual |
Introduces a text into this vectorization context.
position | [in] Position of the text. |
u | [in] U parameter of the text. |
v | [in] V parameter of the text. |
msg | [in] Message string. |
length | [in] Message length. |
raw | [in] Flag that specifies whether escape sequences, such as %P, will not be converted to special characters. |
pTextStyle | [in] Pointer to a text style. |
pExtrusion | [in] Extrusion vector. |
extentsBox | [in] Text extents bounds. |
Reimplemented from OdGiConveyorGeometry.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
inlineprotected |
Definition at line 1201 of file GiGeometrySimplifier.h.
|
virtual |
Output a triangle.
vertices | [in] List of 3 numbers that define the vertices in the triangle. |
pNormal | [in] Normal vector for this triangle. |
|
virtual |
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.
numVertices | [in] Number of vertices. |
vertexList | [in] Pointer to an array of vertices. |
faceListSize | [in] Number of faces. |
faceList | [in] Pointer to an array of faces. |
pBezierTypes | [in] Additional bezier data for the geometry conveyor, so client code can tessellate text using any quality that is required for TrueType font processing. |
pFaceData | [in] Additional face data. |
Reimplemented from OdGiConveyorGeometry.
|
virtual |
Releases a texture map for this Vectorizer object.
|
inline |
Retrieves the vertex attribute data set in the most recent call to setVertexData.
Definition at line 302 of file GiGeometrySimplifier.h.
|
inline |
Retrieves the vertex count set in the most recent call to setVertexData.
Definition at line 280 of file GiGeometrySimplifier.h.
|
inline |
Retrieves the vertex list set in the most recent call to setVertexData.
Definition at line 291 of file GiGeometrySimplifier.h.
|
virtual |
Processes x-lines.
firstPoint | [in] First point. |
secondPoint | [in] Second point. |
Implements OdGiConveyorGeometry.
|
protected |
Definition at line 77 of file GiGeometrySimplifier.h.
|
protected |
Definition at line 102 of file GiGeometrySimplifier.h.
|
protected |
Definition at line 1198 of file GiGeometrySimplifier.h.
|
protected |
Definition at line 1199 of file GiGeometrySimplifier.h.
|
protected |
Definition at line 101 of file GiGeometrySimplifier.h.
|
protected |
Definition at line 75 of file GiGeometrySimplifier.h.
|
protected |
Definition at line 1200 of file GiGeometrySimplifier.h.
|
protected |
Definition at line 1197 of file GiGeometrySimplifier.h.
|
protected |
Definition at line 1195 of file GiGeometrySimplifier.h.
|
protected |
Definition at line 1196 of file GiGeometrySimplifier.h.
|
protected |
Definition at line 76 of file GiGeometrySimplifier.h.
|
protected |
Definition at line 103 of file GiGeometrySimplifier.h.
|
protected |
Definition at line 92 of file GiGeometrySimplifier.h.