Code_TYMPAN
4.2.0
Industrial site acoustic simulation
|
: To keep only one from two or more rays which have the same history (events on the same primitive) More...
#include <CoPlanaritySelector.h>
Public Member Functions | |
CoPlanaritySelector () | |
Constructor. More... | |
virtual | ~CoPlanaritySelector () |
Destructor. More... | |
virtual Selector< T > * | Copy () |
Copy Selector. More... | |
virtual void | reset () |
Reset (clear the data) of this Selector. More... | |
bool | haveCoPlanarEvents (T *r1, T *r2) |
bool | areBothReflections (Event *ev1, Event *ev2) |
bool | coPlanarityTest (Event *ev1, Event *ev2) |
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) |
Select the ray. More... | |
virtual bool | insertWithTest (T *r) |
Select the ray if it respects the criteria of this Selector. 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... | |
bool | isDeletable () |
Return true if the Selector may be deleted. More... | |
void | setIsDeletable (bool _isDeletable) |
Set deletable flag. More... | |
Protected Attributes | |
std::map< std::vector< unsigned int >, vector< T * >, CompareToKey > | selectedRays |
map of all event signatures with their corresponding rays More... | |
Protected Attributes inherited from Selector< T > | |
bool | deletable |
Flag to know if the selector may be deleted or not. More... | |
: To keep only one from two or more rays which have the same history (events on the same primitive)
Definition at line 29 of file CoPlanaritySelector.h.
|
inline |
Constructor.
Definition at line 33 of file CoPlanaritySelector.h.
|
inlinevirtual |
Destructor.
Definition at line 35 of file CoPlanaritySelector.h.
|
inline |
Definition at line 64 of file CoPlanaritySelector.h.
|
inlinevirtual |
Check if the ray respects the criteria of this Selector and return a SELECTOR_RESPOND.
Reimplemented from Selector< T >.
Definition at line 90 of file CoPlanaritySelector.h.
|
inline |
Definition at line 68 of file CoPlanaritySelector.h.
|
inlinevirtual |
Copy Selector.
Reimplemented from Selector< T >.
Definition at line 37 of file CoPlanaritySelector.h.
|
inlinevirtual |
Return the class type of the selector.
Reimplemented from Selector< T >.
Definition at line 192 of file CoPlanaritySelector.h.
|
inline |
|
inlinevirtual |
Select the ray.
Reimplemented from Selector< T >.
Definition at line 128 of file CoPlanaritySelector.h.
|
inlinevirtual |
Select the ray if it respects the criteria of this Selector.
Reimplemented from Selector< T >.
Definition at line 158 of file CoPlanaritySelector.h.
|
inlinevirtual |
Reset (clear the data) of this Selector.
Reimplemented from Selector< T >.
Definition at line 43 of file CoPlanaritySelector.h.
|
protected |
map of all event signatures with their corresponding rays
Definition at line 197 of file CoPlanaritySelector.h.