CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
OdGiDummyViewportGeometry< T > Class Template Reference

#include <GiDummyGeometry.h>

Inheritance diagram for OdGiDummyViewportGeometry< T >:
OdGiDummyGeometry< T >

Public Member Functions

virtual void polylineEye (OdUInt32 numVertices, const OdGePoint3d *vertexList)
 
virtual void polygonEye (OdUInt32 numVertices, const OdGePoint3d *vertexList)
 
virtual void polylineDc (OdUInt32 numVertices, const OdGePoint3d *vertexList)
 
virtual void polygonDc (OdUInt32 numVertices, const OdGePoint3d *vertexList)
 
virtual void rasterImageDc (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 metafileDc (const OdGePoint3d &origin, const OdGeVector3d &u, const OdGeVector3d &v, const OdGiMetafile *pMetafile, bool bDcAligned=true, bool bAllowClipping=false)
 
virtual void ownerDrawDc (const OdGePoint3d &origin, const OdGeVector3d &u, const OdGeVector3d &v, const OdGiSelfGdiDrawable *pDrawable, bool dcAligned=true, bool allowClipping=false)
 
- Public Member Functions inherited from OdGiDummyGeometry< T >
void circle (const OdGePoint3d &center, double radius, const OdGeVector3d &normal)
 
void circle (const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint, const OdGePoint3d &thirdPoint)
 
void circularArc (const OdGePoint3d &center, double radius, const OdGeVector3d &normal, const OdGeVector3d &startVector, double sweepAngle, OdGiArcType arcType=kOdGiArcSimple)
 
void circularArc (const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint, const OdGePoint3d &thirdPoint, OdGiArcType arcType=kOdGiArcSimple)
 
void polyline (OdInt32 numVertices, const OdGePoint3d *vertexList, const OdGeVector3d *pNormal=0, OdGsMarker baseSubEntMarker=-1)
 
void polygon (OdInt32 numVertices, const OdGePoint3d *vertexList)
 
void polygon (OdInt32 numVertices, const OdGePoint3d *vertexList, const OdGeVector3d *pNormal)
 
void pline (const OdGiPolyline &polylPine, OdUInt32 fromIndex=0, OdUInt32 numSegs=0)
 
void shape (const OdGePoint3d &position, const OdGeVector3d &normal, const OdGeVector3d &direction, int shapeNumber, const OdGiTextStyle *pTextStyle)
 
void text (const OdGePoint3d &position, const OdGeVector3d &normal, const OdGeVector3d &direction, double height, double width, double oblique, const OdString &msg)
 
void text (const OdGePoint3d &position, const OdGeVector3d &normal, const OdGeVector3d &direction, const OdChar *msg, OdInt32 length, bool raw, const OdGiTextStyle *pTextStyle)
 
void xline (const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint)
 
void ray (const OdGePoint3d &basePoint, const OdGePoint3d &throughPoint)
 
void nurbs (const OdGeNurbCurve3d &nurbsCurve)
 
void ellipArc (const OdGeEllipArc3d &ellipArc, const OdGePoint3d *endPointsOverrides=0, OdGiArcType arcType=kOdGiArcSimple)
 
void mesh (OdInt32 numRows, OdInt32 numColumns, const OdGePoint3d *vertexList, const OdGiEdgeData *pEdgeData=0, const OdGiFaceData *pFaceData=0, const OdGiVertexData *pVertexData=0)
 
void shell (OdInt32 numVertices, const OdGePoint3d *vertexList, OdInt32 faceListSize, const OdInt32 *faceList, const OdGiEdgeData *pEdgeData=0, const OdGiFaceData *pFaceData=0, const OdGiVertexData *pVertexData=0)
 
void worldLine (const OdGePoint3d points[2])
 
void image (const OdGiImageBGRA32 &img, const OdGePoint3d &origin, const OdGeVector3d &uVec, const OdGeVector3d &vVec, OdGiRasterImage::TransparencyMode trpMode=OdGiRasterImage::kTransparency8Bit)
 
virtual void edge (const OdGiEdge2dArray &edges)
 
void polypoint (OdInt32 numPoints, const OdGePoint3d *vertexList, const OdCmEntityColor *pColors, const OdCmTransparency *pTransparency, const OdGeVector3d *pNormals, const OdGsMarker *pSubEntMarkers, OdInt32 nPointSize)
 
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)
 
void rowOfDots (OdInt32 numPoints, const OdGePoint3d &startPoint, const OdGeVector3d &dirToNextPoint)
 
void pointCloud (const OdGiPointCloud &pCloud)
 
