CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
OdGiGeometry Class Referenceabstract

#include <GiGeometry.h>

Inheritance diagram for OdGiGeometry:
OdRxObject OdGiViewportGeometry OdGiWorldGeometry OdGiDummyGeometry< OdGiViewportGeometry > OdGiWrapperGeometry< OdGiViewportGeometry > OdGiViewportDraw_ OdGiDummyGeometry< OdGiWorldGeometry > OdGiWrapperGeometry< OdGiWorldGeometry > OdGiWorldDraw_ OdGiDummyViewportGeometry< OdGiViewportGeometry > OdGiWrapperViewportGeometry< OdGiViewportGeometry > OdGiDummyGeometry< OdGiViewportDraw_ > OdGiWrapperGeometry< OdGiViewportDraw_ > OdGiBaseVectorizer OdGiDummyWorldGeometry< OdGiWorldGeometry > OdGiWrapperWorldGeometry< OdGiWorldGeometry > OdGiDummyCommonDraw< OdGiWorldDraw_ > OdGiDummyGeometry< OdGiWorldDraw_ >

Public Member Functions

 ODRX_DECLARE_MEMBERS (OdGiGeometry)
 
virtual OdGeMatrix3d getModelToWorldTransform () const =0
 
virtual OdGeMatrix3d getWorldToModelTransform () const =0
 
virtual void pushModelTransform (const OdGeVector3d &normal)=0
 
virtual void pushModelTransform (const OdGeMatrix3d &xfm)=0
 
virtual void popModelTransform ()=0
 
virtual void circle (const OdGePoint3d &center, double radius, const OdGeVector3d &normal)=0
 
virtual void circle (const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint, const OdGePoint3d &thirdPoint)=0
 
virtual void circularArc (const OdGePoint3d &center, double radius, const OdGeVector3d &normal, const OdGeVector3d &startVector, double sweepAngle, OdGiArcType arcType=kOdGiArcSimple)=0
 
virtual void circularArc (const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint, const OdGePoint3d &thirdPoint, OdGiArcType arcType=kOdGiArcSimple)=0
 
virtual void polyline (OdInt32 numVertices, const OdGePoint3d *vertexList, const OdGeVector3d *pNormal=0, OdGsMarker baseSubEntMarker=-1)=0
 
virtual void polygon (OdInt32 numVertices, const OdGePoint3d *vertexList)=0
 
virtual void polygon (OdInt32 numVertices, const OdGePoint3d *vertexList, const OdGeVector3d *pNormal)
 
virtual void pline (const OdGiPolyline &polyline, OdUInt32 fromIndex=0, OdUInt32 numSegs=0)=0
 
virtual void mesh (OdInt32 numRows, OdInt32 numColumns, const OdGePoint3d *vertexList, const OdGiEdgeData *pEdgeData=0, const OdGiFaceData *pFaceData=0, const OdGiVertexData *pVertexData=0)=0
 
