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, Ogre::SceneNode* parent_node,
Style style, uint32_t cell_count,
float cell_length,
float line_width,
const Ogre::ColourValue& color );
96 void setUserData(
const Ogre::Any& data );
98 void setStyle(
Style style);
101 void setColor(
const Ogre::ColourValue& color);
104 void setCellCount(uint32_t count);
107 void setCellLength(
float len);
110 void setLineWidth(
float width);
113 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_