|
Code_TYMPAN
4.4.0
Industrial site acoustic simulation
|
Brute-force algorithm. More...
#include <BruteForceAccelerator.h>


Public Member Functions | |
| BruteForceAccelerator () | |
| Default constructor. More... | |
| BruteForceAccelerator (std::vector< Shape * > *_shapes, BBox &_globalBox) | |
| Constructor. More... | |
| BruteForceAccelerator (const BruteForceAccelerator &other) | |
| Copy constructor. More... | |
| virtual | ~BruteForceAccelerator () |
| Destructor. More... | |
| virtual bool | build () |
| Build this accelerator. More... | |
| virtual decimal | traverse (Ray *r, std::list< Intersection > &result) const |
| Run this accelerator. More... | |
Public Member Functions inherited from Accelerator | |
| Accelerator () | |
| Constructors. More... | |
| Accelerator (std::vector< Shape * > *_shapes, BBox &_globalBox) | |
| Accelerator (const Accelerator &other) | |
| Copy constructor. More... | |
| virtual | ~Accelerator () |
| Destructor. More... | |
| leafTreatment::treatment | getIntersectionChoice () |
| Get/Set the Intersection choice. More... | |
| void | setIntersectionChoice (leafTreatment::treatment _intersectionChoice=leafTreatment::FIRST) |
Additional Inherited Members | |
Protected Member Functions inherited from Accelerator | |
| void | defineLeafFunction () |
| To define leaf function. More... | |
Protected Attributes inherited from Accelerator | |
| decimal(* | pLeafTreatmentFunction )(std::list< Intersection > &, decimal) |
| Pointer to the treatment function of leaf. More... | |
| leafTreatment::treatment | intersectionChoice |
| Intersection choice. More... | |
| std::vector< Shape * > * | shapes |
| Vector of pointers to shapes. More... | |
| BBox | globalBox |
| Global bounding box. More... | |
Brute-force algorithm.
Definition at line 24 of file BruteForceAccelerator.h.
|
inline |
Default constructor.
Definition at line 29 of file BruteForceAccelerator.h.
|
inline |
Constructor.
Definition at line 31 of file BruteForceAccelerator.h.
|
inline |
Copy constructor.
Definition at line 35 of file BruteForceAccelerator.h.
|
inlinevirtual |
Destructor.
Definition at line 42 of file BruteForceAccelerator.h.
|
inlinevirtual |
Build this accelerator.
Reimplemented from Accelerator.
Definition at line 44 of file BruteForceAccelerator.h.
|
virtual |
Run this accelerator.
Reimplemented from Accelerator.
Definition at line 18 of file BruteForceAccelerator.cpp.