gz/rendering/base/BaseGrid.hh
virtual void SetCellCount(const unsigned int _count)
Set the number of cells on a planar grid.
Definition: gz/rendering/base/BaseGrid.hh:105
double heightOffset
vertical offset of the XY plane from origin
Definition: gz/rendering/base/BaseGrid.hh:76
virtual void Destroy()
Destroy any resources associated with this object. Invoking any other functions after destroying an o...
Definition: gz/rendering/base/BaseGrid.hh:150
BaseGrid()
Constructor.
Definition: gz/rendering/base/BaseGrid.hh:86
virtual void SetVerticalCellCount(const unsigned int _count)
Set the vertical cell count of the grid. This makes the grid 3D.
Definition: gz/rendering/base/BaseGrid.hh:135
bool gridDirty
Flag to indicate grid properties have changed.
Definition: gz/rendering/base/BaseGrid.hh:79
unsigned int cellCount
Number of cells in grid.
Definition: gz/rendering/base/BaseGrid.hh:67
double cellLength
Length of a single cell.
Definition: gz/rendering/base/BaseGrid.hh:70
virtual unsigned int CellCount() const
Get the number of cells on a planar grid.
Definition: gz/rendering/base/BaseGrid.hh:98
virtual ~BaseGrid()
Destructor.
Definition: gz/rendering/base/BaseGrid.hh:92
virtual unsigned int VerticalCellCount() const
Get the vertical cell count.
Definition: gz/rendering/base/BaseGrid.hh:128
unsigned int verticalCellCount
Number of cells in vertical direction.
Definition: gz/rendering/base/BaseGrid.hh:73
virtual void PreRender()
Prepare this object and any of its children for rendering. This should be called for each object in a...
Definition: gz/rendering/base/BaseGrid.hh:143
Represents a grid geometry drawn along the XY plane. If vertical cell count is specified then the gri...
Definition: gz/rendering/Grid.hh:34
virtual void SetCellLength(const double _len)
Set the cell length in one direction. The cells are assumed to be square.
Definition: gz/rendering/base/BaseGrid.hh:120
virtual double CellLength() const
Get the cell length.
Definition: gz/rendering/base/BaseGrid.hh:113
Base implementation of a grid geometry.
Definition: gz/rendering/base/BaseGrid.hh:32