vizkit3d
AxesNode.hpp
Go to the documentation of this file.
1 #ifndef __VIZKIT_AXESNODE_HPP__
2 #define __VIZKIT_AXESNODE_HPP__
3 
4 #include <osg/Geode>
5 #include <osg/Geometry>
6 #include <osg/Referenced>
7 #include <QVector3D>
8 #include <QColor>
9 #include <QGenericMatrix>
10 #include <string>
11 
12 namespace vizkit3d
13 {
14  class AxesNode
15  {
16  public:
22  static ::osg::Node* create(float scale=1.0,bool blabels=false);
23 
27  static void setPosition(::osg::Node* axes,const ::osg::Vec3 &position);
28 
32  static void displayLabels(::osg::Node* axes,bool blabels);
33 
37  static bool hasLabels(::osg::Node* axes);
38 
42  static osg::Switch* getLabelSwitch(::osg::Node* axes);
43  };
44 }
45 
46 #endif
static void setPosition(::osg::Node *axes, const ::osg::Vec3 &position)
Definition: AxesNode.cpp:103
Definition: AxesNode.hpp:14
::osg::Node * create(float scale=1.0, bool blabels=false)
Definition: AxesNode.cpp:14
static void displayLabels(::osg::Node *axes, bool blabels)
Definition: AxesNode.cpp:145
static osg::Switch * getLabelSwitch(::osg::Node *axes)
Definition: AxesNode.cpp:113
Definition: AxesNode.cpp:12
static bool hasLabels(::osg::Node *axes)
Definition: AxesNode.cpp:133