rviz::Grid Class Reference
Displays a grid of cells, drawn with lines.
More...
#include <grid.h>
List of all members.
Detailed Description
Displays a grid of cells, drawn with lines.
Displays a grid of cells, drawn with lines. A grid with an identity orientation is drawn along the XZ plane.
Definition at line 61 of file grid.h.
Member Enumeration Documentation
- Enumerator:
-
Definition at line 64 of file grid.h.
Constructor & Destructor Documentation
rviz::Grid::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.
- Parameters:
-
| manager | The scene manager this object is part of |
| cell_count | The number of cells to draw |
| cell_length | The size of each cell |
| r | Red color component, in the range [0, 1] |
| g | Green color component, in the range [0, 1] |
| b | Blue color component, in the range [0, 1] |
Definition at line 45 of file grid.cpp.
Member Function Documentation
void rviz::Grid::create |
( |
|
) |
|
float rviz::Grid::getCellCount |
( |
|
) |
[inline] |
float rviz::Grid::getCellLength |
( |
|
) |
[inline] |
Ogre::ColourValue rviz::Grid::getColor |
( |
|
) |
[inline] |
uint32_t rviz::Grid::getHeight |
( |
|
) |
[inline] |
float rviz::Grid::getLineWidth |
( |
|
) |
[inline] |
Ogre::SceneNode* rviz::Grid::getSceneNode |
( |
|
) |
[inline] |
Get the Ogre scene node associated with this grid.
- Returns:
- The Ogre scene node associated with this grid
Definition at line 90 of file grid.h.
Style rviz::Grid::getStyle |
( |
|
) |
[inline] |
void rviz::Grid::setCellCount |
( |
uint32_t |
count |
) |
|
void rviz::Grid::setCellLength |
( |
float |
len |
) |
|
void rviz::Grid::setColor |
( |
const Ogre::ColourValue & |
color |
) |
|
void rviz::Grid::setHeight |
( |
uint32_t |
count |
) |
|
void rviz::Grid::setLineWidth |
( |
float |
width |
) |
|
void rviz::Grid::setStyle |
( |
Style |
style |
) |
|
void rviz::Grid::setUserData |
( |
const Ogre::Any & |
data |
) |
|
Sets user data on all ogre objects we own.
Definition at line 240 of file grid.cpp.
Member Data Documentation
The manual object used to draw the grid.
Definition at line 118 of file grid.h.
The scene node that this grid is attached to.
Definition at line 117 of file grid.h.
The documentation for this class was generated from the following files:
- /u/hersh/groovy_stacks/visualization/rviz/src/rviz/ogre_helpers/grid.h
- /u/hersh/groovy_stacks/visualization/rviz/src/rviz/ogre_helpers/grid.cpp