#include <GridNode.hpp>
|
| ::osg::Node * | create (int rows, int cols, float dx, float dy, bool show_coordinates=false, const ::osg::Vec4 &color=::osg::Vec4()) |
| |
| osg::Node * vizkit3d::GridNode::create |
( |
int |
rows, |
|
|
int |
cols, |
|
|
float |
dx, |
|
|
float |
dy, |
|
|
bool |
show_coordinates = false, |
|
|
const ::osg::Vec4 & |
color = ::osg::Vec4() |
|
) |
| |
|
static |
Creates a new sub scene graph for a grid which has the its center at 0/0
- Parameters
-
| rows | The number of rows |
| cols | The number of cols |
| dx | The size of a cell in x direction |
| dx | The size of a cell in y direction |
| color | The color of the grid |
- Returns
- The root node of the created sub graph
The documentation for this class was generated from the following files:
- /build/rock-master-18.09-gui-vizkit3d-0.20180817/src/GridNode.hpp
- /build/rock-master-18.09-gui-vizkit3d-0.20180817/src/GridNode.cpp