19 #ifndef GAZEBO_RENDERING_GRID_HH_
20 #define GAZEBO_RENDERING_GRID_HH_
56 class GZ_RENDERING_VISIBLE
Grid
65 public:
Grid(
Scene *_scene,
const uint32_t _cellCount,
66 const float _cellLength,
const float _lineWidth,
79 public:
void Enable(
const bool _enable);
92 public:
void SetUserData(
const Ogre::Any &_data);
109 public:
void SetCellCount(
const uint32_t _count);
118 public: uint32_t CellCount()
const;
122 public:
void SetCellLength(
const float _len);
131 public:
float CellLength()
const;
135 public:
void SetLineWidth(
const float _width);
144 public:
float LineWidth()
const;
148 public:
void SetHeight(
const uint32_t _count);
157 public: uint32_t Height()
const;
161 public:
void SetHeightOffset(
const double _offset);
165 public:
double HeightOffset()
const;
168 private:
void Create();
172 private: std::unique_ptr<GridPrivate> dataPtr;
Displays a grid of cells, drawn with lines.
Definition: Grid.hh:56
Representation of an entire scene graph.
Definition: Scene.hh:100
Defines a color.
Definition: Color.hh:36
#define GAZEBO_DEPRECATED(version)
Definition: system.hh:302
std::shared_ptr< Visual > VisualPtr
Definition: RenderTypes.hh:113
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.