OALplus (0.52.0) a C++ wrapper for OpenAL

oalplus::Listener Class Reference

An AL context-specific monostate object representing the listener. More...

#include </home/chochlik/devel/oglplus/include/oalplus/listener.hpp>

Static Public Member Functions

static void Position (const Vec3f &position)
 Specifies the position of the listener. More...
 
static void Position (ALfloat x, ALfloat y, ALfloat z)
 Specifies the position of the listener. More...
 
static Vec3f Position (void)
 Returns the positin of the listener. More...
 
static void Velocity (const Vec3f &velocity)
 Specifies the velocity vector of the listener. More...
 
static void Velocity (ALfloat x, ALfloat y, ALfloat z)
 Specifies the velocity vector of the listener. More...
 
static Vec3f Velocity (void)
 Returns the velocity vector of the listener. More...
 
static void Orientation (const Vec3f &at, const Vec3f &up)
 Specifies the orientation vector of the listener. More...
 
static void Orientation (ALfloat at_x, ALfloat at_y, ALfloat at_z, ALfloat up_x, ALfloat up_y, ALfloat up_z)
 Specifies the orientation vector of the listener. More...
 
static Vec3f OrientationAt (void)
 Returns the orientation vector of the listener. More...
 
static Vec3f OrientationUp (void)
 Returns the orientation up vector of the listener. More...
 
static void Gain (ALfloat value)
 Specifies the value of gain of the listener. More...
 
static ALfloat Gain (void)
 Returns the current value of gain of the listener. More...
 

Detailed Description

An AL context-specific monostate object representing the listener.

Examples:
oalplus/001_hello.cpp, and oalplus/002_hello_path.cpp.

Member Function Documentation

static void oalplus::Listener::Gain ( ALfloat  value)
static

Specifies the value of gain of the listener.

Related OpenAL symbols:
alListenerf AL_GAIN
static ALfloat oalplus::Listener::Gain ( void  )
static

Returns the current value of gain of the listener.

Related OpenAL symbols:
alGetListenerfv AL_GAIN
static void oalplus::Listener::Orientation ( const Vec3f at,
const Vec3f up 
)
static

Specifies the orientation vector of the listener.

See Also
Position
Velocity
Exceptions
Error
Related OpenAL symbols:
alListenerfv AL_ORIENTATION
Examples:
oalplus/001_hello.cpp, and oalplus/002_hello_path.cpp.
static void oalplus::Listener::Orientation ( ALfloat  at_x,
ALfloat  at_y,
ALfloat  at_z,
ALfloat  up_x,
ALfloat  up_y,
ALfloat  up_z 
)
static

Specifies the orientation vector of the listener.

See Also
Position
Velocity
Exceptions
Error
See Also
OrientationAt
OrientationUp
Related OpenAL symbols:
alListenerfv AL_ORIENTATION
static Vec3f oalplus::Listener::OrientationAt ( void  )
static

Returns the orientation vector of the listener.

See Also
Position
Velocity
Orientation
OrientationUp
Related OpenAL symbols:
alListenerfv AL_ORIENTATION
static Vec3f oalplus::Listener::OrientationUp ( void  )
static

Returns the orientation up vector of the listener.

See Also
Position
Velocity
OrientationAt
Related OpenAL symbols:
alListenerfv AL_ORIENTATION
static void oalplus::Listener::Position ( const Vec3f position)
static

Specifies the position of the listener.

See Also
Velocity
Orientation
Exceptions
Error
Related OpenAL symbols:
alListenerfv AL_POSITION
Examples:
oalplus/001_hello.cpp, and oalplus/002_hello_path.cpp.
static void oalplus::Listener::Position ( ALfloat  x,
ALfloat  y,
ALfloat  z 
)
static

Specifies the position of the listener.

See Also
Velocity
Orientation
Exceptions
Error
Related OpenAL symbols:
alListener3f AL_POSITION
static Vec3f oalplus::Listener::Position ( void  )
static

Returns the positin of the listener.

See Also
Velocity
Orientation
Related OpenAL symbols:
alGetListenerfv AL_POSITION
static void oalplus::Listener::Velocity ( const Vec3f velocity)
static

Specifies the velocity vector of the listener.

See Also
Position
Orientation
Exceptions
Error
Related OpenAL symbols:
alListenerfv AL_VELOCITY
Examples:
oalplus/001_hello.cpp, and oalplus/002_hello_path.cpp.
static void oalplus::Listener::Velocity ( ALfloat  x,
ALfloat  y,
ALfloat  z 
)
static

Specifies the velocity vector of the listener.

See Also
Position
Orientation
Exceptions
Error
Related OpenAL symbols:
alListener3f AL_VELOCITY
static Vec3f oalplus::Listener::Velocity ( void  )
static

Returns the velocity vector of the listener.

See Also
Position
Orientation
Related OpenAL symbols:
alGetListenerfv AL_VELOCITY

The documentation for this class was generated from the following file:

Copyright © 2010-2014 Matúš Chochlík, University of Žilina, Žilina, Slovakia.
<matus.chochlik -at- fri.uniza.sk>
<chochlik -at -gmail.com>
Documentation generated on Mon Sep 22 2014 by Doxygen (version 1.8.6).