|
Code_TYMPAN
4.4.0
Industrial site acoustic simulation
|
A Sampler class for latitude sampling. More...
#include <Latitude2DSampler.h>


Public Member Functions | |
| Latitude2DSampler (const unsigned int &nbRays=0, const decimal &Theta=(decimal) M_PIDIV2, const decimal &Phi=(decimal) M_2PI) | |
| Constructors. More... | |
| Latitude2DSampler (const Latitude2DSampler &other) | |
| Latitude2DSampler (Latitude2DSampler *sampler) | |
| virtual Sampler * | Clone () |
| Clone a sample. More... | |
| virtual | ~Latitude2DSampler () |
| Destructor. More... | |
| virtual vec3 | getSample () |
| Return the sample. More... | |
| virtual bool | isAcceptableSample (vec3 v) |
| Return true for an acceptable sample. More... | |
| virtual void | init () |
| Initialize the sample. More... | |
| void | setStartTheta (const decimal &startTheta) |
| Set starting angle theta. More... | |
| decimal | getStartTheta () const |
| Get starting angle theta. More... | |
| void | setEndTheta (const decimal &endTheta) |
| Set ending angle theta. More... | |
| decimal | getEndTheta () const |
| Get ending angle theta. More... | |
| void | setStartPhi (const decimal &startPhi) |
| Set starting angle phi. More... | |
| decimal | getStartPhi () const |
| Get starting angle phi. More... | |
| void | setEndPhi (const decimal &endPhi) |
| Set ending angle phi. More... | |
| decimal | getEndPhi () const |
| Get ending angle phi. More... | |
Public Member Functions inherited from Sampler | |
| Sampler (const unsigned int &nbRays=0, const decimal &Theta=(decimal) M_PIDIV2, const decimal &Phi=(decimal) M_2PI) | |
| Default constructor. More... | |
| Sampler (const Sampler &other) | |
| Copy constructors. More... | |
| Sampler (Sampler *sampler) | |
| virtual | ~Sampler () |
| Destructor. More... | |
| virtual unsigned int | getNbRays () const |
| Get/Set the number of rays to launch. More... | |
| virtual void | setNbRays (const unsigned int &nbRays) |
| decimal | getTheta () const |
| Get/Set the polar angle. More... | |
| void | setTheta (const decimal &Theta) |
| decimal | getPhi () const |
| Get/Set the equatorial polar angle. More... | |
| void | setPhi (const decimal &Phi) |
| virtual unsigned int | computeDiffractionNbr (const decimal &theta) |
| Return the number of rays to launch after a diffraction event. More... | |
Private Attributes | |
| decimal | _startTheta |
| decimal | _endTheta |
| decimal | _startPhi |
| decimal | _endPhi |
| decimal | _deltaPhi |
| unsigned int | _i |
Additional Inherited Members | |
Protected Attributes inherited from Sampler | |
| unsigned int | _nb_rays |
| Number of rays to launch. More... | |
| decimal | _theta |
| Global polar angle. More... | |
| decimal | _phi |
| Global equatorial angle. More... | |
A Sampler class for latitude sampling.
Definition at line 32 of file Latitude2DSampler.h.
|
inline |
Constructors.
Definition at line 37 of file Latitude2DSampler.h.


|
inline |
|
inline |
|
inlinevirtual |
Destructor.
Definition at line 69 of file Latitude2DSampler.h.
|
inlinevirtual |
Clone a sample.
Reimplemented from Sampler.
Definition at line 63 of file Latitude2DSampler.h.

|
inline |
Get ending angle phi.
Definition at line 137 of file Latitude2DSampler.h.
|
inline |
Get ending angle theta.
Definition at line 115 of file Latitude2DSampler.h.
|
inlinevirtual |
Return the sample.
Reimplemented from Sampler.
Definition at line 71 of file Latitude2DSampler.h.

|
inline |
Get starting angle phi.
Definition at line 126 of file Latitude2DSampler.h.
|
inline |
Get starting angle theta.
Definition at line 104 of file Latitude2DSampler.h.
|
inlinevirtual |
Initialize the sample.
Reimplemented from Sampler.
Definition at line 85 of file Latitude2DSampler.h.

|
inlinevirtual |
Return true for an acceptable sample.
Reimplemented from Sampler.
Definition at line 81 of file Latitude2DSampler.h.
|
inline |
Set ending angle phi.
Definition at line 131 of file Latitude2DSampler.h.

|
inline |
Set ending angle theta.
Definition at line 109 of file Latitude2DSampler.h.

|
inline |
Set starting angle phi.
Definition at line 120 of file Latitude2DSampler.h.

|
inline |
Set starting angle theta.
Definition at line 98 of file Latitude2DSampler.h.

|
private |
Definition at line 147 of file Latitude2DSampler.h.
|
private |
Definition at line 146 of file Latitude2DSampler.h.
|
private |
Definition at line 144 of file Latitude2DSampler.h.
|
private |
Definition at line 148 of file Latitude2DSampler.h.
|
private |
Definition at line 145 of file Latitude2DSampler.h.
|
private |
Definition at line 143 of file Latitude2DSampler.h.