openscenegraph
TrackballManipulator
Go to the documentation of this file.
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
14#ifndef OSGGA_TRACKBALL_MANIPULATOR
15#define OSGGA_TRACKBALL_MANIPULATOR 1
16
17#include <osgGA/OrbitManipulator>
18
19
20namespace osgGA {
21
22
23class OSGGA_EXPORT TrackballManipulator : public OrbitManipulator
24{
25 typedef OrbitManipulator inherited;
26
27 public:
28
29 TrackballManipulator( int flags = DEFAULT_SETTINGS );
30 TrackballManipulator( const TrackballManipulator& tm,
31 const osg::CopyOp& copyOp = osg::CopyOp::SHALLOW_COPY );
32
33 META_Object( osgGA, TrackballManipulator );
34
35};
36
37
38}
39
40#endif /* OSGGA_TRACKBALL_MANIPULATOR */