1SoComposeRotationFromTo(3IV)()                  SoComposeRotationFromTo(3IV)()
2
3
4

NAME

6       SoComposeRotationFromTo  —  composes  a  rotation that rotates from one
7       vector into another
8

INHERITS FROM

10       SoBase > SoFieldContainer > SoEngine > SoComposeRotationFromTo
11

SYNOPSIS

13       #include <Inventor/engines/SoCompose.h>
14
15          Inputs from class SoComposeRotationFromTo:
16
17     SoMFVec3f           from
18     SoMFVec3f           to
19
20          Outputs from class SoComposeRotationFromTo:
21
22     (SoMFRotation)      rotation
23
24          Methods from class SoComposeRotationFromTo:
25
26                         SoComposeRotationFromTo()
27
28          Methods from class SoEngine:
29
30     static SoType       getClassTypeId()
31     virtual int         getOutputs(SoEngineOutputList &list) const
32     SoEngineOutput *    getOutput(const SbName &outputName) const
33     SbBool              getOutputName(const  SoEngineOutput  *output,  SbName
34                              &outputName) const
35     SoEngine *          copy() const
36     static SoEngine *   getByName(const SbName &name)
37     static int          getByName(const SbName &name, SoEngineList &list)
38
39          Methods from class SoFieldContainer:
40
41     void                setToDefaults()
42     SbBool              hasDefaultValues() const
43     SbBool              fieldsAreEqual(const SoFieldContainer *fc) const
44     void                copyFieldValues(const  SoFieldContainer  *fc,  SbBool
45                              copyConnections = FALSE)
46     SbBool              set(const char *fieldDataString)
47     void                get(SbString &fieldDataString)
48     virtual int         getFields(SoFieldList &resultList) const
49     virtual SoField *   getField(const SbName &fieldName) const
50     SbBool              getFieldName(const SoField *field, SbName &fieldName)
51                              const
52     SbBool              isNotifyEnabled() const
53     SbBool              enableNotify(SbBool flag)
54
55          Methods from class SoBase:
56
57     void                ref()
58     void                unref() const
59     void                unrefNoDelete() const
60     void                touch()
61     virtual SoType      getTypeId() const
62     SbBool              isOfType(SoType type) const
63     virtual void        setName(const SbName &name)
64     virtual SbName      getName() const
65
66

DESCRIPTION

68       This  engine takes two inputs, representing a vector before and after a
69       rotation has been applied. As output, it produces  the  rotation  value
70       that would cause the first vector to transform into the other.
71
72       The  input fields can have multiple values, allowing the engine to com‐
73       pose several rotations in parallel. Some inputs may  have  more  values
74       than  others.  In such cases, the last value of the shorter inputs will
75       be repeated as necessary.
76

INPUTS

78     SoMFVec3f           from
79          Vector before the rotation.
80
81     SoMFVec3f           to
82          Vector after the rotation.
83
84

OUTPUTS

86     (SoMFRotation)      rotation
87          A rotation that transforms one vector into another.
88
89

METHODS

91                         SoComposeRotationFromTo()
92          Constructor
93
94

FILE FORMAT/DEFAULTS

96       ComposeRotationFromTo {
97          from  0 0 1
98          to    0 0 1
99     }
100

SEE ALSO

102       SoComposeRotation, SoDecomposeRotationFromTo, SoEngineOutput
103
104
105
106
107                                                SoComposeRotationFromTo(3IV)()
Impressum