.TH "SoMotion3Event" 3 "Sat Oct 12 2013" "Version 4.0.0a" "Coin" \" -*- nroff -*- .ad l .nh .SH NAME SoMotion3Event \- .PP The \fBSoMotion3Event\fP class contains information about 3D movement events\&. .PP 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\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .PP Inherits \fBSoEvent\fP\&. .SS "Public Member Functions" .in +1c .ti -1c .RI "virtual \fBSoType\fP \fBgetTypeId\fP (void) const " .br .ti -1c .RI "\fBSoMotion3Event\fP (void)" .br .ti -1c .RI "virtual \fB~SoMotion3Event\fP ()" .br .ti -1c .RI "void \fBsetTranslation\fP (const \fBSbVec3f\fP &t)" .br .ti -1c .RI "const \fBSbVec3f\fP & \fBgetTranslation\fP (void) const " .br .ti -1c .RI "void \fBsetRotation\fP (const \fBSbRotation\fP &r)" .br .ti -1c .RI "const \fBSbRotation\fP & \fBgetRotation\fP (void) const " .br .in -1c .SS "Static Public Member Functions" .in +1c .ti -1c .RI "static \fBSoType\fP \fBgetClassTypeId\fP (void)" .br .ti -1c .RI "static void \fBinitClass\fP (void)" .br .in -1c .SH "Detailed Description" .PP The \fBSoMotion3Event\fP class contains information about 3D movement events\&. .PP 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\&. \fBSee Also:\fP .RS 4 \fBSoEvent\fP, \fBSoLocation2Event\fP .PP \fBSoEventCallback\fP, \fBSoHandleEventAction\fP .RE .PP .SH "Constructor & Destructor Documentation" .PP .SS "SoMotion3Event::SoMotion3Event (void)" Constructor\&. Resets values for translation and rotation information\&. .SS "SoMotion3Event::~SoMotion3Event ()\fC [virtual]\fP" Destructor\&. .SH "Member Function Documentation" .PP .SS "\fBSoType\fP SoMotion3Event::getClassTypeId (void)\fC [static]\fP" This static method returns the \fBSoType\fP object associated with objects of this class\&. .PP Reimplemented from \fBSoEvent\fP\&. .SS "\fBSoType\fP SoMotion3Event::getTypeId (void) const\fC [virtual]\fP" Returns the actual type id of an instantiated object\&. .PP Reimplemented from \fBSoEvent\fP\&. .SS "void SoMotion3Event::initClass (void)\fC [static]\fP" Initialize the type information data\&. .PP Reimplemented from \fBSoEvent\fP\&. .SS "void SoMotion3Event::setTranslation (const \fBSbVec3f\fP &t)" Sets the translation value of this event\&. Method is used by the window specific device class(es) generating the event\&. .PP \fBSee Also:\fP .RS 4 \fBgetTranslation()\fP .RE .PP .SS "const \fBSbVec3f\fP & SoMotion3Event::getTranslation (void) const" Returns translation value\&. Note that translation are specified relative to former events, i\&.e\&. the values given here are \fInot\fP accumulated global coordinates\&. .PP \fBSee Also:\fP .RS 4 \fBgetTime()\fP .RE .PP .SS "void SoMotion3Event::setRotation (const \fBSbRotation\fP &r)" Sets the rotation value of this event\&. Method is used by the window specific device class(es) generating the event\&. .SS "const \fBSbRotation\fP & SoMotion3Event::getRotation (void) const" Returns rotational value\&. Note that rotations are specified relative to former events, i\&.e\&. the values given here are \fInot\fP accumulated rotations\&. .PP \fBSee Also:\fP .RS 4 \fBgetTime()\fP .RE .PP .SH "Author" .PP Generated automatically by Doxygen for Coin from the source code\&.