Open CASCADE Technology
6.5.4
|
#include <V3d_RectangularGrid.hxx>
Public Member Functions | |
V3d_RectangularGrid (const V3d_ViewerPointer &aViewer, const Quantity_Color &aColor, const Quantity_Color &aTenthColor) | |
void | SetColors (const Quantity_Color &aColor, const Quantity_Color &aTenthColor) |
Change the colors of the grid | |
void | Display () |
Display the grid at screen. | |
void | Erase () const |
Erase the grid from screen. | |
Standard_Boolean | IsDisplayed () const |
Returns TRUE when the grid is displayed at screen. | |
void | GraphicValues (Standard_Real &XSize, Standard_Real &YSize, Standard_Real &OffSet) const |
void | SetGraphicValues (const Standard_Real XSize, const Standard_Real YSize, const Standard_Real OffSet) |
Protected Member Functions | |
void | UpdateDisplay () |
Updates the grid parameters. |
V3d_RectangularGrid::V3d_RectangularGrid | ( | const V3d_ViewerPointer & | aViewer, |
const Quantity_Color & | aColor, | ||
const Quantity_Color & | aTenthColor | ||
) |
void V3d_RectangularGrid::Display | ( | ) | [virtual] |
Reimplemented from Aspect_Grid.
void V3d_RectangularGrid::Erase | ( | ) | const [virtual] |
Reimplemented from Aspect_Grid.
void V3d_RectangularGrid::GraphicValues | ( | Standard_Real & | XSize, |
Standard_Real & | YSize, | ||
Standard_Real & | OffSet | ||
) | const |
Standard_Boolean V3d_RectangularGrid::IsDisplayed | ( | ) | const [virtual] |
Reimplemented from Aspect_Grid.
void V3d_RectangularGrid::SetColors | ( | const Quantity_Color & | aColor, |
const Quantity_Color & | aTenthColor | ||
) | [virtual] |
Reimplemented from Aspect_Grid.
void V3d_RectangularGrid::SetGraphicValues | ( | const Standard_Real | XSize, |
const Standard_Real | YSize, | ||
const Standard_Real | OffSet | ||
) |
void V3d_RectangularGrid::UpdateDisplay | ( | ) | [protected, virtual] |
Reimplemented from Aspect_Grid.