CFx SDK Documentation
2020SP3
|
Go to the documentation of this file.
24 #ifndef _ODGIFASTEXTCALC_INCLUDED_
25 #define _ODGIFASTEXTCALC_INCLUDED_
62 kSetExtentsCalledFlag = 1,
63 kDrawInvisiblesFlag = 2,
64 kDrawInvisiblesNestedFlag = 4,
65 kDrawingInitiatedFlag = 8,
66 kViewportDrawEnabledFlag = 16
70 void setSetExtentsCalled(
bool bSet);
73 bool isSetExtentsCalled()
const;
76 void setDrawingInitiated(
bool bSet);
77 bool isDrawingInitiated()
const;
106 void setDrawInvisible(
bool bSet);
111 bool isDrawInvisible()
const;
117 void setDrawInvisibleNested(
bool bSet);
122 bool isDrawInvisibleNested()
const;
128 void resetFirstDrawFlag();
134 void setViewportDrawEnabled(
bool bSet);
139 bool isViewportDrawEnabled()
const;
270 inline void OdGiFastExtCalc::setSetExtentsCalled(
bool bSet)
272 SETBIT(m_flags, kSetExtentsCalledFlag, bSet);
277 return GETBIT(m_flags, kSetExtentsCalledFlag);
282 SETBIT(m_flags, kDrawingInitiatedFlag, bSet);
287 return GETBIT(m_flags, kDrawingInitiatedFlag);
292 SETBIT(m_flags, kDrawInvisiblesFlag, bSet);
297 return GETBIT(m_flags, kDrawInvisiblesFlag);
302 SETBIT(m_flags, kDrawInvisiblesNestedFlag, bSet);
307 return GETBIT(m_flags, kDrawInvisiblesNestedFlag);
312 m_flags &= ~kDrawingInitiatedFlag;
317 SETBIT(m_flags, kViewportDrawEnabledFlag, bSet);
322 return GETBIT(m_flags, kViewportDrawEnabledFlag);
327 #endif // #ifndef _ODGIFASTEXTCALC_INCLUDED_
#define GETBIT(flags, bit)
OdGiTransformed< OdGiJoinCommonDraw< OdGiWorldDrawImpl, OdGiFastExtCalcViewportDrawImpl > > OdGiFastExtCalcBase
void getExtents(OdGeExtents3d &extents) const
bool isDrawInvisibleNested() const
void polypoint(OdInt32 numPoints, const OdGePoint3d *vertexList, const OdCmEntityColor *pColors, const OdCmTransparency *pTransparency, const OdGeVector3d *pNormals, const OdGsMarker *pSubEntMarkers, OdInt32 nPointSize)
void circularArc(const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint, const OdGePoint3d &thirdPoint, OdGiArcType arcType=kOdGiArcSimple)
void xline(const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint)
void setExtents(const OdGePoint3d *newExtents)
void setDrawInvisible(bool bSet)
void pushClipBoundary(OdGiClipBoundary *pBoundary)
void circle(const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint, const OdGePoint3d &thirdPoint)
void edge(const OdGiEdge2dArray &edges)
void pline(const OdGiPolyline &polyline, OdUInt32 fromIndex=0, OdUInt32 numSegs=0)
void circularArc(const OdGePoint3d ¢er, double radius, const OdGeVector3d &normal, const OdGeVector3d &startVector, double sweepAngle, OdGiArcType arcType=kOdGiArcSimple)
void circle(const OdGePoint3d ¢er, double radius, const OdGeVector3d &normal)
void setDrawingInitiated(bool bSet)
#define SETBIT(flags, bit, value)
ODRX_USING_HEAP_OPERATORS(OdGiFastExtCalcBase)
OdGiViewportDraw * getViewportDraw() const
void ray(const OdGePoint3d &basePoint, const OdGePoint3d &throughPoint)
void polygon(OdInt32 numVertices, const OdGePoint3d *vertexList)
void mesh(OdInt32 numRows, OdInt32 numColumns, const OdGePoint3d *vertexList, const OdGiEdgeData *pEdgeData=0, const OdGiFaceData *pFaceData=0, const OdGiVertexData *pVertexData=0)
void setViewportDrawEnabled(bool bSet)
bool isDrawInvisible() const
void draw(const OdGiDrawable *pDrawable)
void resetFirstDrawFlag()
void worldLine(const OdGePoint3d points[2])
void addTextExtents(const OdGePoint3d &locExtMin, const OdGePoint3d &locExtMax, const OdGePoint3d &position, const OdGeVector3d &normal, const OdGeVector3d &direction)
void ellipArc(const OdGeEllipArc3d &ellipArc, const OdGePoint3d *endPointsOverrides=0, OdGiArcType arcType=kOdGiArcSimple)
void pushModelTransform(const OdGeMatrix3d &xfm)
GLint GLenum GLsizei GLsizei height
GLuint GLsizei GLsizei * length
GLint GLenum GLsizei width
OdGiWorldGeometry * getWorldGeometry() const
bool isViewportDrawEnabled() const
bool isSetExtentsCalled() const
void image(const OdGiImageBGRA32 &img, const OdGePoint3d &origin, const OdGeVector3d &uVec, const OdGeVector3d &vVec, OdGiRasterImage::TransparencyMode trpMode=OdGiRasterImage::kTransparency8Bit)
OdGiViewportGeometry * getViewportGeometry() const
void shape(const OdGePoint3d &position, const OdGeVector3d &normal, const OdGeVector3d &direction, int shapeNumber, const OdGiTextStyle *pTextStyle)
void setDrawInvisibleNested(bool bSet)
double deviation(const OdGiDeviationType deviationType, const OdGePoint3d &pointOnCurve) const
void text(const OdGePoint3d &position, const OdGeVector3d &normal, const OdGeVector3d &direction, const OdChar *msg, OdInt32 length, bool raw, const OdGiTextStyle *pTextStyle)
void rowOfDots(OdInt32 numPoints, const OdGePoint3d &startPoint, const OdGeVector3d &dirToNextPoint)
void shell(OdInt32 numVertices, const OdGePoint3d *vertexList, OdInt32 faceListSize, const OdInt32 *faceList, const OdGiEdgeData *pEdgeData=0, const OdGiFaceData *pFaceData=0, const OdGiVertexData *pVertexData=0)
OdGiWorldDraw * getWorldDraw() const
OdGiRegenType regenType() const
void nurbs(const OdGeNurbCurve3d &nurbsCurve)
bool isDrawingInitiated() const
void polyline(OdInt32 numVertices, const OdGePoint3d *vertexList, const OdGeVector3d *pNormal=0, OdGsMarker baseSubEntMarker=-1)
void text(const OdGePoint3d &position, const OdGeVector3d &normal, const OdGeVector3d &direction, double height, double width, double oblique, const OdString &msg)