|
Code_TYMPAN
4.4.0
Industrial site acoustic simulation
|
Pruning strategy which prunes the tree when the reflecting segment to be added in the tree is not visible by the parent image source through the parent reflecting segment. More...
#include <TYReflectionPruningStrategy.h>


Public Member Functions | |
| TYReflectionVisibilityPruningStrategy () | |
| std::unique_ptr< TYAbstractReflectionPruningStrategy > | instanciate () const override |
| Instanciate a new pruning strategy of the same type. More... | |
| void | initialize (const std::vector< const TYSIntersection * > ¤tReflectingSegments, const std::deque< OPoint3D > ¤tImageSources) override |
| Inform the pruning strategy of the current reflecting segments tree state. More... | |
| bool | pruningCriterionMet (const TYSIntersection &nextReflectingSegment) const override |
| Check if the tree can be pruned before inserting the next reflecting segment. More... | |
Public Member Functions inherited from TYAbstractReflectionPruningStrategy | |
| virtual | ~TYAbstractReflectionPruningStrategy ()=default |
Private Attributes | |
| std::unique_ptr< VisibilityCone > | _pVisibilityCone |
Additional Inherited Members | |
Protected Member Functions inherited from TYAbstractReflectionPruningStrategy | |
| TYAbstractReflectionPruningStrategy ()=default | |
Pruning strategy which prunes the tree when the reflecting segment to be added in the tree is not visible by the parent image source through the parent reflecting segment.
Definition at line 90 of file TYReflectionPruningStrategy.h.
|
inline |
Definition at line 93 of file TYReflectionPruningStrategy.h.
|
overridevirtual |
Inform the pruning strategy of the current reflecting segments tree state.
| currentReflectingSegments | Current list of reflecting segments B1 to Bn |
| currentImageSources | Current list of image sources from S0 to Sn |
Implements TYAbstractReflectionPruningStrategy.
Definition at line 19 of file TYReflectionPruningStrategy.cpp.
|
inlineoverridevirtual |
Instanciate a new pruning strategy of the same type.
Implements TYAbstractReflectionPruningStrategy.
Definition at line 95 of file TYReflectionPruningStrategy.h.
|
overridevirtual |
Check if the tree can be pruned before inserting the next reflecting segment.
| nextReflectingSegment | next reflecting segment to add as a leaf of the current tree |
Implements TYAbstractReflectionPruningStrategy.
Definition at line 32 of file TYReflectionPruningStrategy.cpp.
|
private |
Definition at line 106 of file TYReflectionPruningStrategy.h.