SoSoundElement - Online Linux Manual PageSection : 3
Updated : Mon Jan 25 2021
Source : Version 4.0.0
Note : Coin
NAMESoSoundElement − 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 Functionsvirtual void init (SoState *state)
virtual void push (SoState *state)
virtual void pop (SoState *state, const SoElement *prevTopElement)
virtual void print (FILE *file) const
Prints contents of element (not implemented)
Static Public Member Functionsstatic SoType getClassTypeId (void)
static int getClassStackIndex (void)
static void * createInstance (void)
static void initClass (void)
static void set (SoState *const state, SoNode *const node, SbBool scenegraphhassoundnode, SbBool soundnodeisplaying, SbBool ispartofactivescenegraph)
static SbBool setSceneGraphHasSoundNode (SoState *const state, SoNode *const node, SbBool flag)
static SbBool sceneGraphHasSoundNode (SoState *const state)
static SbBool setSoundNodeIsPlaying (SoState *const state, SoNode *const node, SbBool flag)
static SbBool soundNodeIsPlaying (SoState *const state)
static SbBool setIsPartOfActiveSceneGraph (SoState *const state, SoNode *const node, SbBool flag)
static SbBool isPartOfActiveSceneGraph (SoState *const state)
Protected Member Functionsvirtual ~SoSoundElement ()
void setDefaultValues ()
Protected AttributesSbBool scenegraphhassoundnode
SbBool soundnodeisplaying
SbBool ispartofactivescenegraph
Additional Inherited Members
Detailed DescriptionThe 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 *const state, SoNode *const node, SbBool scenegraphhassoundnode, SbBool soundnodeisplaying, SbBool ispartofactivescenegraph) [static]Sets the flags.
SbBool SoSoundElement::setSceneGraphHasSoundNode (SoState *const state, SoNode *const node, SbBool flag) [static]Sets the sceneGraphHasSoundNode flag.
SbBool SoSoundElement::sceneGraphHasSoundNode (SoState *const state) [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 *const state, SoNode *const node, SbBool flag) [static]Sets the soundNodeIsPlaying flag.
SbBool SoSoundElement::soundNodeIsPlaying (SoState *const state) [static]The soundNodeIsPlaying flag is currently unused. Returns the value of the soundNodeIsPlaying flag.
SbBool SoSoundElement::setIsPartOfActiveSceneGraph (SoState *const state, SoNode *const node, SbBool flag) [static]Sets the isPartOfActiveSceneGraph flag.
SbBool SoSoundElement::isPartOfActiveSceneGraph (SoState *const state) [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.
AuthorGenerated automatically by Doxygen for Coin from the source code. 0
Johanes Gumabo
Data Size : 24,710 byte
man-SoSoundElement.3coin4Build : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 3 / 202,136
Visitor ID : :
Visitor IP : 3.23.92.50 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.