You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
922 B
C++
36 lines
922 B
C++
#ifndef OPENCS_VIEW_NAVIGATIONFREE_H
|
|
#define OPENCS_VIEW_NAVIGATIONFREE_H
|
|
|
|
#include "navigation.hpp"
|
|
|
|
namespace CSVRender
|
|
{
|
|
/// \brief Free camera controls
|
|
class NavigationFree : public Navigation
|
|
{
|
|
Ogre::Camera *mCamera;
|
|
|
|
public:
|
|
|
|
NavigationFree();
|
|
|
|
virtual bool activate (Ogre::Camera *camera);
|
|
///< \return Update required?
|
|
|
|
virtual bool wheelMoved (int delta);
|
|
///< \return Update required?
|
|
|
|
virtual bool mouseMoved (const QPoint& delta, int mode);
|
|
///< \param mode: 0: default mouse key, 1: default mouse key and modifier key 1
|
|
/// \return Update required?
|
|
|
|
virtual bool handleMovementKeys (int vertical, int horizontal);
|
|
///< \return Update required?
|
|
|
|
virtual bool handleRollKeys (int delta);
|
|
///< \return Update required?
|
|
};
|
|
}
|
|
|
|
#endif
|