25 :
TYTask(nodes, triangles, materials, nNbTrajets), _solver(solver), _trajet(trajet)
std::vector< OPoint3D > TabPoint3D
Class to define a segment.
void compute(const std::deque< TYSIntersection > &tabIntersect, TYTrajet9613Solver &trajet, TabPoint3D &ptsTop, TabPoint3D &ptsLeft, TabPoint3D &ptsRight)
Main entry point, trigger acoustic computations.
virtual void computePath(const std::deque< TYSIntersection > &tabIntersect, const TYTrajet &trajet, TabPoint3D &ptsTop, TabPoint3D &ptsLeft, TabPoint3D &ptsRight)
Compute a path between a source and a receptor. The receptor is not included in the path.
TYAcousticModel9613Solver * getAcousticModel()
Get acoustic model.
TYAcousticPathFinder * getAcousticPathFinder()
Get the acoustic path finder.
void selectFaces(std::deque< TYSIntersection > &tabIntersect, const OSegment3D &rayon, const string &sourceVolumeId)
Delegate to _faceSelector the build of the array of intersections.
virtual void getRayonFromTrajet(OSegment3D &rayon) override
Build a ray from the source->receptor Trajet.
void launchAcousticComputation(TabPoint3D &ptsTop, TabPoint3D &ptsLeft, TabPoint3D &ptsRight) override
Delegate to solver the acoustic computation for this task.
TYTask9613Solver(TYSolver9613Solver &solver, const tympan::nodes_pool_t &nodes, const tympan::triangle_pool_t &triangles, const tympan::material_pool_t &materials, TYTrajet9613Solver &trajet, int nNbTrajets)
Constructor.
TYTrajet9613Solver & _trajet
Reference to the path.
TYSolver9613Solver & _solver
Reference to the solver.
virtual void selectFaces(OSegment3D &rayon) override
Delegate to solver the build of the intersecting faces between the scene and the ray.
virtual void computePath(TabPoint3D &ptsTop, TabPoint3D &ptsLeft, TabPoint3D &ptsRight) override
Delegate to solver the computation of the intersecting top, left and right points between the scene a...
Task of a thread collection for Tympan.
std::deque< TYSIntersection > _tabIntersect
Array of intersections.
This class TYTrajet (journey) links a couple Source-Receptor and a collection of paths,...
void getPtSetPtRfromOSeg3D(OSegment3D &seg) const
tympan::AcousticSource & asrc
Business source.
string volume_id
Volume id.
std::deque< Point > nodes_pool_t
std::deque< material_ptr_t > material_pool_t
std::deque< AcousticTriangle > triangle_pool_t
Array of AcousticTriangle.