Debian Codegraph @

doc/man/man3/ivm/fields/SoSFRotation.ivm

raw
1 NAME SoSFRotation SoSRotation "" {
2 field containing a rotation
3 }
4
5 INCLUDE fields/SoSFRotation.h
6
7 DESC {
8 A field containing a single \cSbRotation\. (an arbitrary rotation).
9 \p
10 \cSoSFRotations\. are written to file as four floating point values
11 separated by whitespace. The 4 values represent an axis of rotation
12 followed by the amount of right-handed rotation about that axis, in
13 radians. For example, a 180 degree rotation about the Y axis is:
14 \b
15 0 1 0 3.14159265
16 \.
17 }
18
19 METHOD GetAxisAngle void getValue(const SbVec3f &axis, float &angle) const {
20 Gets the value of the field as an axis/angle.
21 }
22 METHOD SetQ_U_A_T void setValue(float q0, float q1, float q2, float q3) {}
23 METHOD SetQuat setValue(float q[4]) {
24 Set the field to the given quaternion.
25 }
26 METHOD SetAxisAngle void setValue(const SbVec3f &axis, float angle) {
27 Set the field to the rotation given by axis/angle.
28 }
29 ALSO { SbRotation, SoField, SoSField, SoMFRotation }
30 METHOD "" static SoType getClassTypeId() {}
31 METHOD "" virtual void getTypeId() const {
32 Returns the type for this class or a particular object of this class.
33 }
34 METHOD Get const SbRotation & getValue() const {
35 Returns this field's value.
36 }
37 METHOD " " const SbRotation & operator =(const SbRotation & newValue) {}
38 METHOD Set void setValue(const SbRotation & newValue) {
39 Sets this field to \anewValue\..
40 }
41 METHOD IsEq int operator ==(const SoSFRotation &f) const {}
42 METHOD IsNEq int operator !=(const SoSFRotation &f) const {
43 Returns TRUE if \af\. is of the same type and has the same value as this
44 field.
45 }