vizkit3d
Static Public Member Functions | List of all members
vizkit3d::GridNode Class Reference

#include <GridNode.hpp>

Static Public Member Functions

::osg::Node * create (int rows, int cols, float dx, float dy, bool show_coordinates=false, const ::osg::Vec4 &color=::osg::Vec4())
 

Member Function Documentation

◆ create()

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
rowsThe number of rows
colsThe number of cols
dxThe size of a cell in x direction
dxThe size of a cell in y direction
colorThe color of the grid
Returns
The root node of the created sub graph

The documentation for this class was generated from the following files: