Code_TYMPAN  4.2.0
Industrial site acoustic simulation
Public Member Functions | Protected Attributes | List of all members
DiffractionPathSelector< T > Class Template Reference

: Rejects rays if the cumulative length added by the diffractions events in comparison to the length of the direct path between reflections (i.e, ignoring diffractions) exceeds some threshold More...

#include <DiffractionPathSelector.h>

Inheritance diagram for DiffractionPathSelector< T >:
Inheritance graph
[legend]
Collaboration diagram for DiffractionPathSelector< T >:
Collaboration graph
[legend]

Public Member Functions

 DiffractionPathSelector (double _maximumDelta=8)
 Constructor. More...
 
virtual Selector< T > * Copy ()
 Copy Selector. More...
 
virtual SELECTOR_RESPOND canBeInserted (T *r, unsigned long long &replace)
 Check if the ray respects the criteria of this Selector and return a SELECTOR_RESPOND. More...
 
virtual void insert (T *r, unsigned long long &replace)
 Select the ray. More...
 
virtual bool insertWithTest (T *r)
 Select the ray if it respects the criteria of this Selector. More...
 
double getMaximumDelta ()
 Get maximumDelta. More...
 
void setMaximumDelta (double _maximumDelta)
 Set maximumDelta. More...
 
virtual const char * getSelectorName ()
 Return the class type of the selector. More...
 
- Public Member Functions inherited from Selector< T >
 Selector ()
 Base constructor. More...
 
virtual ~Selector ()
 Destructor. More...
 
virtual void reset ()
 Reset (clear the data) of this Selector. More...
 
bool isDeletable ()
 Return true if the Selector may be deleted. More...
 
void setIsDeletable (bool _isDeletable)
 Set deletable flag. More...
 
virtual void insert (T *r)
 Select the ray. More...
 

Protected Attributes

double maximumDelta
 Maximal path length difference between rays produced by diffraction. More...
 
- Protected Attributes inherited from Selector< T >
bool deletable
 Flag to know if the selector may be deleted or not. More...
 

Detailed Description

template<typename T>
class DiffractionPathSelector< T >

: Rejects rays if the cumulative length added by the diffractions events in comparison to the length of the direct path between reflections (i.e, ignoring diffractions) exceeds some threshold

Definition at line 26 of file DiffractionPathSelector.h.

Constructor & Destructor Documentation

◆ DiffractionPathSelector()

template<typename T >
DiffractionPathSelector< T >::DiffractionPathSelector ( double  _maximumDelta = 8)
inline

Constructor.

Definition at line 30 of file DiffractionPathSelector.h.

Here is the caller graph for this function:

Member Function Documentation

◆ canBeInserted()

template<typename T >
virtual SELECTOR_RESPOND DiffractionPathSelector< T >::canBeInserted ( T *  r,
unsigned long long &  replace 
)
inlinevirtual

Check if the ray respects the criteria of this Selector and return a SELECTOR_RESPOND.

Reimplemented from Selector< T >.

Definition at line 38 of file DiffractionPathSelector.h.

Here is the call graph for this function:

◆ Copy()

template<typename T >
virtual Selector<T>* DiffractionPathSelector< T >::Copy ( )
inlinevirtual

Copy Selector.

Reimplemented from Selector< T >.

Definition at line 31 of file DiffractionPathSelector.h.

Here is the call graph for this function:

◆ getMaximumDelta()

template<typename T >
double DiffractionPathSelector< T >::getMaximumDelta ( )
inline

Get maximumDelta.

Definition at line 181 of file DiffractionPathSelector.h.

◆ getSelectorName()

template<typename T >
virtual const char* DiffractionPathSelector< T >::getSelectorName ( )
inlinevirtual

Return the class type of the selector.

Reimplemented from Selector< T >.

Definition at line 191 of file DiffractionPathSelector.h.

◆ insert()

template<typename T >
virtual void DiffractionPathSelector< T >::insert ( T *  r,
unsigned long long &  replace 
)
inlinevirtual

Select the ray.

Definition at line 108 of file DiffractionPathSelector.h.

◆ insertWithTest()

template<typename T >
virtual bool DiffractionPathSelector< T >::insertWithTest ( T *  r)
inlinevirtual

Select the ray if it respects the criteria of this Selector.

Reimplemented from Selector< T >.

Definition at line 110 of file DiffractionPathSelector.h.

Here is the call graph for this function:

◆ setMaximumDelta()

template<typename T >
void DiffractionPathSelector< T >::setMaximumDelta ( double  _maximumDelta)
inline

Set maximumDelta.

Definition at line 186 of file DiffractionPathSelector.h.

Member Data Documentation

◆ maximumDelta

template<typename T >
double DiffractionPathSelector< T >::maximumDelta
protected

Maximal path length difference between rays produced by diffraction.

Definition at line 197 of file DiffractionPathSelector.h.


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