|
SPAOP
|
A class containing the wonder-specific information about a room (name and vertices). More...
#include <Room.h>
Classes | |
| struct | Vertex |
| A struct describing a vertex with its three coordinates. More... | |
Public Member Functions | |
| Room (const std::string &name="", int nOfVertices=0) | |
| Constructor. More... | |
| virtual | ~Room () |
| Destructor. More... | |
| const std::string & | getName () const |
| The name of the room as provided by cWONDER. More... | |
| int | getNumberOfVertices () const |
| Returns the number of vertices of the room. More... | |
| const Vertex & | getVertex (int vertexNo) const |
| Returns a reference to a Vertex of the Room. More... | |
| void | setVertex (int vertexNo, const Vertex vertex) |
| Updates a vertex of the room. More... | |
A class containing the wonder-specific information about a room (name and vertices).
(Within WONDER, the "room" is actually a description of the positioning of the WFS speaker array.)
| wonder::Room::Room | ( | const std::string & | name = "", |
| int | nOfVertices = 0 |
||
| ) |
Constructor.
| name | The name of the room. |
| nOfVertices | The number of vertices. |
|
virtual |
Destructor.
| const std::string & wonder::Room::getName | ( | ) | const |
The name of the room as provided by cWONDER.
(cWONDER reads it from a config file.)
| int wonder::Room::getNumberOfVertices | ( | ) | const |
Returns the number of vertices of the room.
| const Room::Vertex & wonder::Room::getVertex | ( | int | vertexNo | ) | const |
1.8.6