19 #ifndef GAZEBO_RENDERING_GRID_HH_
20 #define GAZEBO_RENDERING_GRID_HH_
26 #include <ignition/math/Color.hh>
58 class GZ_RENDERING_VISIBLE
Grid
68 public:
Grid(
Scene *_scene,
const uint32_t _cellCount,
69 const float _cellLength,
const float _lineWidth,
78 public:
Grid(
Scene *_scene,
const uint32_t _cellCount,
79 const float _cellLength,
const ignition::math::Color &_color);
91 public:
void Enable(
const bool _enable);
99 public:
void SetUserData(
const Ogre::Any &_data);
108 public:
void SetColor(
const ignition::math::Color &_color);
112 public: ignition::math::Color Color()
const;
116 public:
void SetCellCount(
const uint32_t _count);
120 public: uint32_t CellCount()
const;
124 public:
void SetCellLength(
const float _len);
128 public:
float CellLength()
const;
142 public:
void SetHeight(
const uint32_t _count);
146 public: uint32_t Height()
const;
150 public:
void SetHeightOffset(
const double _offset);
154 public:
double HeightOffset()
const;
157 private:
void Create();
161 private: std::unique_ptr<GridPrivate> dataPtr;
Displays a grid of cells, drawn with lines.
Definition: Grid.hh:58
Representation of an entire scene graph.
Definition: Scene.hh:101
Defines a color.
Definition: Color.hh:36
#define GAZEBO_DEPRECATED(version)
Definition: system.hh:328
std::shared_ptr< Visual > VisualPtr
Definition: RenderTypes.hh:114
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.