1#ifndef COIN_SOLISTENERDOPPLERELEMENT_H
2#define COIN_SOLISTENERDOPPLERELEMENT_H
27#include <Inventor/elements/SoReplacedElement.h>
28#include <Inventor/SbVec3f.h>
30class COIN_DLL_API SoListenerDopplerElement :
public SoReplacedElement {
31 typedef SoReplacedElement inherited;
33 SO_ELEMENT_HEADER(SoListenerDopplerElement);
37 virtual ~SoListenerDopplerElement();
40 virtual void init(SoState * state);
49 virtual void print(FILE * file)
const;
The SbVec3f class is a 3 dimensional vector with floating point coordinates.
Definition SbVec3f.h:37
static void initClass(void)
Definition SoElement.cpp:483
SbVec3f dopplerVelocity
Definition SoListenerDopplerElement.h:52
static const SbVec3f & getDopplerVelocity(SoState *const state)
Returns the current listener's doppler velocity.
Definition SoListenerDopplerElement.cpp:127
static float getDopplerFactor(SoState *const state)
Returns the current listener's doppler factor.
Definition SoListenerDopplerElement.cpp:137
float dopplerFactor
Definition SoListenerDopplerElement.h:53
static void setDopplerVelocity(SoState *const state, SoNode *const node, const SbVec3f &velocity)
Definition SoListenerDopplerElement.cpp:97
static void setDopplerFactor(SoState *const state, SoNode *const node, float factor)
Definition SoListenerDopplerElement.cpp:113
The SoNode class is the base class for nodes used in scene graphs.
Definition SoNode.h:47
virtual void init(SoState *state)
Definition SoReplacedElement.cpp:76
virtual void print(FILE *file) const
Definition SoReplacedElement.cpp:105
Copyright © 1998-2007 by Systems in Motion AS. All rights reserved.
Generated on Wed Jul 23 2025 for Coin by Doxygen. 1.14.0