AnimatLab  2
Test
OsgTrackballDragger.h
1 #pragma once
2 
3 namespace OsgAnimatSim
4 {
5  namespace Visualization
6  {
7 
8  class OsgTrackballDragger : public osgManipulator::CompositeDragger
9  {
10  protected:
11  osg::ref_ptr<osgManipulator::RotateCylinderDragger> _xDragger;
12  osg::ref_ptr<osgManipulator::RotateCylinderDragger> _yDragger;
13  osg::ref_ptr<osgManipulator::RotateCylinderDragger> _zDragger;
14 
15  virtual ~OsgTrackballDragger(void);
16 
17  public:
18  OsgTrackballDragger(bool bAllowRotateX, bool bAllowRotateY, bool bAllowRotateZ);
19 
21  void setupDefaultGeometry();
22  };
23 
24  }// end Visualization
25 }// end OsgAnimatSim
26 
Classes for implementing the cm-labs vortex physics engine for AnimatLab.