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