Public Member Functions | Protected Attributes

mitk::SpaceNavigatorEvent Class Reference
[Interaction Classes]

Event on 3D Mouse input. More...

#include <mitkSpaceNavigatorEvent.h>

Inheritance diagram for mitk::SpaceNavigatorEvent:
Inheritance graph
[legend]
Collaboration diagram for mitk::SpaceNavigatorEvent:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

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.


Constructor & Destructor Documentation

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.

Parameters:
buttonStateinformation 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)
{
}

Member Function Documentation

const ScalarType& mitk::SpaceNavigatorEvent::GetAngle (  ) const [inline]
const Vector3D& mitk::SpaceNavigatorEvent::GetRotation (  ) const [inline]
const Vector3D& mitk::SpaceNavigatorEvent::GetTranslation (  ) const [inline]
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; 
    }

Member Data Documentation

ScalarType mitk::SpaceNavigatorEvent::m_Angle [protected]

Definition at line 90 of file mitkSpaceNavigatorEvent.h.

Definition at line 89 of file mitkSpaceNavigatorEvent.h.

Definition at line 88 of file mitkSpaceNavigatorEvent.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines