1 #ifndef COIN_SOSOUNDELEMENT_H 2 #define COIN_SOSOUNDELEMENT_H 36 #include <Inventor/elements/SoReplacedElement.h> 43 static void initClass(
void);
50 SbBool scenegraphhassoundnode,
51 SbBool soundnodeisplaying,
52 SbBool ispartofactivescenegraph);
54 static SbBool setSceneGraphHasSoundNode(
SoState *
const state,
SoNode *
const node,
56 static SbBool sceneGraphHasSoundNode(
SoState *
const state);
58 static SbBool setSoundNodeIsPlaying(
SoState *
const state,
SoNode *
const node,
60 static SbBool soundNodeIsPlaying(
SoState *
const state);
62 static SbBool setIsPartOfActiveSceneGraph(
SoState *
const state,
SoNode *
const node,
64 static SbBool isPartOfActiveSceneGraph(
SoState *
const state);
69 virtual void print(FILE * file)
const;
72 void setDefaultValues();
74 SbBool scenegraphhassoundnode;
75 SbBool soundnodeisplaying;
76 SbBool ispartofactivescenegraph;
79 #endif // !COIN_SOSOUNDELEMENT_H virtual void push(SoState *state)
Definition: SoElement.cpp:569
The SoNode class is the base class for nodes used in scene graphs.
Definition: SoNode.h:56
SoElement is the abstract base class for all elements.
Definition: SoElement.h:43
The SoState class manages the Coin scenegraph traversal state data.
Definition: SoState.h:44
virtual void init(SoState *state)
Definition: SoReplacedElement.cpp:89
The SoReplacedElement class is an abstract element superclass.
Definition: SoReplacedElement.h:39
virtual void print(FILE *file) const
Definition: SoReplacedElement.cpp:118
The SoSoundElement is used for optimizing audio rendering and for turning off inactive SoVRMLSound no...
Definition: SoSoundElement.h:38
virtual void pop(SoState *state, const SoElement *prevTopElement)
Definition: SoElement.cpp:584