// This file is generated by WOK (CPPExt). // Please do not edit this file; modify original file instead. // The copyright and license terms as defined for the original file apply to // this header file considered to be the "object code" form of the original source. #ifndef _V2d_CircularGraphicGrid_HeaderFile #define _V2d_CircularGraphicGrid_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Handle_V2d_CircularGraphicGrid_HeaderFile #include #endif #ifndef _Standard_ShortReal_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif #ifndef _Aspect_GridDrawMode_HeaderFile #include #endif #ifndef _Graphic2d_Primitive_HeaderFile #include #endif #ifndef _Handle_Graphic2d_GraphicObject_HeaderFile #include #endif #ifndef _Standard_Real_HeaderFile #include #endif #ifndef _Handle_Graphic2d_Drawer_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _Aspect_FStream_HeaderFile #include #endif class Graphic2d_GraphicObject; class Graphic2d_Drawer; class V2d_CircularGraphicGrid : public Graphic2d_Primitive { public: Standard_EXPORT V2d_CircularGraphicGrid(const Handle(Graphic2d_GraphicObject)& aGraphicObject,const Standard_Real X,const Standard_Real Y,const Standard_Real alpha,const Standard_Real step,const Standard_Integer aDivision,const Standard_Integer PointsColorIndex); Standard_EXPORT void SetDrawMode(const Aspect_GridDrawMode aDrawMode) ; Standard_EXPORT virtual void Save(Aspect_FStream& aFStream) const; DEFINE_STANDARD_RTTI(V2d_CircularGraphicGrid) protected: //! Draws the grid
Standard_EXPORT void Draw(const Handle(Graphic2d_Drawer)& aDrawer) ; //! Returns Standard_True if the infinite line is picked,
//! Standard_False if not.
Standard_EXPORT Standard_Boolean Pick(const Standard_ShortReal X,const Standard_ShortReal Y,const Standard_ShortReal aPrecision,const Handle(Graphic2d_Drawer)& aDrawer) ; private: Standard_EXPORT void DrawCircle(const Handle(Graphic2d_Drawer)& aDrawer,const Standard_ShortReal xc,const Standard_ShortReal yc,const Standard_ShortReal r,const Standard_Boolean DrawPoints) const; Standard_ShortReal OX; Standard_ShortReal OY; Standard_ShortReal angle; Standard_ShortReal Step; Standard_Integer Division; Aspect_GridDrawMode DrawMode; Standard_Integer myPointsColorIndex; }; // other Inline functions and methods (like "C++: function call" methods) #endif