// 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 _Draw_Grid_HeaderFile #define _Draw_Grid_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Handle_Draw_Grid_HeaderFile #include #endif #ifndef _Standard_Real_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _Draw_Drawable3D_HeaderFile #include #endif class Draw_Display; class Draw_Grid : public Draw_Drawable3D { public: //! Creates a grid.
Standard_EXPORT Draw_Grid(); //! Sets the steps along the X, Y & Z axis.
Standard_EXPORT void Steps(const Standard_Real StepX,const Standard_Real StepY,const Standard_Real StepZ) ; //! Returns the step along the X axis.
Standard_Real StepX() const; //! Returns the step along the Y axis.
Standard_Real StepY() const; //! Returns the step along the Z axis.
Standard_Real StepZ() const; //! Returns if the grid is active or not.
Standard_Boolean IsActive() const; //! Displays the grid.
Standard_EXPORT void DrawOn(Draw_Display& Out) const; DEFINE_STANDARD_RTTI(Draw_Grid) protected: private: Standard_Real myStepX; Standard_Real myStepY; Standard_Real myStepZ; Standard_Boolean myIsActive; }; #include // other Inline functions and methods (like "C++: function call" methods) #endif