1 #ifndef COIN_SOSOUNDELEMENT_H
2 #define COIN_SOSOUNDELEMENT_H
27 #include <Inventor/elements/SoReplacedElement.h>
34 static void initClass(
void);
41 SbBool scenegraphhassoundnode,
42 SbBool soundnodeisplaying,
43 SbBool ispartofactivescenegraph);
45 static SbBool setSceneGraphHasSoundNode(
SoState *
const state,
SoNode *
const node,
47 static SbBool sceneGraphHasSoundNode(
SoState *
const state);
49 static SbBool setSoundNodeIsPlaying(
SoState *
const state,
SoNode *
const node,
51 static SbBool soundNodeIsPlaying(
SoState *
const state);
53 static SbBool setIsPartOfActiveSceneGraph(
SoState *
const state,
SoNode *
const node,
55 static SbBool isPartOfActiveSceneGraph(
SoState *
const state);
60 virtual void print(FILE * file)
const;
63 void setDefaultValues();
65 SbBool scenegraphhassoundnode;
66 SbBool soundnodeisplaying;
67 SbBool ispartofactivescenegraph;
70 #endif // !COIN_SOSOUNDELEMENT_H
virtual void print(FILE *file) const
Definition: SoReplacedElement.cpp:108
virtual void push(SoState *state)
Definition: SoElement.cpp:570
The SoNode class is the base class for nodes used in scene graphs.Coin is a retained mode 3D visualiz...
Definition: SoNode.h:47
SoElement is the abstract base class for all elements.
Definition: SoElement.h:34
The SoState class manages the Coin scenegraph traversal state data.The SoState class is used by actio...
Definition: SoState.h:35
virtual void init(SoState *state)
Definition: SoReplacedElement.cpp:79
The SoReplacedElement class is an abstract element superclass.This is the superclass of all elements ...
Definition: SoReplacedElement.h:30
The SoSoundElement is used for optimizing audio rendering and for turning off inactive SoVRMLSound no...
Definition: SoSoundElement.h:29
virtual void pop(SoState *state, const SoElement *prevTopElement)
Definition: SoElement.cpp:585