|
Code_TYMPAN
4.4.0
Industrial site acoustic simulation
|
: To disable the rays which have a number of reflection events greater than a given threshold or reflecting on the ground if it is disabled. More...
#include <ReflectionSelector.h>


Public Member Functions | |
| ReflectionSelector (int _maxReflectionOrder=1, bool _acceptGround=false, OPERATOR _op=LESS_OR_EQUAL) | |
| 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) |
| Select the ray. More... | |
| virtual bool | insertWithTest (T *r) |
| Select the ray if it respects the criteria of this Selector. More... | |
| int | getMaximumReflectionOrder () |
| Get the reflection maximal number. More... | |
| void | setMaximumReflectionOrder (int _maxReflectionOrder) |
| Set the reflection maximal number. More... | |
| bool | isGroundAccepted () |
| Return true if ground reflection is accepted. More... | |
| void | setGroundAccepted (bool _acceptGround) |
| Set flag acceptGround. More... | |
| OPERATOR | getOperator () |
| Get the OPERATOR of this Selector. More... | |
| void | setOperator (OPERATOR _op) |
| Set the OPERATOR 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... | |
| 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... | |
Protected Attributes | |
| int | maxReflectionOrder |
| Reflection maximal number for this Selector criteria. More... | |
| bool | acceptGround |
| Flag to accept or not the reflection on the ground. More... | |
| OPERATOR | op |
| OPERATOR being used for the criteria (by default, LESS_OR_EQUAL) More... | |
Protected Attributes inherited from Selector< T > | |
| bool | deletable |
| Flag to know if the selector may be deleted or not. More... | |
: To disable the rays which have a number of reflection events greater than a given threshold or reflecting on the ground if it is disabled.
Definition at line 27 of file ReflectionSelector.h.
|
inline |
Constructor.
Definition at line 31 of file ReflectionSelector.h.

|
inlinevirtual |
Check if the ray respects the criteria of this Selector and return a SELECTOR_RESPOND.
Reimplemented from Selector< T >.
Definition at line 47 of file ReflectionSelector.h.

|
inlinevirtual |
Copy Selector.
Reimplemented from Selector< T >.
Definition at line 39 of file ReflectionSelector.h.

|
inline |
Get the reflection maximal number.
Definition at line 167 of file ReflectionSelector.h.
|
inline |
Get the OPERATOR of this Selector.
Definition at line 199 of file ReflectionSelector.h.
|
inlinevirtual |
Return the class type of the selector.
Reimplemented from Selector< T >.
Definition at line 215 of file ReflectionSelector.h.
|
inlinevirtual |
Select the ray.
Reimplemented from Selector< T >.
Definition at line 103 of file ReflectionSelector.h.
|
inlinevirtual |
Select the ray if it respects the criteria of this Selector.
Reimplemented from Selector< T >.
Definition at line 108 of file ReflectionSelector.h.

|
inline |
Return true if ground reflection is accepted.
Definition at line 183 of file ReflectionSelector.h.
|
inline |
Set flag acceptGround.
Definition at line 191 of file ReflectionSelector.h.
|
inline |
Set the reflection maximal number.
Definition at line 175 of file ReflectionSelector.h.
|
inline |
Set the OPERATOR of this Selector.
Definition at line 207 of file ReflectionSelector.h.

|
protected |
Flag to accept or not the reflection on the ground.
Definition at line 222 of file ReflectionSelector.h.
|
protected |
Reflection maximal number for this Selector criteria.
Definition at line 221 of file ReflectionSelector.h.
|
protected |
OPERATOR being used for the criteria (by default, LESS_OR_EQUAL)
Definition at line 223 of file ReflectionSelector.h.