#include <mitkWiiMoteCalibrationEvent.h>


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 |
Definition at line 12 of file mitkWiiMoteCalibrationEvent.h.
Definition at line 17 of file mitkWiiMoteCalibrationEvent.h.
| typedef itk::EventObject mitk::WiiMoteCalibrationEvent::Superclass |
Definition at line 18 of file mitkWiiMoteCalibrationEvent.h.
| 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.
| rawX | x coordinate of the IR sensor input |
| rawY | y 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.
{
}
| 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);
}
1.7.2