Regular grid Accelerator.
More...
#include <GridAccelerator.h>
Regular grid Accelerator.
Definition at line 62 of file GridAccelerator.h.
◆ GridAccelerator()
| GridAccelerator::GridAccelerator |
( |
std::vector< Shape * > * |
_initialMesh = NULL, |
|
|
BBox |
_globalBox = BBox() |
|
) |
| |
◆ ~GridAccelerator()
| virtual GridAccelerator::~GridAccelerator |
( |
| ) |
|
|
inlinevirtual |
◆ build()
| bool GridAccelerator::build |
( |
| ) |
|
|
virtual |
◆ getMaxPrimPerLeaf()
| int GridAccelerator::getMaxPrimPerLeaf |
( |
| ) |
|
|
inline |
◆ getMaxProfondeur()
| int GridAccelerator::getMaxProfondeur |
( |
| ) |
|
|
inline |
◆ offset()
| int GridAccelerator::offset |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
z |
|
) |
| const |
|
inlineprivate |
◆ posToVoxel()
| int GridAccelerator::posToVoxel |
( |
const vec3 & |
P, |
|
|
int |
axis |
|
) |
| const |
|
inlineprivate |
◆ print()
| void GridAccelerator::print |
( |
| ) |
|
◆ setMaxPrimPerLeaf()
| void GridAccelerator::setMaxPrimPerLeaf |
( |
int |
_maxPrimPerLeaf | ) |
|
|
inline |
◆ setMaxProfondeur()
| void GridAccelerator::setMaxProfondeur |
( |
int |
_maxProfondeur | ) |
|
|
inline |
◆ traverse()
| decimal GridAccelerator::traverse |
( |
Ray * |
r, |
|
|
std::list< Intersection > & |
result |
|
) |
| const |
|
virtual |
◆ voxelToPos()
| float GridAccelerator::voxelToPos |
( |
int |
p, |
|
|
int |
axis |
|
) |
| const |
|
inlineprivate |
◆ bounds
| BBox GridAccelerator::bounds |
|
private |
◆ globalBox
| BBox GridAccelerator::globalBox |
|
protected |
◆ invWidth
| vec3 GridAccelerator::invWidth |
|
private |
◆ maxPrimPerLeaf
| int GridAccelerator::maxPrimPerLeaf |
|
protected |
◆ maxProfondeur
| int GridAccelerator::maxProfondeur |
|
protected |
◆ nVoxels
| int GridAccelerator::nVoxels[3] |
|
private |
◆ primitives
| std::vector<Shape*> GridAccelerator::primitives |
|
protected |
Pointer to all the shapes (different from initialMesh) as it is reordered.
Definition at line 112 of file GridAccelerator.h.
◆ realMaxProfondeur
| int GridAccelerator::realMaxProfondeur |
|
protected |
◆ voxels
| Voxel** GridAccelerator::voxels |
|
private |
◆ width
| vec3 GridAccelerator::width |
|
private |
The documentation for this class was generated from the following files:
- /home/docs/checkouts/readthedocs.org/user_builds/code-tympan-fbessou/checkouts/latest/Tympan/geometric_methods/AcousticRaytracer/Accelerator/GridAccelerator.h
- /home/docs/checkouts/readthedocs.org/user_builds/code-tympan-fbessou/checkouts/latest/Tympan/geometric_methods/AcousticRaytracer/Accelerator/GridAccelerator.cpp