Code_TYMPAN
4.2.0
Industrial site acoustic simulation
|
Class to apply a filter to the group of valid rays found by ray tracing. More...
#include <PostFilter.h>
Public Member Functions | |
PostFilter (std::deque< Ray *> *tabRay) | |
Constructor. More... | |
~PostFilter () | |
Destructor. More... | |
virtual unsigned int | Process () |
Apply a filter to the group of valid rays found by ray tracing. More... | |
virtual unsigned int | buildFamilies (families &mapFamilies, typeevent typeEv) |
Group rays with the same signature (same source and receptor events of same kind in the same order) More... | |
virtual void | rebuildTabRays (families &mapFamilies) |
Rebuild rays tab after treatment. More... | |
virtual sequenceMap | buildSequenceMap (const signature &sig, std::vector< Ray *> tabRay, const typeevent &evType) |
Sort rays by events of type evType encountered along is path. More... | |
decimal | minimum_distance (const decimal &thickness, const decimal &d_R) const |
compute minimum acceptable distance between two rays thickness is the thickness of a ray after a given distance d_R is the difference length between two rays More... | |
Public Member Functions inherited from Base | |
Base () | |
Default constructor. More... | |
Base (const Base &other) | |
Copy constructor. More... | |
virtual | ~Base () |
Destructor. More... | |
std::string | getName () |
Get the name of the object. More... | |
void | setName (const std::string &_name) |
Set the name of the object. More... | |
Protected Member Functions | |
virtual sequence | buildSequence (const signature &sig, Ray *ray, const typeevent &evType) |
Build the sequence of physical shape encountered by the ray. More... | |
virtual std::deque< Ray * >::iterator | erase_element (std::deque< Ray *> &tabRays, std::deque< Ray *>::iterator &iter) |
Delete an element in the rays array. More... | |
Protected Attributes | |
std::deque< Ray * > * | _tabRays |
Rays tab: pointers list of rays. More... | |
Protected Attributes inherited from Base | |
std::string | name |
Each instantiated object may be named. More... | |
Class to apply a filter to the group of valid rays found by ray tracing.
Definition at line 30 of file PostFilter.h.
|
inline |
Constructor.
Definition at line 34 of file PostFilter.h.
|
inline |
Destructor.
Definition at line 36 of file PostFilter.h.
|
inlinevirtual |
Group rays with the same signature (same source and receptor events of same kind in the same order)
Definition at line 48 of file PostFilter.h.
|
inlineprotectedvirtual |
Build the sequence of physical shape encountered by the ray.
Definition at line 107 of file PostFilter.h.
|
inlinevirtual |
Sort rays by events of type evType encountered along is path.
Definition at line 80 of file PostFilter.h.
|
inlineprotectedvirtual |
Delete an element in the rays array.
Definition at line 119 of file PostFilter.h.
|
inline |
compute minimum acceptable distance between two rays thickness is the thickness of a ray after a given distance d_R is the difference length between two rays
Definition at line 98 of file PostFilter.h.
|
inlinevirtual |
Apply a filter to the group of valid rays found by ray tracing.
Definition at line 42 of file PostFilter.h.
|
inlinevirtual |
Rebuild rays tab after treatment.
Definition at line 61 of file PostFilter.h.
|
protected |
Rays tab: pointers list of rays.
Definition at line 131 of file PostFilter.h.