1SoComposeVec2f(3IV)()                                    SoComposeVec2f(3IV)()
2
3
4

NAME

6       SoComposeVec2f — composes 2D vectors from floating-point values
7

INHERITS FROM

9       SoBase > SoFieldContainer > SoEngine > SoComposeVec2f
10

SYNOPSIS

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

DESCRIPTION

67       This engine takes two floating-point inputs and composes a 2D floating-
68       point vector.
69
70       The  input fields can have multiple values, allowing the engine to com‐
71       pose several vectors in parallel. One of the inputs may have more  val‐
72       ues  than  others.  In  such cases, the last value of the shorter input
73       will be repeated as necessary.
74

INPUTS

76     SoMFFloat           x
77          The x component.
78
79     SoMFFloat           y
80          The y component.
81
82

OUTPUTS

84     (SoMFVec2f)         vector
85          Vector composed of x and y components.
86
87

METHODS

89                         SoComposeVec2f()
90          Constructor
91
92

FILE FORMAT/DEFAULTS

94       ComposeVec2f {
95          x  0
96          y  0
97     }
98

SEE ALSO

100       SoDecomposeVec2f, SoEngineOutput
101
102
103
104
105                                                         SoComposeVec2f(3IV)()
Impressum