// File generated by CPPExt (Transient)
//
//
//                     Copyright (C) 1991 - 2000 by  
//                      Matra Datavision SA.  All rights reserved.
//  
//                     Copyright (C) 2001 - 2004 by
//                     Open CASCADE SA.  All rights reserved.
// 
// This file is part of the Open CASCADE Technology software.
//
// This software may be distributed and/or modified under the terms and
// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
// and appearing in the file LICENSE included in the packaging of this file.
//  
// This software is distributed on an "AS IS" basis, without warranty of any
// kind, and Open CASCADE SA hereby disclaims all such warranties,
// including without limitation, any warranties of merchantability, fitness
// for a particular purpose or non-infringement. Please see the License for
// the specific terms and conditions governing rights and limitations under the
// License.

#ifndef _V3d_RectangularGrid_HeaderFile
#define _V3d_RectangularGrid_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Handle_V3d_RectangularGrid_HeaderFile
#include <Handle_V3d_RectangularGrid.hxx>
#endif

#ifndef _Handle_Graphic3d_Structure_HeaderFile
#include <Handle_Graphic3d_Structure.hxx>
#endif
#ifndef _Handle_Graphic3d_Group_HeaderFile
#include <Handle_Graphic3d_Group.hxx>
#endif
#ifndef _gp_Ax3_HeaderFile
#include <gp_Ax3.hxx>
#endif
#ifndef _V3d_ViewerPointer_HeaderFile
#include <V3d_ViewerPointer.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _Aspect_GridDrawMode_HeaderFile
#include <Aspect_GridDrawMode.hxx>
#endif
#ifndef _Standard_Real_HeaderFile
#include <Standard_Real.hxx>
#endif
#ifndef _Aspect_RectangularGrid_HeaderFile
#include <Aspect_RectangularGrid.hxx>
#endif
class Graphic3d_Structure;
class Graphic3d_Group;
class Quantity_Color;



class V3d_RectangularGrid : public Aspect_RectangularGrid {

public:
 // Methods PUBLIC
 // 


Standard_EXPORT V3d_RectangularGrid(const V3d_ViewerPointer& aViewer,const Quantity_Color& aColor,const Quantity_Color& aTenthColor);


Standard_EXPORT   void SetColors(const Quantity_Color& aColor,const Quantity_Color& aTenthColor) ;


Standard_EXPORT   void Display() ;


Standard_EXPORT   void Erase() const;


Standard_EXPORT   Standard_Boolean IsDisplayed() const;


Standard_EXPORT   void GraphicValues(Standard_Real& XSize,Standard_Real& YSize,Standard_Real& OffSet) const;


Standard_EXPORT   void SetGraphicValues(const Standard_Real XSize,const Standard_Real YSize,const Standard_Real OffSet) ;
//Standard_EXPORT ~V3d_RectangularGrid();




 // Type management
 //
 Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
 //Standard_EXPORT Standard_Boolean	       IsKind(const Handle(Standard_Type)&) const;

protected:

 // Methods PROTECTED
 // 


Standard_EXPORT   void UpdateDisplay() ;


 // Fields PROTECTED
 //


private: 

 // Methods PRIVATE
 // 


Standard_EXPORT   void DefineLines() ;


Standard_EXPORT   void DefinePoints() ;


 // Fields PRIVATE
 //
Handle_Graphic3d_Structure myStructure;
Handle_Graphic3d_Group myGroup1;
Handle_Graphic3d_Group myGroup2;
gp_Ax3 myCurViewPlane;
V3d_ViewerPointer myViewer;
Standard_Boolean myCurAreDefined;
Aspect_GridDrawMode myCurDrawMode;
Standard_Real myCurXo;
Standard_Real myCurYo;
Standard_Real myCurAngle;
Standard_Real myCurXStep;
Standard_Real myCurYStep;
Standard_Real myXSize;
Standard_Real myYSize;
Standard_Real myOffSet;


};





// other Inline functions and methods (like "C++: function call" methods)
//


#endif
