Code_TYMPAN  4.4.0
Industrial site acoustic simulation
Public Member Functions | Protected Member Functions | List of all members
TYAbstractReflectionPathFinder Class Referenceabstract

Interface for multiple reflection paths computation algorithms. More...

#include <TYReflectionPathFinder.h>

Inheritance diagram for TYAbstractReflectionPathFinder:
Inheritance graph
[legend]

Public Member Functions

virtual ~TYAbstractReflectionPathFinder ()=default
 
virtual std::unique_ptr< TYAbstractReflectionPathFinderinstanciate () const =0
 Instanciate a new reflection path finder of the same type. More...
 
virtual bool setup (size_t maxOrder, const std::deque< TYSIntersection > &tabIntersect, const OPoint3D &source, const OPoint3D &receptor)=0
 Set the scene to be treated by the path finder. More...
 
virtual bool remainingPaths () const =0
 Tell if some paths remain in the set of remaining paths. More...
 
virtual TYReflectionPath popPath ()=0
 Give the last computed reflection path, and remove it from the set of remaining paths. More...
 

Protected Member Functions

 TYAbstractReflectionPathFinder ()=default
 

Detailed Description

Interface for multiple reflection paths computation algorithms.

Definition at line 39 of file TYReflectionPathFinder.h.

Constructor & Destructor Documentation

◆ ~TYAbstractReflectionPathFinder()

virtual TYAbstractReflectionPathFinder::~TYAbstractReflectionPathFinder ( )
virtualdefault

◆ TYAbstractReflectionPathFinder()

TYAbstractReflectionPathFinder::TYAbstractReflectionPathFinder ( )
protecteddefault

Member Function Documentation

◆ instanciate()

virtual std::unique_ptr<TYAbstractReflectionPathFinder> TYAbstractReflectionPathFinder::instanciate ( ) const
pure virtual

Instanciate a new reflection path finder of the same type.

Implemented in TYReflectionPathFinderART.

◆ popPath()

virtual TYReflectionPath TYAbstractReflectionPathFinder::popPath ( )
pure virtual

Give the last computed reflection path, and remove it from the set of remaining paths.

Returns
a reflection path

Implemented in TYReflectionPathFinderART.

◆ remainingPaths()

virtual bool TYAbstractReflectionPathFinder::remainingPaths ( ) const
pure virtual

Tell if some paths remain in the set of remaining paths.

Returns
true if at least one path can be obtained from popPath

Implemented in TYReflectionPathFinderART.

◆ setup()

virtual bool TYAbstractReflectionPathFinder::setup ( size_t  maxOrder,
const std::deque< TYSIntersection > &  tabIntersect,
const OPoint3D source,
const OPoint3D receptor 
)
pure virtual

Set the scene to be treated by the path finder.

Parameters
maxOrdermaximum order of the reflection paths to find
tabIntersectset of intersecting segments of the scene
sourcesource point from which reflection paths must start
receptorreceptor point to which reflection paths must end
Returns
true if setup succeeded

Implemented in TYReflectionPathFinderART.


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