virtual void shell (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 text (const OdGePoint3d &position, const OdGeVector3d &normal, const OdGeVector3d &direction, double height, double width, double oblique, const OdString &msg)=0
 
virtual void text (const OdGePoint3d &position, const OdGeVector3d &normal, const OdGeVector3d &direction, const OdChar *msg, OdInt32 length, bool raw, const OdGiTextStyle *pTextStyle)=0
 
virtual void xline (const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint)=0
 
virtual void ray (const OdGePoint3d &basePoint, const OdGePoint3d &throughPoint)=0
 
virtual void nurbs (const OdGeNurbCurve3d &nurbsCurve)=0
 
virtual void ellipArc (const OdGeEllipArc3d &ellipArc, const OdGePoint3d *endPointsOverrides=0, OdGiArcType arcType=kOdGiArcSimple)=0
 
virtual void draw (const OdGiDrawable *pDrawable)=0
 
virtual void pushClipBoundary (OdGiClipBoundary *pBoundary)=0
 
virtual void popClipBoundary ()=0
 
virtual void worldLine (const OdGePoint3d points[2])=0
 
virtual void image (const OdGiImageBGRA32 &img, const OdGePoint3d &origin, const OdGeVector3d &uVec, const OdGeVector3d &vVec, OdGiRasterImage::TransparencyMode trpMode=OdGiRasterImage::kTransparency8Bit)=0
 
virtual void edge (const OdGiEdge2dArray &edges)=0
 
virtual const OdGiPathNodecurrentGiPath () const
 
virtual void pushClipBoundary (OdGiClipBoundary *pBoundary, OdGiAbstractClipBoundary *pClipInfo)
 
virtual void polypoint (OdInt32 numPoints, const OdGePoint3d *vertexList, const OdCmEntityColor *pColors, const OdCmTransparency *pTransparency, const OdGeVector3d *pNormals=NULL, const OdGsMarker *pSubEntMarkers=NULL, OdInt32 nPointSize=0)
 
ODRX_SEALED_VIRTUAL void polypoint (OdInt32 numPoints, const OdGePoint3d *vertexList, const OdCmEntityColor *pColors, const OdGeVector3d *pNormals=NULL, const OdGsMarker *pSubEntMarkers=NULL) ODRX_FINAL
 
ODRX_SEALED_VIRTUAL void polypoint (OdInt32 numPoints, const OdGePoint3d *vertexList, const OdGeVector3d *pNormals=NULL, const OdGsMarker *pSubEntMarkers=NULL) ODRX_FINAL
 
virtual void polyPolygon (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 rowOfDots (OdInt32 numPoints, const OdGePoint3d &startPoint, const OdGeVector3d &dirToNextPoint)
 
virtual void pointCloud (const OdGiPointCloud &pCloud)
 
virtual bool brep (const OdGiBrep &giBrep)
 
- 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
 

Additional Inherited Members

- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 
static void rxInit ()
 
static void rxUninit ()
 

Detailed Description

This class defines functions that allow entities to vectorize themselves.

See also
TD_Gi

<group OdGi_Classes>

Definition at line 891 of file GiGeometry.h.

Member Function Documentation

◆ brep()

virtual bool OdGiGeometry::brep ( const OdGiBrep & giBrep)
virtual

◆ circle() [1/2]

virtual void OdGiGeometry::circle ( const OdGePoint3d & center,
double radius,
const OdGeVector3d & normal )
pure virtual

Introduces a circle to this vectorization context.

Remarks
The circle is not filled and takes on the current color.

If firstPoint, secondPoint, and thirdPoint are specified, they cannot be colinear and no two can be coincident.

Parameters
center[in] Center point.
radius[in] Radius.
normal[in] Normal.
See also
<link tv_geometry_circles, Work with Circles>

Implemented in OdGiBaseVectorizer, OdGiDummyGeometry< OdGiViewportDraw_ >, OdGiDummyGeometry< OdGiViewportGeometry >, OdGiDummyGeometry< OdGiWorldDraw_ >, OdGiDummyGeometry< OdGiWorldGeometry >, OdGiWrapperGeometry< OdGiViewportDraw_ >, OdGiWrapperGeometry< OdGiViewportGeometry >, and OdGiWrapperGeometry< OdGiWorldGeometry >.

◆ circle() [2/2]

virtual void OdGiGeometry::circle ( const OdGePoint3d & firstPoint,
const OdGePoint3d & secondPoint,
const OdGePoint3d & thirdPoint )
pure virtual

Introduces a circle to this vectorization context.

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.
Remarks
firstPoint, secondPoint, and thirdPoint cannot be colinear and no two can be coincident.
See also
<link tv_geometry_circles, Work with Circles>

Implemented in OdGiBaseVectorizer, OdGiDummyGeometry< OdGiViewportDraw_ >, OdGiDummyGeometry< OdGiViewportGeometry >, OdGiDummyGeometry< OdGiWorldDraw_ >, OdGiDummyGeometry< OdGiWorldGeometry >, OdGiWrapperGeometry< OdGiViewportDraw_ >, OdGiWrapperGeometry< OdGiViewportGeometry >, and OdGiWrapperGeometry< OdGiWorldGeometry >.

◆ circularArc() [1/2]

virtual void OdGiGeometry::circularArc ( const OdGePoint3d & center,
double radius,
const OdGeVector3d & normal,
const OdGeVector3d & startVector,
double sweepAngle,
OdGiArcType arcType = kOdGiArcSimple )
pure virtual

Introduces a circular arc to this vectorization context.

Parameters
center[in] Center point.
radius[in] Radius.
normal[in] Normal vector.
startVector[in] Start of the arc.
sweepAngle[in] Angle that defines the arc.
arcType[in] Arc type.
Remarks
The arc takes on the current color. All angles are expressed in radians. 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

See also
<link tv_geometry_arcs, Work with Arcs>

Implemented in OdGiBaseVectorizer, OdGiDummyGeometry< OdGiViewportDraw_ >, OdGiDummyGeometry< OdGiViewportGeometry >, OdGiDummyGeometry< OdGiWorldDraw_ >, OdGiDummyGeometry< OdGiWorldGeometry >, OdGiWrapperGeometry< OdGiViewportDraw_ >, OdGiWrapperGeometry< OdGiViewportGeometry >, and OdGiWrapperGeometry< OdGiWorldGeometry >.

◆ circularArc() [2/2]

virtual void OdGiGeometry::circularArc ( const OdGePoint3d & firstPoint,
const OdGePoint3d & secondPoint,
const OdGePoint3d & thirdPoint,
OdGiArcType arcType = kOdGiArcSimple )
pure virtual

Introduces a circular arc to this vectorization context.

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.
See also
<link tv_geometry_arcs, Work with Arcs>

Implemented in OdGiBaseVectorizer, OdGiDummyGeometry< OdGiViewportDraw_ >, OdGiDummyGeometry< OdGiViewportGeometry >, OdGiDummyGeometry< OdGiWorldDraw_ >, OdGiDummyGeometry< OdGiWorldGeometry >, OdGiWrapperGeometry< OdGiViewportDraw_ >, OdGiWrapperGeometry< OdGiViewportGeometry >, and OdGiWrapperGeometry< OdGiWorldGeometry >.

◆ currentGiPath()

const OdGiPathNode * OdGiGeometry::currentGiPath ( ) const
inlinevirtual

Returns currently processing GiDrawable objects graph.

Returns
pointer to the OdGiPathNode object that represents processing GiDrawable objects graph.

Reimplemented in OdGiBaseVectorizer, OdGiViewportDraw_, and OdGiWorldDraw_.

Definition at line 1491 of file GiGeometry.h.

◆ draw()

virtual void OdGiGeometry::draw ( const OdGiDrawable * pDrawable)
pure virtual

Introduces the specified object into this vectorization context.

Parameters
pDrawable[in] Pointer to the Drawable object.
Remarks
Implementations of this method are expected to do the following: Call OdGiDrawable::subSetAttributes to set attribute information for the object. Call subWorldDraw on the drawable object to vectorize it into this context. If subWorldDraw returns false, call subViewportDraw each viewport.

Implemented in CFxRVTMaterialView, OdGiBaseVectorizer, OdGiDummyGeometry< OdGiViewportDraw_ >, OdGiDummyGeometry< OdGiViewportGeometry >, OdGiDummyGeometry< OdGiWorldDraw_ >, OdGiDummyGeometry< OdGiWorldGeometry >, OdGiExtCalc, OdGiWrapperGeometry< OdGiViewportDraw_ >, OdGiWrapperGeometry< OdGiViewportGeometry >, and OdGiWrapperGeometry< OdGiWorldGeometry >.

◆ edge()

virtual void OdGiGeometry::edge ( const OdGiEdge2dArray & edges)
pure virtual

◆ ellipArc()

virtual void OdGiGeometry::ellipArc ( const OdGeEllipArc3d & ellipArc,
const OdGePoint3d * endPointsOverrides = 0,
OdGiArcType arcType = kOdGiArcSimple )
pure virtual

Introduces an elliptical arc into this vectorization context.

Parameters
ellipArc[in] Elliptical arc.
endPointsOverrides[in] Array of points to be used as the first and last points of the vectorized arc.
arcType[in] Arc type.
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

See also
<link tv_geometry_arcs, Work with Arcs>

Implemented in OdGiBaseVectorizer, OdGiDummyGeometry< OdGiViewportDraw_ >, OdGiDummyGeometry< OdGiViewportGeometry >, OdGiDummyGeometry< OdGiWorldDraw_ >, OdGiDummyGeometry< OdGiWorldGeometry >, OdGiWrapperGeometry< OdGiViewportDraw_ >, OdGiWrapperGeometry< OdGiViewportGeometry >, and OdGiWrapperGeometry< OdGiWorldGeometry >.

◆ getModelToWorldTransform()

virtual OdGeMatrix3d OdGiGeometry::getModelToWorldTransform ( ) const
pure virtual

Returns the model-to-world coordinate transform matrix for the entity being vectorized.

Returns
model-to-world transform matrix.
Remarks
This is the inverse of the matrix returned by getWorldToModelTransform().

If an entity is in one or more blocks, this matrix can be used to determine the WCS coordinates of the entity.

Implemented in OdGiBaseVectorizer, OdGiBaseVectorizerImpl, OdGiDummyGeometry< OdGiViewportDraw_ >, OdGiDummyGeometry< OdGiViewportGeometry >, OdGiDummyGeometry< OdGiWorldDraw_ >, OdGiDummyGeometry< OdGiWorldGeometry >, OdGiLayerTraitsTaker, OdGiWrapperGeometry< OdGiViewportDraw_ >, OdGiWrapperGeometry< OdGiViewportGeometry >, and OdGiWrapperGeometry< OdGiWorldGeometry >.

◆ getWorldToModelTransform()

virtual OdGeMatrix3d OdGiGeometry::getWorldToModelTransform ( ) const
pure virtual

◆ image()

virtual void OdGiGeometry::image ( const OdGiImageBGRA32 & img,
const OdGePoint3d & origin,
const OdGeVector3d & uVec,
const OdGeVector3d & vVec,
OdGiRasterImage::TransparencyMode trpMode = OdGiRasterImage::kTransparency8Bit )
pure virtual

Inroduces a image in BGRA format into this vectorization context.

Parameters
img[in] Image in BGRA format.
origin[in] Image position in WCS.
uVec[in] Image width and X-axis orientation.
vVec[in] Image height and Y-axis orientation.
trpMode[in] Image transparency processing mode.
See also
<link tv_geometry_raster_images, Work with Raster Image Geometry Data>

Implemented in OdGiBaseVectorizer, OdGiDummyGeometry< OdGiViewportDraw_ >, OdGiDummyGeometry< OdGiViewportGeometry >, OdGiDummyGeometry< OdGiWorldDraw_ >, OdGiDummyGeometry< OdGiWorldGeometry >, OdGiWrapperGeometry< OdGiViewportDraw_ >, OdGiWrapperGeometry< OdGiViewportGeometry >, and OdGiWrapperGeometry< OdGiWorldGeometry >.

◆ mesh()

virtual void OdGiGeometry::mesh ( OdInt32 numRows,
OdInt32 numColumns,
const OdGePoint3d * vertexList,
const OdGiEdgeData * pEdgeData = 0,
const OdGiFaceData * pFaceData = 0,
const OdGiVertexData * pVertexData = 0 )
pure virtual

Introduces a mesh into this vectorization context.

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.
Remarks
A mesh is a surface defined by a grid of vertices, and corresponds to a Polygon Mesh. By default, a mesh takes on the current color. Color, linetype, and and other properties can be controlled supplying the appropriate data for the pEdgeData, pFaceData, and pVertexData arguments.
vertexList must have numRows x numColumns elements. The arrays in *pEdgeData must be NULL or contain (numRows - 1) x numColumns + numRows x (numColumns -1) elements. The arrays in *pFaceData must be NULL or contain (numRows - 1) x (numColumns - 1) elements. The arrays in *pVertexData must be NULL or contain numRows x numColumns elements.
See also
<link tv_geometry_meshes, Work with Meshes>

Implemented in OdGiBaseVectorizer, OdGiBaseVectorizerImpl, OdGiDummyGeometry< OdGiViewportDraw_ >, OdGiDummyGeometry< OdGiViewportGeometry >, OdGiDummyGeometry< OdGiWorldDraw_ >, OdGiDummyGeometry< OdGiWorldGeometry >, OdGiWrapperGeometry< OdGiViewportDraw_ >, OdGiWrapperGeometry< OdGiViewportGeometry >, and OdGiWrapperGeometry< OdGiWorldGeometry >.

◆ nurbs()

virtual void OdGiGeometry::nurbs ( const OdGeNurbCurve3d & nurbsCurve)
pure virtual

Introduces a NURBS curve into this vectorization context.

Parameters
nurbsCurve[in] NURBS curve data.
Remarks
The curve takes on the current color.
See also
<link tv_geometry_nurbs, Work with NURBS>

Implemented in OdGiBaseVectorizer, OdGiDummyGeometry< OdGiViewportDraw_ >, OdGiDummyGeometry< OdGiViewportGeometry >, OdGiDummyGeometry< OdGiWorldDraw_ >, OdGiDummyGeometry< OdGiWorldGeometry >, OdGiWrapperGeometry< OdGiViewportDraw_ >, OdGiWrapperGeometry< OdGiViewportGeometry >, and OdGiWrapperGeometry< OdGiWorldGeometry >.

◆ ODRX_DECLARE_MEMBERS()

OdGiGeometry::ODRX_DECLARE_MEMBERS ( OdGiGeometry )

◆ pline()

virtual void OdGiGeometry::pline ( const OdGiPolyline & polyline,
OdUInt32 fromIndex = 0,
OdUInt32 numSegs = 0 )
pure virtual

Introduces a lightweight polyline into this vectorization context.

Parameters
polyline[in] Polyline.
fromIndex[in] Index of the first segment to be processed.
numSegs[in] Number of segments to be processed (0 indicates all segments).
Remarks
The polyline may contain varying segment widths, straight segments and arc segments. The polyline takes on the current color. All points must be coplanar.
See also
<link tv_geometry_lines, Work with Lines>

Implemented in OdGiBaseVectorizer, OdGiDummyGeometry< OdGiViewportDraw_ >, OdGiDummyGeometry< OdGiViewportGeometry >, OdGiDummyGeometry< OdGiWorldDraw_ >, OdGiDummyGeometry< OdGiWorldGeometry >, OdGiWrapperGeometry< OdGiViewportDraw_ >, OdGiWrapperGeometry< OdGiViewportGeometry >, and OdGiWrapperGeometry< OdGiWorldGeometry >.

◆ pointCloud()

◆ polygon() [1/2]

virtual void OdGiGeometry::polygon ( OdInt32 numVertices,
const OdGePoint3d * vertexList )
pure virtual

Introduces a polygon to this vectorization context.

Parameters
numVertices[in] Number of vertices.
vertexList[in] Array of vertices.
Remarks
The polygon is filled and takes on the current color. Use polyline() to render unfilled areas. The polygon is rendered as a series of lines connecting the first point in vertexList to the second, the second to the third, etc. All points must be coplanar.
See also
<link tv_geometry_polygons, Work with Polygons>

Implemented in OdGiBaseVectorizer, OdGiDummyGeometry< OdGiViewportDraw_ >, OdGiDummyGeometry< OdGiViewportGeometry >, OdGiDummyGeometry< OdGiWorldDraw_ >, OdGiDummyGeometry< OdGiWorldGeometry >, OdGiWrapperGeometry< OdGiViewportDraw_ >, OdGiWrapperGeometry< OdGiViewportGeometry >, and OdGiWrapperGeometry< OdGiWorldGeometry >.

◆ polygon() [2/2]

void OdGiGeometry::polygon ( OdInt32 numVertices,
const OdGePoint3d * vertexList,
const OdGeVector3d * pNormal )
inlinevirtual

Introduces a polygon (with a normal) to this vectorization context.

Parameters
numVertices[in] Number of vertices.
vertexList[in] Array of vertices.
pNormal[in] Pointer to the normal vector.
Remarks
The polygon is filled and takes on the current color. Use polyline() to render unfilled areas. The polygon is rendered as a series of lines connecting the first point in vertexList to the second, the second to the third, etc. All points must be coplanar.
See also
<link tv_geometry_polygons, Work with Polygons>

Reimplemented in OdGiBaseVectorizer, OdGiDummyGeometry< OdGiViewportDraw_ >, OdGiDummyGeometry< OdGiViewportGeometry >, OdGiDummyGeometry< OdGiWorldDraw_ >, OdGiDummyGeometry< OdGiWorldGeometry >, OdGiWrapperGeometry< OdGiViewportDraw_ >, OdGiWrapperGeometry< OdGiViewportGeometry >, and OdGiWrapperGeometry< OdGiWorldGeometry >.

Definition at line 1502 of file GiGeometry.h.

◆ polyline()

virtual void OdGiGeometry::polyline ( OdInt32 numVertices,
const OdGePoint3d * vertexList,
const OdGeVector3d * pNormal = 0,
OdGsMarker baseSubEntMarker = -1 )
pure virtual

Introduces a polyline to this vectorization context.

Parameters
numVertices[in] Number of vertices.
vertexList[in] Array of vertices.
pNormal[in] Pointer to the normal vector.
baseSubEntMarker[in] Not used.
Remarks
The polyline is unfilled and takes on the current color and thickness. Use polygon() to render filled areas. The polyline is rendered as a series of lines connecting the first point in vertexList to the second, the second to the third, etc. All points must be coplanar. Use polygon() to render closed areas.
See also
<link tv_geometry_lines, Work with Lines>

Implemented in OdGiBaseVectorizer, OdGiDummyGeometry< OdGiViewportDraw_ >, OdGiDummyGeometry< OdGiViewportGeometry >, OdGiDummyGeometry< OdGiWorldDraw_ >, OdGiDummyGeometry< OdGiWorldGeometry >, OdGiWrapperGeometry< OdGiViewportDraw_ >, OdGiWrapperGeometry< OdGiViewportGeometry >, and OdGiWrapperGeometry< OdGiWorldGeometry >.

◆ polypoint() [1/3]

virtual void OdGiGeometry::polypoint ( OdInt32 numPoints,
const OdGePoint3d * vertexList,
const OdCmEntityColor * pColors,
const OdCmTransparency * pTransparency,
const OdGeVector3d * pNormals = NULL,
const OdGsMarker * pSubEntMarkers = NULL,
OdInt32 nPointSize = 0 )
virtual

Introduces an array of points to this vectorization context.

Parameters
numPoints[in] Number of point in array.
vertexList[in] Array of points.
pColors[in] Array of colors.
pTransparency[in] Array of transparencies.
pNormals[in] Optional array of normal vectors.
pSubEntMarkers[in] Optional array of subentity markers.
nPointSize[in] Size of points in pixels.
Remarks
The points takes on the current color if pColors array doesn't specified. Lengths of pColors, pTransparency, pNormals and pSubEntMarkers arrays if them set must be equal to numPoints.

Reimplemented in OdGiBaseVectorizer, OdGiDummyGeometry< OdGiViewportDraw_ >, OdGiDummyGeometry< OdGiViewportGeometry >, OdGiDummyGeometry< OdGiWorldDraw_ >, OdGiDummyGeometry< OdGiWorldGeometry >, OdGiWrapperGeometry< OdGiViewportDraw_ >, OdGiWrapperGeometry< OdGiViewportGeometry >, and OdGiWrapperGeometry< OdGiWorldGeometry >.

◆ polypoint() [2/3]

void OdGiGeometry::polypoint ( OdInt32 numPoints,
const OdGePoint3d * vertexList,
const OdCmEntityColor * pColors,
const OdGeVector3d * pNormals = NULL,
const OdGsMarker * pSubEntMarkers = NULL )
inline

Introduces an array of points to this vectorization context.

Parameters
numPoints[in] Number of point in array.
vertexList[in] Array of points.
pColors[in] Array of colors.
pNormals[in] Optional array of normal vectors.
pSubEntMarkers[in] Optional array of subentity markers.
Remarks
The points takes on the current color if pColors array doesn't specified. Lengths of pColors, pNormals and pSubEntMarkers arrays if them set must be equal to numPoints.

Definition at line 1507 of file GiGeometry.h.

◆ polypoint() [3/3]

void OdGiGeometry::polypoint ( OdInt32 numPoints,
const OdGePoint3d * vertexList,
const OdGeVector3d * pNormals = NULL,
const OdGsMarker * pSubEntMarkers = NULL )
inline

Introduces an array of points to this vectorization context.

Parameters
numPoints[in] Number of point in array.
vertexList[in] Array of points.
pNormals[in] Optional array of normal vectors.
pSubEntMarkers[in] Optional array of subentity markers.
Remarks
The points takes on the current color if pColors array doesn't specified. Lengths of pNormals and pSubEntMarkers arrays if them set must be equal to numPoints.

Definition at line 1513 of file GiGeometry.h.

◆ polyPolygon()

virtual void OdGiGeometry::polyPolygon ( 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

Introduces set of polygons to this vectorization context.

Parameters
numIndices[in] Number of polgon indices.
pNumPositions[in] Number of positions per polygon.
pPositions[in] Array of polygon offsets for all polygon invocations.
pNumPoint[in] Number of points per polygon.
pPoints[in] Array of polygon points.
pOutlineColors[in] Colors of polygon outlines.
pOutlinePsLinetypes[in] Linetypes of polygon outlines (see OdPs::LineType enumeration).
pFillColors[in] Polygon fill colors.
pFillTransparencies[in] Polygon fill transparencies.

Reimplemented in OdGiBaseVectorizer, OdGiDummyGeometry< OdGiViewportDraw_ >, OdGiDummyGeometry< OdGiViewportGeometry >, OdGiDummyGeometry< OdGiWorldDraw_ >, OdGiDummyGeometry< OdGiWorldGeometry >, OdGiWrapperGeometry< OdGiViewportDraw_ >, OdGiWrapperGeometry< OdGiViewportGeometry >, and OdGiWrapperGeometry< OdGiWorldGeometry >.

◆ popClipBoundary()

virtual void OdGiGeometry::popClipBoundary ( )
pure virtual

◆ popModelTransform()

◆ pushClipBoundary() [1/2]

virtual void OdGiGeometry::pushClipBoundary ( OdGiClipBoundary * pBoundary)
pure virtual

Specifies a clip boundary for the current clip stack.

Parameters
pBoundary[in] Pointer to the boundary.
Remarks
Subsequent objects are clipped until popClipBoundary() is called.
See also
<link gi_clipping_engine, Work with the Clipping Engine>

Implemented in OdGiBaseVectorizer, OdGiDummyGeometry< OdGiViewportDraw_ >, OdGiDummyGeometry< OdGiViewportGeometry >, OdGiDummyGeometry< OdGiWorldDraw_ >, OdGiDummyGeometry< OdGiWorldGeometry >, OdGiWrapperGeometry< OdGiViewportDraw_ >, OdGiWrapperGeometry< OdGiViewportGeometry >, OdGiWrapperGeometry< OdGiWorldGeometry >, and OdGsBaseVectorizer.

◆ pushClipBoundary() [2/2]

void OdGiGeometry::pushClipBoundary ( OdGiClipBoundary * pBoundary,
OdGiAbstractClipBoundary * pClipInfo )
inlinevirtual

Specifies a clip boundary with additional clipping information for the current clip stack.

Parameters
pBoundary[in] Pointer to the boundary.
pClipInfo[in] Additional clipping information.
Remarks
Subsequent objects are clipped until popClipBoundary() is called.
See also
<link gi_clipping_engine, Work with the Clipping Engine>

Reimplemented in OdGiBaseVectorizer, and OdGsBaseVectorizer.

Definition at line 1496 of file GiGeometry.h.

◆ pushModelTransform() [1/2]

virtual void OdGiGeometry::pushModelTransform ( const OdGeMatrix3d & xfm)
pure virtual

Specifies a model transformation matrix for the current transformation stack.

Remarks
The specified transformation is concatenated to the current model transformation (which is initially the identity transform). The resulting model transformation is subsequently applied to all geometry introduced into this vectorization context, until popModelTransform() is called.
Parameters
xfm[in] Transformation matrix.

Implemented in OdGiBaseVectorizer, OdGiBaseVectorizerImpl, OdGiDummyGeometry< OdGiViewportDraw_ >, OdGiDummyGeometry< OdGiViewportGeometry >, OdGiDummyGeometry< OdGiWorldDraw_ >, OdGiDummyGeometry< OdGiWorldGeometry >, OdGiWrapperGeometry< OdGiViewportDraw_ >, OdGiWrapperGeometry< OdGiViewportGeometry >, OdGiWrapperGeometry< OdGiWorldGeometry >, and OdGsBaseVectorizer.

◆ pushModelTransform() [2/2]

virtual void OdGiGeometry::pushModelTransform ( const OdGeVector3d & normal)
pure virtual

Specifies a model transformation matrix for the current transformation stack.

Remarks
When a vector is specified, the transformation is created using the arbitrary axis algorithm on the vector.

The specified transformation is concatenated to the current model transformation (which is initially the identity transform). The resulting model transformation is subsequently applied to all geometry introduced into this vectorization context, until popModelTransform() is called.

Parameters
normal[in] Normal vector.

Implemented in OdGiBaseVectorizer, OdGiBaseVectorizerImpl, OdGiDummyGeometry< OdGiViewportDraw_ >, OdGiDummyGeometry< OdGiViewportGeometry >, OdGiDummyGeometry< OdGiWorldDraw_ >, OdGiDummyGeometry< OdGiWorldGeometry >, OdGiWrapperGeometry< OdGiViewportDraw_ >, OdGiWrapperGeometry< OdGiViewportGeometry >, OdGiWrapperGeometry< OdGiWorldGeometry >, and OdGsBaseVectorizer.

◆ ray()

virtual void OdGiGeometry::ray ( const OdGePoint3d & basePoint,
const OdGePoint3d & throughPoint )
pure virtual

Introduces a Ray into this vectorization context.

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. The ray takes on the current color.
See also
<link tv_geometry_lines, Work with Lines>

Implemented in OdGiBaseVectorizer, OdGiBaseVectorizerImpl, OdGiDummyGeometry< OdGiViewportDraw_ >, OdGiDummyGeometry< OdGiViewportGeometry >, OdGiDummyGeometry< OdGiWorldDraw_ >, OdGiDummyGeometry< OdGiWorldGeometry >, OdGiWrapperGeometry< OdGiViewportDraw_ >, OdGiWrapperGeometry< OdGiViewportGeometry >, and OdGiWrapperGeometry< OdGiWorldGeometry >.

◆ rowOfDots()

virtual void OdGiGeometry::rowOfDots ( OdInt32 numPoints,
const OdGePoint3d & startPoint,
const OdGeVector3d & dirToNextPoint )
virtual

Introduces a row of points to this vectorization context.

Parameters
numPoints[in] Number of points to draw.
startPoint[in] First point to draw.
dirToNextPoint[in] Offset and direction between next points.
Remarks
The points takes on the current color.

Reimplemented in OdGiBaseVectorizer, OdGiDummyGeometry< OdGiViewportDraw_ >, OdGiDummyGeometry< OdGiViewportGeometry >, OdGiDummyGeometry< OdGiWorldDraw_ >, OdGiDummyGeometry< OdGiWorldGeometry >, OdGiWrapperGeometry< OdGiViewportDraw_ >, OdGiWrapperGeometry< OdGiViewportGeometry >, and OdGiWrapperGeometry< OdGiWorldGeometry >.

◆ shell()

virtual void OdGiGeometry::shell ( OdInt32 numVertices,
const OdGePoint3d * vertexList,
OdInt32 faceListSize,
const OdInt32 * faceList,
const OdGiEdgeData * pEdgeData = 0,
const OdGiFaceData * pFaceData = 0,
const OdGiVertexData * pVertexData = 0 )
pure virtual

Introduces a shell into this vectorization context.

Parameters
numVertices[in] Number of vertices.
vertexList[in] Array of vertices.
faceListSize[in] Number of entries in facesList.
faceList[in] Array of integers defining faces.
pEdgeData[in] Pointer to additional edge data.
pFaceData[in] Pointer to additional face data.
pVertexData[in] Pointer to additional vertex data.
Remarks
A shell is a set of faces that can contain holes, and corresponds to a Polyface mesh. By default, a mesh takes on the current color. Color, linetype, and and other properties can be controlled supplying the appropriate data for the pEdgeData, pFaceData, and pVertexData arguments.
The arrays in *pEdgeData must be NULL or contain the same number of elements as there are edges. The arrays in *pFaceData must be NULL or contain the same number of elements as there are faces. The arrays in *pVertexData must be NULL or contain numVertices elements.
See also
<link tv_geometry_shells, Work with Shells>

Implemented in OdGiBaseVectorizer, OdGiBaseVectorizerImpl, OdGiDummyGeometry< OdGiViewportDraw_ >, OdGiDummyGeometry< OdGiViewportGeometry >, OdGiDummyGeometry< OdGiWorldDraw_ >, OdGiDummyGeometry< OdGiWorldGeometry >, OdGiWrapperGeometry< OdGiViewportDraw_ >, OdGiWrapperGeometry< OdGiViewportGeometry >, and OdGiWrapperGeometry< OdGiWorldGeometry >.

◆ text() [1/2]

virtual void OdGiGeometry::text ( const OdGePoint3d & position,
const OdGeVector3d & normal,
const OdGeVector3d & direction,
const OdChar * msg,
OdInt32 length,
bool raw,
const OdGiTextStyle * pTextStyle )
pure virtual

Introduces text into this vectorization context.

Parameters
position[in] Position of the text string.
normal[in] Normal vector of the text.
direction[in] Baseline direction of the text.
msg[in] Text string.
length[in] Number of characters in msg (not including the optional null character).
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.
See also
<link tv_geometry_text, Work with Text>

Implemented in OdGiBaseVectorizer, OdGiDummyGeometry< OdGiViewportDraw_ >, OdGiDummyGeometry< OdGiViewportGeometry >, OdGiDummyGeometry< OdGiWorldDraw_ >, OdGiDummyGeometry< OdGiWorldGeometry >, OdGiWrapperGeometry< OdGiViewportDraw_ >, OdGiWrapperGeometry< OdGiViewportGeometry >, and OdGiWrapperGeometry< OdGiWorldGeometry >.

◆ text() [2/2]

virtual void OdGiGeometry::text ( const OdGePoint3d & position,
const OdGeVector3d & normal,
const OdGeVector3d & direction,
double height,
double width,
double oblique,
const OdString & msg )
pure virtual

Introduces text into this vectorization context.

Parameters
position[in] Position of the text string.
normal[in] Normal vector of the text.
direction[in] Baseline direction of the text.
height[in] Height of the text.
width[in] Width factor of the text.
oblique[in] Oblique angle.
msg[in] Text string.
Remarks
The text takes on the current color. If numBytes is not specified, msg must be null terminated. All angles are expressed in radians. As currently implemented, this function ignores width and oblique. They will be fully implemented in a future release.
See also
<link tv_geometry_text, Work with Text>

Implemented in OdGiBaseVectorizer, OdGiDummyGeometry< OdGiViewportDraw_ >, OdGiDummyGeometry< OdGiViewportGeometry >, OdGiDummyGeometry< OdGiWorldDraw_ >, OdGiDummyGeometry< OdGiWorldGeometry >, OdGiWrapperGeometry< OdGiViewportDraw_ >, OdGiWrapperGeometry< OdGiViewportGeometry >, and OdGiWrapperGeometry< OdGiWorldGeometry >.

◆ worldLine()

virtual void OdGiGeometry::worldLine ( const OdGePoint3d points[2])
pure virtual

Introduces a line into this vectorization context.

Parameters
points[in] Array of WCS start and end points.
Remarks
The current model transformation is not applied to the line.
See also
<link tv_geometry_lines, Work with Lines>

Implemented in OdGiBaseVectorizer, OdGiDummyGeometry< OdGiViewportDraw_ >, OdGiDummyGeometry< OdGiViewportGeometry >, OdGiDummyGeometry< OdGiWorldDraw_ >, OdGiDummyGeometry< OdGiWorldGeometry >, OdGiWrapperGeometry< OdGiViewportDraw_ >, OdGiWrapperGeometry< OdGiViewportGeometry >, and OdGiWrapperGeometry< OdGiWorldGeometry >.

◆ xline()

virtual void OdGiGeometry::xline ( const OdGePoint3d & firstPoint,
const OdGePoint3d & secondPoint )
pure virtual

Introduces an Xline into this vectorization context.

Parameters
firstPoint[in] First point.
secondPoint[in] Second point.
Remarks
Xlines are infinite lines passing through two points. The xline takes on the current color.
See also
<link tv_geometry_lines, Work with Lines>

Implemented in OdGiBaseVectorizer, OdGiBaseVectorizerImpl, OdGiDummyGeometry< OdGiViewportDraw_ >, OdGiDummyGeometry< OdGiViewportGeometry >, OdGiDummyGeometry< OdGiWorldDraw_ >, OdGiDummyGeometry< OdGiWorldGeometry >, OdGiWrapperGeometry< OdGiViewportDraw_ >, OdGiWrapperGeometry< OdGiViewportGeometry >, and OdGiWrapperGeometry< OdGiWorldGeometry >.


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