Acoustic source class.
More...
#include <Source.h>
Acoustic source class.
Definition at line 32 of file Source.h.
◆ Source() [1/2]
| Source::Source |
( |
std::string |
_name = "unknown source" | ) |
|
|
inline |
◆ Source() [2/2]
| Source::Source |
( |
const Source & |
other | ) |
|
|
inline |
Copy constructor.
Definition at line 72 of file Source.h.
◆ ~Source()
| virtual Source::~Source |
( |
| ) |
|
|
inlinevirtual |
Destructor.
Definition at line 92 of file Source.h.
◆ getDirection()
| bool Source::getDirection |
( |
vec3 & |
r | ) |
|
|
inline |
Get a direction (return false if all rays has been launched)
Definition at line 171 of file Source.h.
◆ getId()
| unsigned int Source::getId |
( |
| ) |
|
|
inline |
◆ getInitialRayCount()
| int Source::getInitialRayCount |
( |
| ) |
|
|
inline |
Get the initial rays counter.
Definition at line 140 of file Source.h.
◆ getName()
| std::string Source::getName |
( |
| ) |
|
|
inline |
◆ getNbRayLeft()
| int Source::getNbRayLeft |
( |
| ) |
|
|
inline |
Get the number of remaining rays to generate.
Definition at line 126 of file Source.h.
◆ getPosition()
| vec3 Source::getPosition |
( |
| ) |
|
|
inline |
◆ getSampler()
◆ getSpectre()
Get the spectrum.
Definition at line 115 of file Source.h.
◆ setId()
| void Source::setId |
( |
unsigned int |
_id | ) |
|
|
inline |
◆ setInitialRayCount()
| void Source::setInitialRayCount |
( |
int |
nb | ) |
|
|
inline |
Set the initial rays counter.
Definition at line 145 of file Source.h.
◆ setName()
| void Source::setName |
( |
const std::string & |
_name | ) |
|
|
inline |
◆ setNbRayLeft()
| void Source::setNbRayLeft |
( |
int |
nb | ) |
|
|
inline |
Set the number of remaining rays to generate.
Definition at line 131 of file Source.h.
◆ setPosition()
| void Source::setPosition |
( |
const vec3 |
_pos | ) |
|
|
inline |
◆ setSampler()
| void Source::setSampler |
( |
Sampler * |
_sampler | ) |
|
|
inline |
◆ setSpectre()
| void Source::setSpectre |
( |
const Spectre & |
spectre | ) |
|
|
inline |
Set the spectrum.
Definition at line 120 of file Source.h.
◆ id
◆ indice
Index to know which ray we are working on.
Definition at line 218 of file Source.h.
◆ initialRayCount
| int Source::initialRayCount |
|
protected |
Initial rays counter.
Definition at line 216 of file Source.h.
◆ name
◆ nbRayLeft
Number of remaining rays to generate.
Definition at line 215 of file Source.h.
◆ pos
◆ sampler
◆ spectrePuissance
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/code-tympan-fbessou/checkouts/latest/Tympan/geometric_methods/AcousticRaytracer/Acoustic/Source.h