Go to the documentation of this file.
17 #ifndef IGNITION_RENDERING_GRID_HH_
18 #define IGNITION_RENDERING_GRID_HH_
21 #include "ignition/rendering/config.hh"
29 inline namespace IGNITION_RENDERING_VERSION_NAMESPACE {
34 class IGNITION_RENDERING_VISIBLE
Grid :
42 public:
virtual void SetCellCount(
const unsigned int _count) = 0;
46 public:
virtual unsigned int CellCount()
const = 0;
51 public:
virtual void SetCellLength(
const double _len) = 0;
55 public:
virtual double CellLength()
const = 0;
59 public:
virtual void SetVerticalCellCount(
const unsigned int _count) = 0;
63 public:
virtual unsigned int VerticalCellCount()
const = 0;
virtual void SetCellLength(const double _len)=0
Set the cell length in one direction. The cells are assumed to be square.
virtual unsigned int CellCount() const =0
Get the number of cells on a planar grid.
virtual unsigned int VerticalCellCount() const =0
Get the vertical cell count.
Represents a grid geometry drawn along the XY plane. If vertical cell count is specified then the gri...
Definition: Grid.hh:34
virtual double CellLength() const =0
Get the cell length.
virtual void SetVerticalCellCount(const unsigned int _count)=0
Set the vertical cell count of the grid. This makes the grid 3D.
virtual void SetCellCount(const unsigned int _count)=0
Set the number of cells on a planar grid.
virtual ~Grid()
Destructor.
Definition: Grid.hh:38
Represents a geometric shape to be rendered.
Definition: Geometry.hh:34