24#ifndef _ODGIFASTEXTCALC_INCLUDED_
25#define _ODGIFASTEXTCALC_INCLUDED_
61 kSetExtentsCalledFlag = 1,
62 kDrawInvisiblesFlag = 2,
63 kDrawInvisiblesNestedFlag = 4,
64 kDrawingInitiatedFlag = 8,
65 kViewportDrawEnabledFlag = 16
69 void setSetExtentsCalled(
bool bSet);
72 bool isSetExtentsCalled()
const;
75 void setDrawingInitiated(
bool bSet);
76 bool isDrawingInitiated()
const;
105 void setDrawInvisible(
bool bSet);
110 bool isDrawInvisible()
const;
116 void setDrawInvisibleNested(
bool bSet);
121 bool isDrawInvisibleNested()
const;
127 void resetFirstDrawFlag();
133 void setViewportDrawEnabled(
bool bSet);
138 bool isViewportDrawEnabled()
const;
276inline void OdGiFastExtCalc::setSetExtentsCalled(
bool bSet)
278 SETBIT(m_flags, kSetExtentsCalledFlag, bSet);
283 return GETBIT(m_flags, kSetExtentsCalledFlag);
288 SETBIT(m_flags, kDrawingInitiatedFlag, bSet);
293 return GETBIT(m_flags, kDrawingInitiatedFlag);
298 SETBIT(m_flags, kDrawInvisiblesFlag, bSet);
303 return GETBIT(m_flags, kDrawInvisiblesFlag);
308 SETBIT(m_flags, kDrawInvisiblesNestedFlag, bSet);
313 return GETBIT(m_flags, kDrawInvisiblesNestedFlag);
318 m_flags &= ~kDrawingInitiatedFlag;
323 SETBIT(m_flags, kViewportDrawEnabledFlag, bSet);
328 return GETBIT(m_flags, kViewportDrawEnabledFlag);
OdGiTransformed< OdGiJoinCommonDraw< OdGiWorldDrawImpl, OdGiFastExtCalcViewportDrawImpl > > OdGiFastExtCalcBase
#define SETBIT(flags, bit, value)
#define GETBIT(flags, bit)
void circularArc(const OdGePoint3d ¢er, double radius, const OdGeVector3d &normal, const OdGeVector3d &startVector, double sweepAngle, OdGiArcType arcType=kOdGiArcSimple)
void addTextExtents(const OdGePoint3d &locExtMin, const OdGePoint3d &locExtMax, const OdGePoint3d &position, const OdGeVector3d &normal, const OdGeVector3d &direction)
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, const OdChar *msg, OdInt32 length, bool raw, const OdGiTextStyle *pTextStyle)
void text(const OdGePoint3d &position, const OdGeVector3d &normal, const OdGeVector3d &direction, double height, double width, double oblique, const OdString &msg)
bool isViewportDrawEnabled() const
void ellipArc(const OdGeEllipArc3d &ellipArc, const OdGePoint3d *endPointsOverrides=0, OdGiArcType arcType=kOdGiArcSimple)
void setViewportDrawEnabled(bool bSet)
void edge(const OdGiEdge2dArray &edges)
double deviation(const OdGiDeviationType deviationType, const OdGePoint3d &pointOnCurve) const
void polyline(OdInt32 numVertices, const OdGePoint3d *vertexList, const OdGeVector3d *pNormal=0, OdGsMarker baseSubEntMarker=-1)
OdGiWorldDraw * getWorldDraw() const
OdGiRegenType regenType() const
bool isDrawingInitiated() const
void setDrawInvisible(bool bSet)
void draw(const OdGiDrawable *pDrawable)
void circle(const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint, const OdGePoint3d &thirdPoint)
void xline(const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint)
void pline(const OdGiPolyline &polyline, OdUInt32 fromIndex=0, OdUInt32 numSegs=0)
void ray(const OdGePoint3d &basePoint, const OdGePoint3d &throughPoint)
void resetFirstDrawFlag()
void setDrawingInitiated(bool bSet)
void worldLine(const OdGePoint3d points[2])
void circle(const OdGePoint3d ¢er, double radius, const OdGeVector3d &normal)
void rowOfDots(OdInt32 numPoints, const OdGePoint3d &startPoint, const OdGeVector3d &dirToNextPoint)
void pushModelTransform(const OdGeMatrix3d &xfm)
OdGiWorldGeometry * getWorldGeometry() const
void circularArc(const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint, const OdGePoint3d &thirdPoint, OdGiArcType arcType=kOdGiArcSimple)
OdGiViewportGeometry * getViewportGeometry() const
bool isSetExtentsCalled() const
void getExtents(OdGeExtents3d &extents) const
void mesh(OdInt32 numRows, OdInt32 numColumns, const OdGePoint3d *vertexList, const OdGiEdgeData *pEdgeData=0, const OdGiFaceData *pFaceData=0, const OdGiVertexData *pVertexData=0)
void setExtents(const OdGePoint3d *newExtents)
void pushClipBoundary(OdGiClipBoundary *pBoundary)
void setDrawInvisibleNested(bool bSet)
bool isDrawInvisible() const
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)
bool isDrawInvisibleNested() const
void nurbs(const OdGeNurbCurve3d &nurbsCurve)
void pointCloud(const OdGiPointCloud &pCloud)
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 polygon(OdInt32 numVertices, const OdGePoint3d *vertexList)
void polypoint(OdInt32 numPoints, const OdGePoint3d *vertexList, const OdCmEntityColor *pColors, const OdCmTransparency *pTransparency, const OdGeVector3d *pNormals, const OdGsMarker *pSubEntMarkers, OdInt32 nPointSize)
void image(const OdGiImageBGRA32 &img, const OdGePoint3d &origin, const OdGeVector3d &uVec, const OdGeVector3d &vVec, OdGiRasterImage::TransparencyMode trpMode=OdGiRasterImage::kTransparency8Bit)
ODRX_USING_HEAP_OPERATORS(OdGiFastExtCalcBase)
OdGiViewportDraw * getViewportDraw() const
GLint GLenum GLsizei width
GLuint GLsizei GLsizei * length
GLint GLenum GLsizei GLsizei height