64 std::vector<Recepteur>& recepteurs);
75 virtual double leafTreatment(vector<Intersection>& primitives);
120 virtual void clean();
140 std::vector<Recepteur>& recepteurs);
166 #ifdef _ALLOW_TARGETING_
SelectorManager< Ray > selectorManagerIntersection
virtual void finish()
End the operations.
bool _useFresnelArea
Flag to use Fresnel weighting.
virtual bool invalidRayon(Ray *r)
Method to arrange the invalid rays. The invalid rays are put away into a debug_ray array in order to ...
virtual bool valideIntersection(Ray *r, Intersection *inter)
Validation function for an intersection. If the intersection is validated, an event is created and ad...
virtual bool valideRayon(Ray *r)
Ray validation. The developer may, for instance, choose a filtering on the rays and only validate sin...
virtual bool postTreatmentScene(Scene *scene, std::vector< Source > &sources, std::vector< Recepteur > &recepteurs)
Virtual function to post-process the Scene. It has two phases: transform the meta-objects and load th...
SelectorManager< Ray > selectorManagerValidation
: Describes a ray by a pair of unsigned int. The first one gives the source number (in the range 0-40...
This class mainly define a mesh (list of Shape) used by the Simulation object.
The Solver class gives an interface to the developer to add easily a new acoustic method using ray tr...
virtual bool valideRayon(Ray *r)
Ray validation. The developer may, for instance, choose a filtering on the rays and only validate sin...
deque< Ray * > valid_rays
Rays list which are validated by the solver.
virtual bool postTreatmentScene(Scene *scene, std::vector< Source > &sources, std::vector< Recepteur > &recepteurs)
Virtual function to post-process the Scene. It has two phases: transform the meta-objects and load th...
virtual bool valideIntersection(Ray *r, Intersection *inter)
Validation function for an intersection. If the intersection is validated, an event is created and ad...
deque< Ray * > debug_rays
Rays list which are invalidated by the solver.
Solver()
Default constructor.
virtual bool loadParameters()
Load the computation parameters.
Solver(Solver *_solver)
Copy constructor.
deque< Ray * > * getDebugRays()
Return a pointer to the invalidated rays list.
virtual double leafTreatment(vector< Intersection > &primitives)
Leaf treatment function for accelerators. The default is to keep only the first intersection....
virtual bool invalidRayon(Ray *r)
Method to arrange the invalid rays. The invalid rays are put away into a debug_ray array in order to ...
virtual void finish()
End the operations.
virtual deque< Ray * > * getValidRays()
Return a pointer to the validated rays list.
virtual void clean()
Delete the valid rays array.