csl::Speaker Class Reference

#include <SpeakerLayout.h>

List of all members.


Detailed Description

Represents a speaker as a position relative to the center of a space.


Public Member Functions

 Speaker (float azimuth=0.0, float elevation=0.0, float radius=1.0)
 ~Speaker ()
CPoint position ()
float azimuth ()
float elevation ()
float radius ()
void setRadius (float radius)
 Specify the distance from the center of the coordinate space to the speaker.
void dump ()
 Print speaker information.

Protected Attributes

CPoint mPosition


Constructor & Destructor Documentation

csl::Speaker::Speaker float  azimuth = 0.0,
float  elevation = 0.0,
float  radius = 1.0
[inline]
 

Speaker constructor. The speaker class should only be used by the speaker layout. Clients should modify speakers using the Speaker layout and not deal with speakers directly. The speaker positions have to be specified in (spherical) radians.

csl::Speaker::~Speaker  )  [inline]
 


Member Function Documentation

CPoint csl::Speaker::position  )  [inline]
 

float csl::Speaker::azimuth  )  [inline]
 

float csl::Speaker::elevation  )  [inline]
 

float csl::Speaker::radius  )  [inline]
 

void Speaker::setRadius float  radius  ) 
 

Specify the distance from the center of the coordinate space to the speaker.

void Speaker::dump  ) 
 

Print speaker information.


Member Data Documentation

CPoint csl::Speaker::mPosition [protected]
 


The documentation for this class was generated from the following files:
Generated on Fri Apr 6 20:18:22 2007 for CSL by  doxygen 1.4.5-20051010