Code_TYMPAN  4.2.0
Industrial site acoustic simulation
Public Member Functions | Private Member Functions | Private Attributes | List of all members
TYAcousticPathFinder Class Reference

Build the acoustic path for the default solver. More...

#include <TYAcousticPathFinder.h>

Collaboration diagram for TYAcousticPathFinder:
Collaboration graph
[legend]

Public Member Functions

 TYAcousticPathFinder (TYSolver &solver)
 Constructor. More...
 
virtual ~TYAcousticPathFinder ()
 Destructor. More...
 
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. More...
 
virtual void init ()
 Initialize the class parameters. More...
 

Private Member Functions

 FRIEND_TEST (test_TYAcousticPathFinder, computePath)
 
bool computeParcoursLateraux (const std::deque< TYSIntersection > &tabIntersect, const OSegment3D &rayon, const bool &dessus, TabPoint3D &ptsLeft, TabPoint3D &ptsRight) const
 

Private Attributes

TYSolver_solver
 Reference to the solver. More...
 
bool _bCalcTrajetHorizontaux
 Boolean to compute or not the horizontal trajectories. More...
 

Detailed Description

Build the acoustic path for the default solver.

Definition at line 29 of file TYAcousticPathFinder.h.

Constructor & Destructor Documentation

◆ TYAcousticPathFinder()

TYAcousticPathFinder::TYAcousticPathFinder ( TYSolver solver)

Constructor.

Definition at line 21 of file TYAcousticPathFinder.cpp.

◆ ~TYAcousticPathFinder()

TYAcousticPathFinder::~TYAcousticPathFinder ( )
virtual

Destructor.

Definition at line 27 of file TYAcousticPathFinder.cpp.

Member Function Documentation

◆ computeParcoursLateraux()

bool TYAcousticPathFinder::computeParcoursLateraux ( const std::deque< TYSIntersection > &  tabIntersect,
const OSegment3D rayon,
const bool &  dessus,
TabPoint3D ptsLeft,
TabPoint3D ptsRight 
) const
private

Definition at line 53 of file TYAcousticPathFinder.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ computePath()

void TYAcousticPathFinder::computePath ( const std::deque< TYSIntersection > &  tabIntersect,
const TYTrajet trajet,
TabPoint3D ptsTop,
TabPoint3D ptsLeft,
TabPoint3D ptsRight 
)
virtual

Compute a path between a source and a receptor. The receptor is not included in the path.

Parameters
tabIntersectArray of intersections
trajetTrajectories
ptsTopPath (array of points) in case of face visualization (_bCalcTrajetHorizontaux false)
ptsLeftPath (array of points) in case of top visualization (_bCalcTrajetHorizontaux true)
ptsRightPath (array of points) in case of top visualization (_bCalcTrajetHorizontaux true)

Definition at line 36 of file TYAcousticPathFinder.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FRIEND_TEST()

TYAcousticPathFinder::FRIEND_TEST ( test_TYAcousticPathFinder  ,
computePath   
)
private

◆ init()

void TYAcousticPathFinder::init ( )
virtual

Initialize the class parameters.

Definition at line 31 of file TYAcousticPathFinder.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ _bCalcTrajetHorizontaux

bool TYAcousticPathFinder::_bCalcTrajetHorizontaux
private

Boolean to compute or not the horizontal trajectories.

Definition at line 57 of file TYAcousticPathFinder.h.

◆ _solver

TYSolver& TYAcousticPathFinder::_solver
private

Reference to the solver.

Definition at line 52 of file TYAcousticPathFinder.h.


The documentation for this class was generated from the following files: