24#ifndef COIN_SOVRMLSWITCH_H
25#define COIN_SOVRMLSWITCH_H
27#include <Inventor/nodes/SoSubNode.h>
28#include <Inventor/nodes/SoGroup.h>
29#include <Inventor/fields/SoMFNode.h>
30#include <Inventor/fields/SoSFInt32.h>
34#undef SO_SWITCH_INHERIT
37#define SO_SWITCH_NONE (-1)
38#define SO_SWITCH_INHERIT (-2)
39#define SO_SWITCH_ALL (-3)
49 static void initClass(
void);
100 void commonConstructor(
void);
101 SoVRMLSwitchP * pimpl;
102 friend class SoVRMLSwitchP;
The SoAction class is the base class for all traversal actions.
Definition SoAction.h:68
The SoAudioRenderAction class renders the aural parts of the scene graph.
Definition SoAudioRenderAction.h:33
The SoCallbackAction class invokes callbacks at specific nodes.
Definition SoCallbackAction.h:71
The SoChildList class is a container for node children.
Definition SoChildList.h:33
SoFieldContainer(void)
Definition SoFieldContainer.cpp:123
The SoGLRenderAction class renders the scene graph with OpenGL calls.
Definition SoGLRenderAction.h:41
The SoGetBoundingBoxAction class calculates bounding boxes for nodes and subgraphs.
Definition SoGetBoundingBoxAction.h:36
The SoGetMatrixAction class is an action for accumulating the transformation matrix of a subgraph.
Definition SoGetMatrixAction.h:37
SoGroup(void)
Definition SoGroup.cpp:241
The SoHandleEventAction class distributes user events to the scene.
Definition SoHandleEventAction.h:37
The SoMFNode class is a container for nodes.
Definition SoMFNode.h:32
SoNode(void)
Definition SoNode.cpp:350
The SoNotList class is a list of SoNotRec notification records.
Definition SoNotification.h:34
The SoPickAction class is the base class for picking actions.
Definition SoPickAction.h:34
The SoSFInt32 class is a container for a 32-bit integer value.
Definition SoSFInt32.h:30
The SoSearchAction class provides methods for searching through scene graphs.
Definition SoSearchAction.h:35
void removeAllChildren(void)
Definition Switch.cpp:513
void removeChoice(int idx)
Definition Switch.cpp:244
void removeChild(int idx)
Definition Switch.cpp:497
virtual SbBool readInstance(SoInput *in, unsigned short flags)
Definition Switch.cpp:590
virtual void callback(SoCallbackAction *action)
Definition Switch.cpp:375
virtual SbBool affectsState(void) const
Definition Switch.cpp:183
int findChild(const SoNode *child) const
Definition Switch.cpp:483
void addChild(SoNode *child)
Definition Switch.cpp:460
virtual void GLRender(SoGLRenderAction *action)
Definition Switch.cpp:382
void replaceChoice(int idx, SoNode *choice)
Definition Switch.cpp:271
int getNumChildren(void) const
Definition Switch.cpp:490
SoSFInt32 whichChoice
Definition SoVRMLSwitch.h:54
void insertChild(SoNode *child, int idx)
Definition Switch.cpp:468
virtual void doAction(SoAction *action)
Definition Switch.cpp:289
virtual void handleEvent(SoHandleEventAction *action)
Definition Switch.cpp:403
virtual void copyContents(const SoFieldContainer *from, SbBool copyConn)
Definition Switch.cpp:603
int findChoice(SoNode *choice) const
Definition Switch.cpp:226
SoNode * getChoice(int idx) const
Definition Switch.cpp:217
void replaceChild(int idx, SoNode *node)
Definition Switch.cpp:522
virtual void search(SoSearchAction *action)
Definition Switch.cpp:435
SoVRMLSwitch(void)
Definition Switch.cpp:137
void insertChoice(SoNode *choice, int idx)
Definition Switch.cpp:207
virtual void getMatrix(SoGetMatrixAction *action)
Definition Switch.cpp:421
void removeAllChoices(void)
Definition Switch.cpp:262
virtual void audioRender(SoAudioRenderAction *action)
Definition Switch.cpp:410
virtual void pick(SoPickAction *action)
Definition Switch.cpp:389
virtual void getBoundingBox(SoGetBoundingBoxAction *action)
Definition Switch.cpp:396
virtual SoChildList * getChildren(void) const
Definition Switch.cpp:613
virtual void notify(SoNotList *list)
Definition Switch.cpp:539
SoMFNode choice
Definition SoVRMLSwitch.h:53
int getNumChoices(void) const
Definition Switch.cpp:235
void addChoice(SoNode *choice)
Definition Switch.cpp:198
virtual void write(SoWriteAction *action)
Definition Switch.cpp:451
SoNode * getChild(int idx) const
Definition Switch.cpp:476
The SoWriteAction class writes a scene graph to file.
Definition SoWriteAction.h:33
#define SO_NODE_HEADER(classname)
Definition macros.dox:43