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

#include <TextureBox.hpp>

Static Public Member Functions

::osg::Node * create (float px, float py, float pz, float sx, float sy, std::string filename="scene.png")
 

Member Function Documentation

osg::Node * vizkit3d::TextureBox::create ( float  px,
float  py,
float  pz,
float  sx,
float  sy,
std::string  filename = "scene.png" 
)
static

Creates a new sub scene graph for a textured box.

Parameters
pxthe origin of the box (x)
pythe origin of the box (y)
pzthe origin of the box (z)
sxThe size of the box in x direction
syThe size of the box in y direction
filenameThe filename of the texture to be loaded
Returns
The root node of the created sub graph

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