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 \
47 ::osg::Object* clone(const ::osg::CopyOp& copyop) const override \
49 return new name(*this, copyop); \
51 bool isSameKindAs(const ::osg::Object* obj) const override \
53 return dynamic_cast<const name*>(obj) != NULL; \
55 const char* libraryName() const override \
59 const char* className() const override \
76 const ::osg::CopyOp& copyOp = ::osg::CopyOp::SHALLOW_COPY);
83 const double eventTimeDelta,
const double dx,
const double dy)
override;
87 const double eventTimeDelta,
const double dx,
const double dy)
override;
#define DART_META_Object(library, name)
Definition TrackballManipulator.hpp:42
Definition TrackballManipulator.hpp:68
virtual ~TrackballManipulator()
Destructor.
Definition TrackballManipulator.cpp:62
bool performMovementRightMouseButton(const double eventTimeDelta, const double dx, const double dy) override
Overriding behavior of right mouse button.
Definition TrackballManipulator.cpp:76
bool performMovementLeftMouseButton(const double eventTimeDelta, const double dx, const double dy) override
Overriding behavior of left mouse button.
Definition TrackballManipulator.cpp:68
Definition BulletCollisionDetector.cpp:60