TrackballManipulator 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2010 Robert Osfield
  2. *
  3. * This library is open source and may be redistributed and/or modified under
  4. * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
  5. * (at your option) any later version. The full license is in LICENSE file
  6. * included with this distribution, and on the openscenegraph.org website.
  7. *
  8. * This library is distributed in the hope that it will be useful,
  9. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. * OpenSceneGraph Public License for more details.
  12. */
  13. #ifndef OSGGA_TRACKBALL_MANIPULATOR
  14. #define OSGGA_TRACKBALL_MANIPULATOR 1
  15. #include <osgGA/OrbitManipulator>
  16. namespace osgGA {
  17. class OSGGA_EXPORT TrackballManipulator : public OrbitManipulator
  18. {
  19. typedef OrbitManipulator inherited;
  20. public:
  21. TrackballManipulator( int flags = DEFAULT_SETTINGS );
  22. TrackballManipulator( const TrackballManipulator& tm,
  23. const osg::CopyOp& copyOp = osg::CopyOp::SHALLOW_COPY );
  24. META_Object( osgGA, TrackballManipulator );
  25. };
  26. }
  27. #endif /* OSGGA_TRACKBALL_MANIPULATOR */