1#ifndef COIN_SOSOUNDELEMENT_H
2#define COIN_SOSOUNDELEMENT_H
36#include <Inventor/elements/SoReplacedElement.h>
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;
SoElement is the abstract base class for all elements.
Definition SoElement.h:43
virtual void pop(SoState *state, const SoElement *prevTopElement)
Definition SoElement.cpp:585
virtual void push(SoState *state)
Definition SoElement.cpp:570
The SoNode class is the base class for nodes used in scene graphs.
Definition SoNode.h:56
The SoReplacedElement class is an abstract element superclass.
Definition SoReplacedElement.h:39
static void initClass(void)
Definition SoReplacedElement.cpp:77
virtual void init(SoState *state)
Definition SoReplacedElement.cpp:91
virtual void print(FILE *file) const
Definition SoReplacedElement.cpp:120
The SoSoundElement is used for optimizing audio rendering and for turning off inactive SoVRMLSound no...
Definition SoSoundElement.h:38
The SoState class manages the Coin scene graph traversal state data.
Definition SoState.h:44