Go to the documentation of this file.
30 #ifndef OGRE_TOOLS_GRID_H
31 #define OGRE_TOOLS_GRID_H
37 #include <OgreColourValue.h>
38 #include <OgreMaterial.h>
39 #include <OgreSharedPtr.h>
81 Grid(Ogre::SceneManager* manager,
82 Ogre::SceneNode* parent_node,
87 const Ogre::ColourValue& color);
113 void setColor(
const Ogre::ColourValue& color);
An object that displays a multi-segment line strip rendered as billboards.
void setLineWidth(float width)
Grid(Ogre::SceneManager *manager, Ogre::SceneNode *parent_node, Style style, uint32_t cell_count, float cell_length, float line_width, const Ogre::ColourValue &color)
Constructor.
void setUserData(const Ogre::Any &data)
Sets user data on all ogre objects we own.
Ogre::SceneManager * scene_manager_
Ogre::SceneNode * scene_node_
The scene node that this grid is attached to.
void setColor(const Ogre::ColourValue &color)
void setHeight(uint32_t count)
Ogre::SceneNode * getSceneNode()
Get the Ogre scene node associated with this grid.
void setCellCount(uint32_t count)
Ogre::ColourValue getColor()
Displays a grid of cells, drawn with lines.
Ogre::ManualObject * manual_object_
The manual object used to draw the grid.
void setStyle(Style style)
Ogre::MaterialPtr material_
void setCellLength(float len)
BillboardLine * billboard_line_
rviz
Author(s): Dave Hershberger, David Gossow, Josh Faust, William Woodall
autogenerated on Fri Dec 13 2024 03:31:02