osgAL Namespace Reference

Integration of OpenAL++ into OpenSceneGraph. More...


Classes

class  OccludeCallback
 Class to calculate occlusion between the listener and the soundsource. More...
class  SoundManager
 A SoundManager handles the sound system. More...
class  SoundNode
 A placeholder for a soundstate. The transformation is updated automatically during update traversal. More...
class  SoundRoot
 A node that updates the transformation of the listener. Should traversed before any SoundNode nodes. More...
class  SoundState
 Class that encapsulate the settings valid for a soundsource. More...

Functions

template<typename T>
T const mix (T const &a, T const &b, float s)
 Lineary interpolate from a to b using s = {0,..1}.
template<typename T>
T const & min (T const &a, T const &b)
 Return the smallest item of a and b.
template<typename T>
T const & max (T const &a, T const &b)
 Return the greatest item of a and b.
template<typename T>
T const & clamp (T const &x, T const &min, T const &max)
 Return the greatest item of a and b.
OSGAL_EXPORT std::string getVersion ()
OSGAL_EXPORT std::string getLibraryName ()


Detailed Description

Integration of OpenAL++ into OpenSceneGraph.

OsgAL - OpenSceneGraph Audio Library Copyright (C) 2004 VRlab, Umeå University

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.


Function Documentation

template<typename T>
T const& osgAL::clamp ( T const &  x,
T const &  min,
T const &  max 
) [inline]

Return the greatest item of a and b.

OSGAL_EXPORT std::string osgAL::getLibraryName (  ) 

OSGAL_EXPORT std::string osgAL::getVersion (  ) 

template<typename T>
T const& osgAL::max ( T const &  a,
T const &  b 
) [inline]

Return the greatest item of a and b.

template<typename T>
T const& osgAL::min ( T const &  a,
T const &  b 
) [inline]

Return the smallest item of a and b.

template<typename T>
T const osgAL::mix ( T const &  a,
T const &  b,
float  s 
) [inline]

Lineary interpolate from a to b using s = {0,..1}.


Generated on Mon Oct 8 10:42:12 2007 for osgAL by  doxygen 1.5.3