1SoCoordinate4(3IV)()                                      SoCoordinate4(3IV)()
2
3
4

NAME

6       SoCoordinate4 — rational coordinate point node
7

INHERITS FROM

9       SoBase > SoFieldContainer > SoNode > SoCoordinate4
10

SYNOPSIS

12       #include <Inventor/nodes/SoCoordinate4.h>
13
14          Fields from class SoCoordinate4:
15
16     SoMFVec4f           point
17
18          Methods from class SoCoordinate4:
19
20                         SoCoordinate4()
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 set of 3D coordinates to be used by subsequent ver‐
62       tex-based shape nodes (those derived from SoVertexShape) or shape nodes
63       that  use  them  as control points (such as NURBS curves and surfaces).
64       Coordinates are specifed as rational 4-vectors;  the  corresponding  3D
65       point is computed by dividing the first three components by the fourth.
66       This node does not produce a visible result during rendering; it simply
67       replaces  the current coordinates in the rendering state for subsequent
68       nodes to use.
69
70       This node exists primarily for use with NURBS curves and surfaces. How‐
71       ever, it can be used to define coordinates for any vertex-based shape.
72

FIELDS

74     SoMFVec4f           point
75          Coordinate point(s).
76
77

METHODS

79                         SoCoordinate4()
80          Creates a coordinate node with default settings.
81
82     static SoType       getClassTypeId()
83          Returns type identifier for this class.
84
85

ACTION BEHAVIOR

87       SoGLRenderAction,  SoCallbackAction, SoGetBoundingBoxAction, SoRayPick‐
88       Action
89          Sets coordinates in current traversal state.
90
91

FILE FORMAT/DEFAULTS

93       Coordinate4 {
94          point  0 0 0 1
95     }
96

SEE ALSO

98       SoCoordinate4,  SoIndexedNurbsCurve,   SoIndexedNurbsSurface,   SoNurb‐
99       sCurve, SoNurbsProfile, SoNurbsSurface, SoVertexShape
100
101
102
103
104                                                          SoCoordinate4(3IV)()
Impressum