18 #include "Properties.h"
28 bool directivityFlag_;
31 std::vector<double> directivityTbl_;
void updateDirectivity(long **tbl)
Set directivity table to values obtained from the Max patch.
long aziAngle() const
Get azimuth angle.
bool directivityFlag() const
True if the source's directivity is to be taken into account, false otherwise.
virtual void printPos() const
Post xyz position.
double xPos() const
Get x position.
void yPosAbs(double yPos)
Set y position in meters.
Source(Room &room, Mirror *mirrors)
Class constructor, taking the Room to which the source belongs, as well as a pointer to the acoustic ...
virtual ~Source()
Class destructor.
bool flag() const
True if object has moved.
double directivityAt(long angle) const
Retrieve directivity gain for a given angle.
void xPosAbs(double xPos)
Set x position in meters.
double zPos() const
Get z position.
void yPosRel(double yPos)
Set y position relative to room depth (0.0 to 1.0).
void zPosRel(double zPos)
Set z position relative to room height (0.0 to 1.0).
double yPos() const
Get y position.
void zPosAbs(double zPos)
Set z position in meters.
void xPosRel(double xPos)
Set x position relative to room width (0.0 to 1.0).