26 #ifndef LONGITUDE_2D_SAMPLER
27 #define LONGITUDE_2D_SAMPLER
A Sampler class for longitudinal sampling.
decimal getEndPhi() const
Longitude2DSampler(Longitude2DSampler *sampler)
void setStartTheta(const decimal &startTheta)
Set/Get starting angle theta.
void setStartPhi(const decimal &startPhi)
Set/Get starting angle phi.
void setEndPhi(const decimal &endPhi)
Set/Get ending angle phi.
virtual bool isAcceptableSample(vec3 v)
Return true for an acceptable sample.
Longitude2DSampler(const Longitude2DSampler &other)
void setEndTheta(const decimal &endTheta)
Set/Get ending angle theta.
decimal getEndTheta() const
decimal getStartPhi() const
virtual vec3 getSample()
Return the sample.
Longitude2DSampler(const unsigned int &nbRays=0, const decimal &Theta=(decimal) M_PIDIV2, const decimal &Phi=(decimal) M_2PI)
Constructors.
virtual ~Longitude2DSampler()
Destructor.
virtual Sampler * Clone()
Clone a sample.
virtual void init()
Initialize the sample.
decimal getStartTheta() const
Sampler class and its sub-classes describe ray generators used in AcousticRayTracer....
unsigned int _nb_rays
Number of rays to launch.
base_vec3< decimal > vec3