SoundRadii Class Reference

#include <isound.h>

Public Member Functions

 SoundRadii (float min=0, float max=0, bool inMetres=false)
void setMin (float min, bool inMetres=false)
void setMax (float max, bool inMetres=false)
float getMin (bool inMetres=false) const
float getMax (bool inMetres=false) const

Private Attributes

float minRad
float maxRad

Detailed Description

Definition at line 18 of file isound.h.


Constructor & Destructor Documentation

SoundRadii::SoundRadii ( float  min = 0,
float  max = 0,
bool  inMetres = false 
) [inline]

Definition at line 23 of file isound.h.

References maxRad, minRad, and UNITS_PER_METER.


Member Function Documentation

float SoundRadii::getMax ( bool  inMetres = false  )  const [inline]

Definition at line 58 of file isound.h.

References maxRad, and METERS_PER_UNIT.

float SoundRadii::getMin ( bool  inMetres = false  )  const [inline]

Definition at line 53 of file isound.h.

References METERS_PER_UNIT, and minRad.

void SoundRadii::setMax ( float  max,
bool  inMetres = false 
) [inline]

Definition at line 44 of file isound.h.

References maxRad, and UNITS_PER_METER.

void SoundRadii::setMin ( float  min,
bool  inMetres = false 
) [inline]

Definition at line 35 of file isound.h.

References minRad, and UNITS_PER_METER.


Field Documentation

float SoundRadii::maxRad [private]

Definition at line 20 of file isound.h.

Referenced by getMax(), setMax(), and SoundRadii().

float SoundRadii::minRad [private]

Definition at line 20 of file isound.h.

Referenced by getMin(), setMin(), and SoundRadii().


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

Generated by  doxygen 1.6.2