24#ifndef _SO_CONTROLLER_BUTTON_EVENT_
25#define _SO_CONTROLLER_BUTTON_EVENT_
32#define SO_CONTROLLER_PRESS_EVENT(EVENT,BUTTON) \
33 (SoControllerButtonEvent::isButtonPressEvent(EVENT,SoControllerButtonEvent::BUTTON))
35#define SO_CONTROLLER_RELEASE_EVENT(EVENT,BUTTON) \
36 (SoControllerButtonEvent::isButtonReleaseEvent(EVENT,SoControllerButtonEvent::BUTTON))
109#ifndef HIDDEN_FROM_DOC
164 {
return m_trackerInfo.
getRay(); }
177 {
return &m_trackerInfo; }
183 {
return m_trackerInfo; }
202 static void initClass();
203 static void exitClass();
#define SO_EVENT_HEADER()
Class for representing a rotation.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Class for repres...
void setOrientation(float q0, float q1, float q2, float q3)
Set orientation value from 4 floats defining the rotation quaternion.
const SbVec3f & getPosition3() const
Get position of tracker in world coordinates.
void setPosition3(const SbVec3f &p)
Set position of tracker in world coordinates.
const SbLine getRay() const
Convenience function to get ray for picking/intersecting.
const SbRotation & getOrientation() const
Get orientation of tracker as a standard Open Inventor rotation (quaternion).
Base class for all events.
virtual const SbTrackerInfo * getTrackerInfo() const
Gets whether an event object has associated tracker information.