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);
105 void setUserData(
const Ogre::Any& data);
107 void setStyle(
Style style);
113 void setColor(
const Ogre::ColourValue& color);
119 void setCellCount(uint32_t count);
125 void setCellLength(
float len);
131 void setLineWidth(
float width);
137 void setHeight(uint32_t count);
Ogre::SceneNode * getSceneNode()
Get the Ogre scene node associated with this grid.
Ogre::ColourValue getColor()
An object that displays a multi-segment line strip rendered as billboards.
Ogre::MaterialPtr material_
BillboardLine * billboard_line_
Ogre::SceneNode * scene_node_
The scene node that this grid is attached to.
Displays a grid of cells, drawn with lines.
Ogre::ManualObject * manual_object_
The manual object used to draw the grid.
Ogre::SceneManager * scene_manager_