#include <NvBlastExtAuthoringAccelerator.h>

Public Member Functions | |
| BBoxBasedAccelerator (const Mesh *mesh, int32_t resolution) | |
| int32_t | getNextFacet () override |
| void | setPointCmpDirection (int32_t dir) override |
| void | setState (const NvcVec3 &p) override |
| void | setState (const NvcBounds3 *bounds) override |
| void | setState (const Vertex *pos, const Edge *ed, const Facet &fc) override |
| virtual | ~BBoxBasedAccelerator () |
| Nv::Blast::BBoxBasedAccelerator::BBoxBasedAccelerator | ( | const Mesh * | mesh, | |
| int32_t | resolution | |||
| ) |
| [in] | mesh | Mesh for which acceleration structure should be built. |
| [in] | resolution | Resolution on 3d grid. |
| virtual Nv::Blast::BBoxBasedAccelerator::~BBoxBasedAccelerator | ( | ) | [virtual] |
| int32_t Nv::Blast::BBoxBasedAccelerator::getNextFacet | ( | ) | [override, virtual] |
Recieve next facet for setted state.
Implements Nv::Blast::SpatialAccelerator.
| void Nv::Blast::BBoxBasedAccelerator::setPointCmpDirection | ( | int32_t | dir | ) | [inline, override, virtual] |
Implements Nv::Blast::SpatialAccelerator.
| void Nv::Blast::BBoxBasedAccelerator::setState | ( | const NvcVec3 & | point | ) | [override, virtual] |
Set state of accelerator to return all facets which possibly can cover given point. Needed for testing whether point is inside mesh.
| [in] | point | Point which should be tested. |
Implements Nv::Blast::SpatialAccelerator.
| void Nv::Blast::BBoxBasedAccelerator::setState | ( | const NvcBounds3 * | bounds | ) | [override, virtual] |
Set state of accelerator to return all facets which possibly can intersect given facet bound.
Implements Nv::Blast::SpatialAccelerator.
| void Nv::Blast::BBoxBasedAccelerator::setState | ( | const Vertex * | pos, | |
| const Edge * | ed, | |||
| const Facet & | fc | |||
| ) | [override, virtual] |
Set state of accelerator to return all facets which possibly can intersect given facet.
Implements Nv::Blast::SpatialAccelerator.