![]() |
http://www.sim.no http://www.coin3d.org |
#include <Inventor/events/SoMotion3Event.h>
Inheritance diagram for SoMotion3Event:
Motion3 events are generated by devices capable of "3D motion", for instance spaceballs. Instances of this class contains information about these devices' translations and rotations in all 3 dimensions.
Public Member Functions | |
virtual SoType | getTypeId (void) const |
SoMotion3Event (void) | |
virtual | ~SoMotion3Event () |
void | setTranslation (const SbVec3f &t) |
const SbVec3f & | getTranslation (void) const |
void | setRotation (const SbRotation &r) |
const SbRotation & | getRotation (void) const |
Static Public Member Functions | |
static SoType | getClassTypeId (void) |
static void | initClass (void) |
|
Constructor. Resets values for translation and rotation information. |
|
Destructor. |
|
This static method returns the SoType object associated with objects of this class. Reimplemented from SoEvent. |
|
Returns the actual type id of an instantiated object. Reimplemented from SoEvent. |
|
Sets the translation value of this event. Method is used by the window specific device class(es) generating the event.
|
|
Returns translation value. Note that translation are specified relative to former events, i.e. the values given here are not accumulated global coordinates.
|
|
Sets the rotation value of this event. Method is used by the window specific device class(es) generating the event. |
|
Returns rotational value. Note that rotations are specified relative to former events, i.e. the values given here are not accumulated rotations.
|
|
Initialize the type information data. Reimplemented from SoEvent. |
Copyright © 1998-2005 by Systems in Motion AS. All rights reserved.
Generated on Tue Apr 17 03:31:34 2007 for Coin by Doxygen. 1.4.6