1SoBlinker(3IV)()                                              SoBlinker(3IV)()
2
3
4

NAME

6       SoBlinker — animated cycling switch node
7

INHERITS FROM

9       SoBase > SoFieldContainer > SoNode > SoGroup > SoSwitch > SoBlinker
10

SYNOPSIS

12       #include <Inventor/nodes/SoBlinker.h>
13
14          Fields from class SoBlinker:
15
16     SoSFFloat           speed
17     SoSFBool            on
18
19          Fields from class SoSwitch:
20
21     SoSFInt32           whichChild
22
23          Methods from class SoBlinker:
24
25                         SoBlinker()
26     static SoType       getClassTypeId()
27
28          Methods from class SoGroup:
29
30     void                addChild(SoNode *child)
31     void                insertChild(SoNode *child, int newChildIndex)
32     SoNode *            getChild(int index) const
33     int                 findChild(const SoNode *child) const
34     int                 getNumChildren() const
35     void                removeChild(int index)
36     void                removeChild(SoNode *child)
37     void                removeAllChildren()
38     void                replaceChild(int index, SoNode *newChild)
39     void                replaceChild(SoNode *oldChild, SoNode *newChild)
40
41          Methods from class SoNode:
42
43     void                setOverride(SbBool state)
44     SbBool              isOverride() const
45     SoNode *            copy(SbBool copyConnections = FALSE) const
46     virtual SbBool      affectsState() const
47     static SoNode *     getByName(const SbName &name)
48     static int          getByName(const SbName &name, SoNodeList &list)
49
50          Methods from class SoFieldContainer:
51
52     void                setToDefaults()
53     SbBool              hasDefaultValues() const
54     SbBool              fieldsAreEqual(const SoFieldContainer *fc) const
55     void                copyFieldValues(const  SoFieldContainer  *fc,  SbBool
56                              copyConnections = FALSE)
57     SbBool              set(const char *fieldDataString)
58     void                get(SbString &fieldDataString)
59     virtual int         getFields(SoFieldList &resultList) const
60     virtual SoField *   getField(const SbName &fieldName) const
61     SbBool              getFieldName(const SoField *field, SbName &fieldName)
62                              const
63     SbBool              isNotifyEnabled() const
64     SbBool              enableNotify(SbBool flag)
65
66          Methods from class SoBase:
67
68     void                ref()
69     void                unref() const
70     void                unrefNoDelete() const
71     void                touch()
72     virtual SoType      getTypeId() const
73     SbBool              isOfType(SoType type) const
74     virtual void        setName(const SbName &name)
75     virtual SbName      getName() const
76
77

DESCRIPTION

79       The  SoBlinker class is derived from SoSwitch, so it selects one of its
80       children to traverse. Using engines connected to  the  realTime  global
81       field, the whichChild field is animated over time. If the node has only
82       one child, whichChild toggles between SO_SWITCH_NONE and 0, causing the
83       child  to  be switched on and off repeatedly. If the node has more than
84       one child, they are cycled through continuously.
85

FIELDS

87     SoSFFloat           speed
88          Defines the speed of the blinker, in cycles per second.
89
90     SoSFBool            on
91          Allows applications to enable or disable the blinking easily.
92
93

METHODS

95                         SoBlinker()
96          Creates a blinker node with default settings.
97
98     static SoType       getClassTypeId()
99          Returns type identifier for this class.
100
101

ACTION BEHAVIOR

103       SoGLRenderAction,  SoCallbackAction,  SoGetBoundingBoxAction,  SoGetMa‐
104       trixAction, SoHandleEventAction, SoRayPickAction, SoSearchAction
105          Same as for SoSwitch.
106
107

FILE FORMAT/DEFAULTS

109       Blinker {
110          whichChild  -1
111          speed       1
112          on          TRUE
113     }
114
115
116
117                                                              SoBlinker(3IV)()
Impressum