Public Types | Public Member Functions

mitk::WiiMoteCalibrationEvent Class Reference

#include <mitkWiiMoteCalibrationEvent.h>

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

List of all members.

Public Types

typedef WiiMoteCalibrationEvent Self
typedef itk::EventObject Superclass

Public Member Functions

 WiiMoteCalibrationEvent (double rawX, double rawY)
 ~WiiMoteCalibrationEvent ()
double GetXCoordinate () const
double GetYCoordinate () const
const char * GetEventName () const
bool CheckEvent (const ::itk::EventObject *e) const
::itk::EventObject * MakeObject () const

Detailed Description

Definition at line 12 of file mitkWiiMoteCalibrationEvent.h.


Member Typedef Documentation

Definition at line 17 of file mitkWiiMoteCalibrationEvent.h.

Definition at line 18 of file mitkWiiMoteCalibrationEvent.h.


Constructor & Destructor Documentation

mitk::WiiMoteCalibrationEvent::WiiMoteCalibrationEvent ( double  rawX,
double  rawY 
)

Initializes a Wiimote Event, that stores additional information.
Such as a the raw x and y coordinates of the IR input.

Parameters:
rawXx coordinate of the IR sensor input
rawYy coordinate of the IR sensor input

Definition at line 3 of file mitkWiiMoteCalibrationEvent.cpp.

: Event(NULL, mitk::Type_WiiMoteInput, mitk::BS_NoButton, mitk::BS_NoButton, Key_none)
{
  m_RawX = rawX;
  m_RawY = rawY;
}
mitk::WiiMoteCalibrationEvent::~WiiMoteCalibrationEvent (  )

Definition at line 10 of file mitkWiiMoteCalibrationEvent.cpp.

{
}

Member Function Documentation

bool mitk::WiiMoteCalibrationEvent::CheckEvent ( const ::itk::EventObject *  e ) const
const char * mitk::WiiMoteCalibrationEvent::GetEventName (  ) const

Definition at line 24 of file mitkWiiMoteCalibrationEvent.cpp.

{ 
  return "WiiMoteCalibrationEvent"; 
} 
double mitk::WiiMoteCalibrationEvent::GetXCoordinate (  ) const

Definition at line 14 of file mitkWiiMoteCalibrationEvent.cpp.

{
  return m_RawX;
}
double mitk::WiiMoteCalibrationEvent::GetYCoordinate (  ) const

Definition at line 19 of file mitkWiiMoteCalibrationEvent.cpp.

{
  return m_RawY;
}
itk::EventObject * mitk::WiiMoteCalibrationEvent::MakeObject (  ) const

Definition at line 34 of file mitkWiiMoteCalibrationEvent.cpp.

Referenced by mitk::WiiMoteThread::WiiMoteCalibrationInput().

{ 
    return new Self(m_RawX, m_RawY); 
}

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