void setExtents (const OdGePoint3d *newExtents)
 
void pushClipBoundary (OdGiClipBoundary *pBoundary)
 
void popClipBoundary ()
 
void draw (const OdGiDrawable *pDrawable)
 
void pushModelTransform (const OdGeMatrix3d &xMat)
 
void pushModelTransform (const OdGeVector3d &normal)
 
void popModelTransform ()
 
OdGeMatrix3d getModelToWorldTransform () const
 
OdGeMatrix3d getWorldToModelTransform () const
 
bool brep (const OdGiBrep &)
 

Detailed Description

template<class T>
class OdGiDummyViewportGeometry< T >

Corresponding C++ library: TD_Gi <group OdGi_Classes>

Definition at line 2157 of file GiDummyGeometry.h.

Member Function Documentation

◆ metafileDc()

template<class T >
virtual void OdGiDummyViewportGeometry< T >::metafileDc ( const OdGePoint3d origin,
const OdGeVector3d u,
const OdGeVector3d v,
const OdGiMetafile pMetafile,
bool  bDcAligned = true,
bool  bAllowClipping = false 
)
inlinevirtual

Introduces a metafile into the vectorization context in device coordinate system. Does nothing in current implementation.

Parameters
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.
bDcAligned[in] Flag that specifies whether metafile content should be aligned to device coordinate system.
bAllowClipping[in] Flag that specifies whether clipping should be allowed for a metafile.

Definition at line 2237 of file GiDummyGeometry.h.

◆ ownerDrawDc()

template<class T >
virtual void OdGiDummyViewportGeometry< T >::ownerDrawDc ( const OdGePoint3d origin,
const OdGeVector3d u,
const OdGeVector3d v,
const OdGiSelfGdiDrawable pDrawable,
bool  dcAligned = true,
bool  allowClipping = false 
)
inlinevirtual

Passes to the visualization framework an object that can render itself. Does nothing in current implementation.

Parameters
origin[in] Object origin.
u[in] Object width vector.
v[in] Object height vector.
pDrawable[in] Pointer to the drawable.
dcAligned[in] Flag that specifies whether drawable should be aligned to device coordinate system.
allowClipping[in] Flag that specifies whether clipping should be allowed.
Remarks
ODA Platform uses this function to render Ole2Frame entities.
ownerDrawDc is not conveyor primitive, so the ODA Platform visualization framework performs no processing (transformation, linetyping, or clipping) for this object.

All coordinates are in Model coordinates.

Definition at line 2263 of file GiDummyGeometry.h.

◆ polygonDc()

template<class T >
virtual void OdGiDummyViewportGeometry< T >::polygonDc ( OdUInt32  numVertices,
const OdGePoint3d vertexList 
)
inlinevirtual

Introduces a new polygon but in device coordinate system. Does nothing in current implementation.

Parameters
numVertices[in] Number of vertices.
vertexList[in] Pointer to an array of vertices.

Definition at line 2197 of file GiDummyGeometry.h.

◆ polygonEye()

template<class T >
virtual void OdGiDummyViewportGeometry< T >::polygonEye ( OdUInt32  numVertices,
const OdGePoint3d vertexList 
)
inlinevirtual

Introduces a new polygon but in eye coordinate system. Does nothing in current implementation.

Parameters
numVertices[in] Number of vertices.
vertexList[in] Pointer to an array of vertices.

Definition at line 2177 of file GiDummyGeometry.h.

◆ polylineDc()

template<class T >
virtual void OdGiDummyViewportGeometry< T >::polylineDc ( OdUInt32  numVertices,
const OdGePoint3d vertexList 
)
inlinevirtual

Introduces a new polyline but in device coordinate system. Does nothing in current implementation.

Parameters
numVertices[in] Number of vertices.
vertexList[in] Pointer to an array of vertices.

Definition at line 2187 of file GiDummyGeometry.h.

◆ polylineEye()

template<class T >
virtual void OdGiDummyViewportGeometry< T >::polylineEye ( OdUInt32  numVertices,
const OdGePoint3d vertexList 
)
inlinevirtual

Introduces a new polyline but in eye coordinate system.

Parameters
numVertices[in] Number of vertices.
vertexList[in] Pointer to an array of vertices.

Definition at line 2167 of file GiDummyGeometry.h.

◆ rasterImageDc()

template<class T >
virtual void OdGiDummyViewportGeometry< T >::rasterImageDc ( 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 
)
inlinevirtual

Introduces a raster image into the vectorization context in device coordinate system. Does nothing in current implementation.

Parameters
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].

Definition at line 2215 of file GiDummyGeometry.h.


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