Event on 3D Mouse input. More...
#include <mitkSpaceNavigatorEvent.h>
Public Member Functions | |
SpaceNavigatorEvent (int buttonState, const Vector3D &translation, const Vector3D &rotation, const ScalarType &angle) | |
Constructor with all necessary arguments (for further information about the parameter: mitk::SpaceNavigatorAddOn . | |
const Vector3D & | GetTranslation () const |
void | SetTranslation (const Vector3D &translation) |
const Vector3D & | GetRotation () const |
void | SetRotation (const Vector3D &rotation) |
const ScalarType & | GetAngle () const |
void | SetAngle (const ScalarType &angle) |
Protected Attributes | |
Vector3D | m_Translation |
Vector3D | m_Rotation |
ScalarType | m_Angle |
Event on 3D Mouse input.
Documentation Seven coordinates exposed by the 3D Mouse: 3-dimensional translation vector 3-dimensional rotation achsis (length allways 1.0) scalar rotation angle
Definition at line 41 of file mitkSpaceNavigatorEvent.h.
mitk::SpaceNavigatorEvent::SpaceNavigatorEvent | ( | int | buttonState, |
const Vector3D & | translation, | ||
const Vector3D & | rotation, | ||
const ScalarType & | angle | ||
) |
Constructor with all necessary arguments (for further information about the parameter:
mitk::SpaceNavigatorAddOn
.
buttonState | information from the Event |
Definition at line 23 of file mitkSpaceNavigatorEvent.cpp.
: Event(NULL, mitk::Type_SpaceNavigatorInput, BS_NoButton, buttonState, Key_none), m_Translation(translation), m_Rotation(rotation), m_Angle(angle) { }
const ScalarType& mitk::SpaceNavigatorEvent::GetAngle | ( | ) | const [inline] |
Definition at line 75 of file mitkSpaceNavigatorEvent.h.
Referenced by mitk::SpaceNavigatorVtkCameraController::OnSpaceNavigatorEvent().
{ return m_Angle; }
const Vector3D& mitk::SpaceNavigatorEvent::GetRotation | ( | ) | const [inline] |
Definition at line 65 of file mitkSpaceNavigatorEvent.h.
Referenced by mitk::SpaceNavigatorVtkCameraController::OnSpaceNavigatorEvent().
{ return m_Rotation; }
const Vector3D& mitk::SpaceNavigatorEvent::GetTranslation | ( | ) | const [inline] |
Definition at line 55 of file mitkSpaceNavigatorEvent.h.
Referenced by mitk::SpaceNavigatorVtkCameraController::OnSpaceNavigatorEvent().
{ return m_Translation; }
void mitk::SpaceNavigatorEvent::SetAngle | ( | const ScalarType & | angle ) | [inline] |
Definition at line 80 of file mitkSpaceNavigatorEvent.h.
{ m_Angle = angle; }
void mitk::SpaceNavigatorEvent::SetRotation | ( | const Vector3D & | rotation ) | [inline] |
Definition at line 70 of file mitkSpaceNavigatorEvent.h.
{ m_Rotation = rotation; }
void mitk::SpaceNavigatorEvent::SetTranslation | ( | const Vector3D & | translation ) | [inline] |
Definition at line 60 of file mitkSpaceNavigatorEvent.h.
{ m_Translation = translation; }
ScalarType mitk::SpaceNavigatorEvent::m_Angle [protected] |
Definition at line 90 of file mitkSpaceNavigatorEvent.h.
Vector3D mitk::SpaceNavigatorEvent::m_Rotation [protected] |
Definition at line 89 of file mitkSpaceNavigatorEvent.h.
Vector3D mitk::SpaceNavigatorEvent::m_Translation [protected] |
Definition at line 88 of file mitkSpaceNavigatorEvent.h.