AnimatLab  2
Test
VsTrackballDragger.h
1 #pragma once
2 
3 namespace VortexAnimatSim
4 {
5  namespace Visualization
6  {
7 
8  class VsTrackballDragger : 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 ~VsTrackballDragger(void);
16 
17  public:
18  VsTrackballDragger(bool bAllowRotateX, bool bAllowRotateY, bool bAllowRotateZ);
19 
21  void setupDefaultGeometry();
22  };
23 
24  }// end Visualization
25 }// end VortexAnimatSim
26 
Classes for implementing the cm-labs vortex physics engine for AnimatLab.