1SoTranslation(3IV)()                                      SoTranslation(3IV)()
2
3
4

NAME

6       SoTranslation — node representing a 3D translation
7

INHERITS FROM

9       SoBase > SoFieldContainer > SoNode > SoTransformation > SoTranslation
10

SYNOPSIS

12       #include <Inventor/nodes/SoTranslation.h>
13
14          Fields from class SoTranslation:
15
16     SoSFVec3f           translation
17
18          Methods from class SoTranslation:
19
20                         SoTranslation()
21     static SoType       getClassTypeId()
22
23          Methods from class SoNode:
24
25     void                setOverride(SbBool state)
26     SbBool              isOverride() const
27     SoNode *            copy(SbBool copyConnections = FALSE) const
28     virtual SbBool      affectsState() const
29     static SoNode *     getByName(const SbName &name)
30     static int          getByName(const SbName &name, SoNodeList &list)
31
32          Methods from class SoFieldContainer:
33
34     void                setToDefaults()
35     SbBool              hasDefaultValues() const
36     SbBool              fieldsAreEqual(const SoFieldContainer *fc) const
37     void                copyFieldValues(const  SoFieldContainer  *fc,  SbBool
38                              copyConnections = FALSE)
39     SbBool              set(const char *fieldDataString)
40     void                get(SbString &fieldDataString)
41     virtual int         getFields(SoFieldList &resultList) const
42     virtual SoField *   getField(const SbName &fieldName) const
43     SbBool              getFieldName(const SoField *field, SbName &fieldName)
44                              const
45     SbBool              isNotifyEnabled() const
46     SbBool              enableNotify(SbBool flag)
47
48          Methods from class SoBase:
49
50     void                ref()
51     void                unref() const
52     void                unrefNoDelete() const
53     void                touch()
54     virtual SoType      getTypeId() const
55     SbBool              isOfType(SoType type) const
56     virtual void        setName(const SbName &name)
57     virtual SbName      getName() const
58
59

DESCRIPTION

61       This node defines a translation by a 3D vector.
62

FIELDS

64     SoSFVec3f           translation
65          Translation vector.
66
67

METHODS

69                         SoTranslation()
70          Creates a translation node with default settings.
71
72     static SoType       getClassTypeId()
73          Returns type identifier for this class.
74
75

ACTION BEHAVIOR

77       SoGLRenderAction,  SoCallbackAction, SoGetBoundingBoxAction, SoRayPick‐
78       Action
79          Accumulates translation into the current transformation.
80
81     SoGetMatrixAction
82          Returns the matrix corresponding to the translation.
83
84

FILE FORMAT/DEFAULTS

86       Translation {
87          translation  0 0 0
88     }
89

SEE ALSO

91       SoTransform
92
93
94
95
96                                                          SoTranslation(3IV)()
Impressum