33 #ifndef DART_GUI_OSG_TRACKBALLMANIPULATOR_HPP_
34 #define DART_GUI_OSG_TRACKBALLMANIPULATOR_HPP_
36 #include <osgGA/OrbitManipulator>
42 #define DART_META_Object(library,name) \
43 ::osg::Object* cloneType() const override { return new name (); } \
44 ::osg::Object* clone(const ::osg::CopyOp& copyop) const override { return new name (*this,copyop); } \
45 bool isSameKindAs(const ::osg::Object* obj) const override { return dynamic_cast<const name *>(obj)!=NULL; } \
46 const char* libraryName() const override { return #library; }\
47 const char* className() const override { return #name; }
60 const ::osg::CopyOp& copyOp = ::osg::CopyOp::SHALLOW_COPY);
66 bool performMovementLeftMouseButton(
const double eventTimeDelta,
68 const double dy)
override;
71 bool performMovementRightMouseButton(
const double eventTimeDelta,
73 const double dy)
override;
#define DART_META_Object(library, name)
Definition: TrackballManipulator.hpp:42
Definition: TrackballManipulator.hpp:53
Definition: BulletCollisionDetector.cpp:63