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);
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)
OdGiViewportDraw * getViewportDraw() const
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)
void circularArc(const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint, const OdGePoint3d &thirdPoint, OdGiArcType arcType=kOdGiArcSimple)
bool isSetExtentsCalled() const
void getExtents(OdGeExtents3d &extents) const
OdGiViewportGeometry * getViewportGeometry() const
OdGiWorldGeometry * getWorldGeometry() 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
bool isDrawInvisibleNested() const
void nurbs(const OdGeNurbCurve3d &nurbsCurve)
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)
GLint GLenum GLsizei width
GLuint GLsizei GLsizei * length
GLint GLenum GLsizei GLsizei height