other versions
- jessie 3.1.4~abc9f50-7
SoSoundElement(3) | Coin | SoSoundElement(3) |
NAME¶
SoSoundElement - The SoSoundElement is used for optimizing audio rendering and for turning off inactive SoVRMLSound nodes.SYNOPSIS¶
#include <Inventor/elements/SoSoundElement.h> Inherits SoReplacedElement.Public Member Functions¶
virtual void init (SoState *state)
Static Public Member Functions¶
static SoType getClassTypeId (void)
Protected Member Functions¶
virtual ~SoSoundElement ()
Protected Attributes¶
SbBool scenegraphhassoundnode
Additional Inherited Members¶
Detailed Description¶
The SoSoundElement is used for optimizing audio rendering and for turning off inactive SoVRMLSound nodes. Since:Coin 2.0
Constructor & Destructor Documentation¶
SoSoundElement::~SoSoundElement (void) [protected], [virtual]¶
The destructor.Member Function Documentation¶
void * SoSoundElement::createInstance (void) [static]¶
This API member is considered internal to the library, as it is not likely to be of interest to the application programmer.void SoSoundElement::initClass (void) [static]¶
This static method initializes static data for the SoSoundElement class.void SoSoundElement::init ( SoState *state) [virtual]¶
Initializes the element to it's default value. Reimplemented from SoReplacedElement.void SoSoundElement::set ( SoState *conststate, SoNode *constnode, SbBoolscenegraphhassoundnode, SbBoolsoundnodeisplaying, SbBoolispartofactivescenegraph) [static]¶
Sets the flags.SbBool SoSoundElement::setSceneGraphHasSoundNode ( SoState *conststate, SoNode *constnode, SbBoolflag) [static]¶
Sets the sceneGraphHasSoundNode flag.SbBool SoSoundElement::sceneGraphHasSoundNode ( SoState *conststate) [static]¶
The sceneGraphHasSoundNode flag is used to stop the SoAudioRenderAction in SoSeparator and SoVRMLGroup nodes for cases where the sub-graph doesn not contain any SoVRMLSound nodes. Returns the value of the sceneGraphHasSoundNode flag.SbBool SoSoundElement::setSoundNodeIsPlaying ( SoState *conststate, SoNode *constnode, SbBoolflag) [static]¶
Sets the soundNodeIsPlaying flag.SbBool SoSoundElement::soundNodeIsPlaying ( SoState *conststate) [static]¶
The soundNodeIsPlaying flag is currently unused. Returns the value of the soundNodeIsPlaying flag.SbBool SoSoundElement::setIsPartOfActiveSceneGraph ( SoState *conststate, SoNode *constnode, SbBoolflag) [static]¶
Sets the isPartOfActiveSceneGraph flag.SbBool SoSoundElement::isPartOfActiveSceneGraph ( SoState *conststate) [static]¶
The isPartOfActiveSceneGraph flag is used to make SoVRMLSound that are below inactive parts of the scenegraph (i.e. below a SoSwitch or SoLOD node) stop playing. Returns the value of the isPartOfActiveSceneGraph flag.void SoSoundElement::push ( SoState *state) [virtual]¶
Calls the superclass' push method. Initializes the element to the default values. Uses previous element's isPartOfActiveSceneGraph flag. Reimplemented from SoElement.void SoSoundElement::pop ( SoState *state, const SoElement *prevTopElement) [virtual]¶
Calls the superclass' pop method. Reimplemented from SoElement.void SoSoundElement::setDefaultValues () [protected]¶
Initializes the element to the default values. The default values for the sceneGraphHasSoundNode is FALSE. The default value for the isPartOfActiveSceneGraph flag is TRUE. the default value for the soundNodeIsPlaying flag is FALSE.Author¶
Generated automatically by Doxygen for Coin from the source code.Thu May 29 2014 | Version 4.0.0a |