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

#include <AxesNode.hpp>

Static Public Member Functions

::osg::Node * create (float scale=1.0, bool blabels=false)
 
static void setPosition (::osg::Node *axes, const ::osg::Vec3 &position)
 
static void displayLabels (::osg::Node *axes, bool blabels)
 
static bool hasLabels (::osg::Node *axes)
 
static osg::Switch * getLabelSwitch (::osg::Node *axes)
 

Member Function Documentation

osg::Node * vizkit3d::AxesNode::create ( float  scale = 1.0,
bool  blabels = false 
)
static

Creates a new sub scene graph for coordinate axes

Returns
The root node of the created sub graph
void vizkit3d::AxesNode::displayLabels ( ::osg::Node *  axes,
bool  blabels 
)
static

Displays the labels for the axes

osg::Switch * vizkit3d::AxesNode::getLabelSwitch ( ::osg::Node *  axes)
static

Returns the switch for the axes labels

bool vizkit3d::AxesNode::hasLabels ( ::osg::Node *  axes)
static

Returns true if the labels are turened on

void vizkit3d::AxesNode::setPosition ( ::osg::Node *  axes,
const ::osg::Vec3 &  position 
)
static

Sets the position of the center of the axes


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