Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Repere.hpp
00001 /* $Id$ */
00002 
00003 #ifndef _JAFAR_VIEWER3D_REPERE_HPP_
00004 #define _JAFAR_VIEWER3D_REPERE_HPP_
00005 
00006 #include <osg/ref_ptr>
00007 #include <osg/Vec3>
00008 
00009 namespace osg {
00010   class Geode;
00011   class Geometry;
00012   class StateSet;
00013 }
00014 
00015 namespace jafar {
00016   namespace viewer3d {
00029     class Repere {
00030       public:
00031         Repere( double size = 1.0 );
00032         ~Repere();
00033       private:
00034         void init( const osg::Vec3& v1, const osg::Vec3& v2, const osg::Vec3& v3 );
00035       public:
00036         osg::Geode* node();
00037       private:
00038         osg::ref_ptr<osg::Geode> m_geode;
00039         osg::ref_ptr<osg::Geometry> m_geometry;
00040         osg::ref_ptr<osg::StateSet> m_set;
00041     };
00042   }
00043 }
00044 
00045 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Wed Oct 15 2014 00:37:19 for Jafar by doxygen 1.7.6.1
LAAS-CNRS