19 #ifndef GAZEBO_RENDERING_GRID_HH_ 20 #define GAZEBO_RENDERING_GRID_HH_ 26 #include <ignition/math/Color.hh> 53 class GZ_RENDERING_VISIBLE
Grid 61 public:
Grid(
Scene *_scene,
const uint32_t _cellCount,
62 const float _cellLength,
const ignition::math::Color &_color);
74 public:
void Enable(
const bool _enable);
82 public:
void SetUserData(
const Ogre::Any &_data);
86 public:
void SetColor(
const ignition::math::Color &_color);
90 public: ignition::math::Color Color()
const;
94 public:
void SetCellCount(
const uint32_t _count);
98 public: uint32_t CellCount()
const;
102 public:
void SetCellLength(
const float _len);
106 public:
float CellLength()
const;
110 public:
void SetHeight(
const uint32_t _count);
114 public: uint32_t Height()
const;
118 public:
void SetHeightOffset(
const double _offset);
122 public:
double HeightOffset()
const;
125 private:
void Create();
129 private: std::unique_ptr<GridPrivate> dataPtr;
Forward declarations for the common classes.
Definition: Animation.hh:26
Displays a grid of cells, drawn with lines.
Definition: Grid.hh:53
Representation of an entire scene graph.
Definition: Scene.hh:100
Definition: JointMaker.hh:39
std::shared_ptr< Visual > VisualPtr
Definition: RenderTypes.hh:114
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.