|
CFx SDK Documentation 2024 SP0
|
#include <GiFastExtCalc.h>
Public Member Functions | |
| bool | isSetExtentsCalled () const |
| void | setDrawingInitiated (bool bSet) |
| bool | isDrawingInitiated () const |
| void | addTextExtents (const OdGePoint3d &locExtMin, const OdGePoint3d &locExtMax, const OdGePoint3d &position, const OdGeVector3d &normal, const OdGeVector3d &direction) |
| void | resetExtents () |
| void | getExtents (OdGeExtents3d &extents) const |
| void | setDrawInvisible (bool bSet) |
| bool | isDrawInvisible () const |
| void | setDrawInvisibleNested (bool bSet) |
| bool | isDrawInvisibleNested () const |
| void | resetFirstDrawFlag () |
| void | setViewportDrawEnabled (bool bSet) |
| bool | isViewportDrawEnabled () const |
| OdGiWorldDraw * | getWorldDraw () const |
| OdGiViewportDraw * | getViewportDraw () const |
| OdGiWorldGeometry * | getWorldGeometry () const |
| OdGiViewportGeometry * | getViewportGeometry () const |
| bool | regenAbort () const |
| double | deviation (const OdGiDeviationType deviationType, const OdGePoint3d &pointOnCurve) const |
| OdGiRegenType | regenType () const |
| void | circle (const OdGePoint3d ¢er, double radius, const OdGeVector3d &normal) |
| void | circle (const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint, const OdGePoint3d &thirdPoint) |
| void | circularArc (const OdGePoint3d ¢er, 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 | pline (const OdGiPolyline &polyline, 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) |
| 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) |
| 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 | pushModelTransform (const OdGeMatrix3d &xfm) |
| void | popModelTransform () |
| void | draw (const OdGiDrawable *pDrawable) |
Public Member Functions inherited from OdGiTransformed< T > | |
| void | pushModelTransform (const OdGeMatrix3d &xMat) |
| void | pushModelTransform (const OdGeVector3d &vNormal) |
| void | popModelTransform () |
| OdGeMatrix3d | getModelToWorldTransform () const |
| OdGeMatrix3d | getWorldToModelTransform () const |
Protected Member Functions | |
| ODRX_USING_HEAP_OPERATORS (OdGiFastExtCalcBase) | |
| OdGiFastExtCalc () | |
This class is an implementation of the subWorldDraw() framework to quickly calculate the WCS extents of an OdGiDrawable object.
Definition at line 52 of file GiFastExtCalc.h.
|
protected |
| void OdGiFastExtCalc::addTextExtents | ( | const OdGePoint3d & | locExtMin, |
| const OdGePoint3d & | locExtMax, | ||
| const OdGePoint3d & | position, | ||
| const OdGeVector3d & | normal, | ||
| const OdGeVector3d & | direction | ||
| ) |
| void OdGiFastExtCalc::circle | ( | const OdGePoint3d & | center, |
| double | radius, | ||
| const OdGeVector3d & | normal | ||
| ) |
| void OdGiFastExtCalc::circle | ( | const OdGePoint3d & | firstPoint, |
| const OdGePoint3d & | secondPoint, | ||
| const OdGePoint3d & | thirdPoint | ||
| ) |
| void OdGiFastExtCalc::circularArc | ( | const OdGePoint3d & | center, |
| double | radius, | ||
| const OdGeVector3d & | normal, | ||
| const OdGeVector3d & | startVector, | ||
| double | sweepAngle, | ||
| OdGiArcType | arcType = kOdGiArcSimple |
||
| ) |
| void OdGiFastExtCalc::circularArc | ( | const OdGePoint3d & | firstPoint, |
| const OdGePoint3d & | secondPoint, | ||
| const OdGePoint3d & | thirdPoint, | ||
| OdGiArcType | arcType = kOdGiArcSimple |
||
| ) |
| double OdGiFastExtCalc::deviation | ( | const OdGiDeviationType | deviationType, |
| const OdGePoint3d & | pointOnCurve | ||
| ) | const |
| void OdGiFastExtCalc::draw | ( | const OdGiDrawable * | pDrawable | ) |
| void OdGiFastExtCalc::edge | ( | const OdGiEdge2dArray & | edges | ) |
| void OdGiFastExtCalc::ellipArc | ( | const OdGeEllipArc3d & | ellipArc, |
| const OdGePoint3d * | endPointsOverrides = 0, |
||
| OdGiArcType | arcType = kOdGiArcSimple |
||
| ) |
| void OdGiFastExtCalc::getExtents | ( | OdGeExtents3d & | extents | ) | const |
Returns the accumulated extents for the OdGiDrawable object associated with this Vectorization object.
| extents | [out] Receives the extents. |
| OdGiViewportDraw * OdGiFastExtCalc::getViewportDraw | ( | ) | const |
Returns pointer onto OdGiViewportDraw interface.
| OdGiViewportGeometry * OdGiFastExtCalc::getViewportGeometry | ( | ) | const |
Returns pointer onto OdGiViewportGeometry interface.
| OdGiWorldDraw * OdGiFastExtCalc::getWorldDraw | ( | ) | const |
Returns pointer onto OdGiWorldDraw interface.
| OdGiWorldGeometry * OdGiFastExtCalc::getWorldGeometry | ( | ) | const |
Returns pointer onto OdGiWorldGeometry interface.
| void OdGiFastExtCalc::image | ( | const OdGiImageBGRA32 & | img, |
| const OdGePoint3d & | origin, | ||
| const OdGeVector3d & | uVec, | ||
| const OdGeVector3d & | vVec, | ||
| OdGiRasterImage::TransparencyMode | trpMode = OdGiRasterImage::kTransparency8Bit |
||
| ) |
|
inline |
Definition at line 291 of file GiFastExtCalc.h.
|
inline |
Returns whether invisible entities are to be drawn.
Definition at line 301 of file GiFastExtCalc.h.
|
inline |
Returns whether invisible nested entities are to be drawn.
Definition at line 311 of file GiFastExtCalc.h.
|
inline |
Definition at line 281 of file GiFastExtCalc.h.
|
inline |
Returns whether viewportDraw method will be called after worldDraw method.
Definition at line 326 of file GiFastExtCalc.h.
| void OdGiFastExtCalc::mesh | ( | OdInt32 | numRows, |
| OdInt32 | numColumns, | ||
| const OdGePoint3d * | vertexList, | ||
| const OdGiEdgeData * | pEdgeData = 0, |
||
| const OdGiFaceData * | pFaceData = 0, |
||
| const OdGiVertexData * | pVertexData = 0 |
||
| ) |
| void OdGiFastExtCalc::nurbs | ( | const OdGeNurbCurve3d & | nurbsCurve | ) |
|
protected |
| void OdGiFastExtCalc::pline | ( | const OdGiPolyline & | polyline, |
| OdUInt32 | fromIndex = 0, |
||
| OdUInt32 | numSegs = 0 |
||
| ) |
| void OdGiFastExtCalc::pointCloud | ( | const OdGiPointCloud & | pCloud | ) |
| void OdGiFastExtCalc::polygon | ( | OdInt32 | numVertices, |
| const OdGePoint3d * | vertexList | ||
| ) |
| void OdGiFastExtCalc::polyline | ( | OdInt32 | numVertices, |
| const OdGePoint3d * | vertexList, | ||
| const OdGeVector3d * | pNormal = 0, |
||
| OdGsMarker | baseSubEntMarker = -1 |
||
| ) |
| void OdGiFastExtCalc::polypoint | ( | OdInt32 | numPoints, |
| const OdGePoint3d * | vertexList, | ||
| const OdCmEntityColor * | pColors, | ||
| const OdCmTransparency * | pTransparency, | ||
| const OdGeVector3d * | pNormals, | ||
| const OdGsMarker * | pSubEntMarkers, | ||
| OdInt32 | nPointSize | ||
| ) |
| void OdGiFastExtCalc::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 OdGiFastExtCalc::popClipBoundary | ( | ) |
| void OdGiFastExtCalc::popModelTransform | ( | ) |
| void OdGiFastExtCalc::pushClipBoundary | ( | OdGiClipBoundary * | pBoundary | ) |
| void OdGiFastExtCalc::pushModelTransform | ( | const OdGeMatrix3d & | xfm | ) |
| void OdGiFastExtCalc::ray | ( | const OdGePoint3d & | basePoint, |
| const OdGePoint3d & | throughPoint | ||
| ) |
| bool OdGiFastExtCalc::regenAbort | ( | ) | const |
| OdGiRegenType OdGiFastExtCalc::regenType | ( | ) | const |
| void OdGiFastExtCalc::resetExtents | ( | ) |
Resets the accumulated extents for the OdGiDrawable object associated with this Vectorization object.
|
inline |
Resets flag which is set after first draw call. This flag informs extents calculator that nested entities draw.
Definition at line 316 of file GiFastExtCalc.h.
| void OdGiFastExtCalc::rowOfDots | ( | OdInt32 | numPoints, |
| const OdGePoint3d & | startPoint, | ||
| const OdGeVector3d & | dirToNextPoint | ||
| ) |
|
inline |
Definition at line 286 of file GiFastExtCalc.h.
|
inline |
Sets whether invisible entities will be drawn.
| bSet | [in] true - to draw invisible entities, false - do not draw. |
Definition at line 296 of file GiFastExtCalc.h.
|
inline |
Sets whether invisible nested entities will be drawn.
| bSet | [in] true - to draw invisible nested entities, false - do not draw. |
Definition at line 306 of file GiFastExtCalc.h.
| void OdGiFastExtCalc::setExtents | ( | const OdGePoint3d * | newExtents | ) |
|
inline |
Sets whether viewportDraw method will be called after worldDraw method.
| bSet | [in] true - to enable viewportDraw call, false - to disable viewportDraw call. |
Definition at line 321 of file GiFastExtCalc.h.
| void OdGiFastExtCalc::shape | ( | const OdGePoint3d & | position, |
| const OdGeVector3d & | normal, | ||
| const OdGeVector3d & | direction, | ||
| int | shapeNumber, | ||
| const OdGiTextStyle * | pTextStyle | ||
| ) |
Introduces a shape into this vectorization context.
| position | [in] Position of the shape. |
| shapeNumber | [in] Shape number. |
| pTextStyle | [in] Pointer to the TextStyle for the shape. |
| direction | [in] Baseline direction for the shape. |
| normal | [in] Normal vector. |
| void OdGiFastExtCalc::shell | ( | OdInt32 | numVertices, |
| const OdGePoint3d * | vertexList, | ||
| OdInt32 | faceListSize, | ||
| const OdInt32 * | faceList, | ||
| const OdGiEdgeData * | pEdgeData = 0, |
||
| const OdGiFaceData * | pFaceData = 0, |
||
| const OdGiVertexData * | pVertexData = 0 |
||
| ) |
| void OdGiFastExtCalc::text | ( | const OdGePoint3d & | position, |
| const OdGeVector3d & | normal, | ||
| const OdGeVector3d & | direction, | ||
| const OdChar * | msg, | ||
| OdInt32 | length, | ||
| bool | raw, | ||
| const OdGiTextStyle * | pTextStyle | ||
| ) |
| void OdGiFastExtCalc::text | ( | const OdGePoint3d & | position, |
| const OdGeVector3d & | normal, | ||
| const OdGeVector3d & | direction, | ||
| double | height, | ||
| double | width, | ||
| double | oblique, | ||
| const OdString & | msg | ||
| ) |
| void OdGiFastExtCalc::worldLine | ( | const OdGePoint3d | points[2] | ) |
| void OdGiFastExtCalc::xline | ( | const OdGePoint3d & | firstPoint, |
| const OdGePoint3d & | secondPoint | ||
| ) |