|
Jamoma API
0.6.0.a19
|
#include <Room.h>
Collaboration diagram for Room:Public Member Functions | |
| Room (double newWidth, double newDepth, double newHeight, short numChannels, short numSources, short reflOrder) | |
| Class constructor. | |
| void | print () |
| Print information about this room and its contents. | |
| void | renderMirrors () |
| Update mirrors. | |
| void | sourceChanged () |
| Allows source to notify mirror that it has changed. | |
| bool | mirrorFlag () const |
| Returns true if mirrors have changed. | |
| short | reflOrder () const |
| Get reflection order (either 0, 1 or 2). | |
| void | width (double newWidth) |
| Set width. | |
| void | height (double newHeight) |
| Set height. | |
| void | depth (double newDepth) |
| Set depth. | |
| double | width () const |
| Get width. | |
| double | height () const |
| Get height. | |
| double | depth () const |
| Get depth. | |
| double | halfWidth () const |
| Get half width. | |
| double | halfHeight () const |
| Get half height. | |
| double | halfDepth () const |
| Get half depth. | |
| ~Room () | |
| Class destructor. | |
Public Attributes | |
| Source * | sources |
| Sound source. | |
| Mirror * | mirrors |
| Sound mirrors. | |
| HiMidLow ** | walls |
| Filters which simulate room damping. | |
| HiMidLow ** | xfadeWalls |
| Filters which simulate room damping for XFADE_LITE mode. | |
| LowPass ** | air |
| Filters which simulate air absorption. | |
| LowPass * | xfadeAir |
| Filters which simulate air absorption for XFADE_LITE mode. | |
| MicArray | mics |
| Collection of mics. | |
Room class.
This class implements a room, composed of 4 walls, a ceiling and a floor, as well as a sound source and reflections.
based on code by Jonas Braasch, adapted by Tristan Matthews, Nils Peters, 2007-2008.
This class implements a room, composed of 4 walls, a ceiling and a floor, as well as a sound source and reflections.
by Tristan Matthews and Nils Peters, 2007-2008.