Visitor class to collect the items that intersect with a given bounding box.
More...
#include <AabbTreeIntersectionVisitor.h>
Visitor class to collect the items that intersect with a given bounding box.
§ AabbTreeIntersectionVisitor()
| SurgSim::DataStructures::AabbTreeIntersectionVisitor::AabbTreeIntersectionVisitor |
( |
const SurgSim::Math::Aabbd & |
aabb | ) |
|
|
explicit |
Constructor.
- Parameters
-
| aabb | the bounding box to be used. |
§ getAabb()
| SurgSim::Math::Aabbd SurgSim::DataStructures::AabbTreeIntersectionVisitor::getAabb |
( |
| ) |
const |
- Returns
- the bounding box to be used for the test.
§ getIntersections()
| const std::vector< size_t > & SurgSim::DataStructures::AabbTreeIntersectionVisitor::getIntersections |
( |
| ) |
const |
- Returns
- a reference to the found intersections.
§ handle() [1/2]
| bool SurgSim::DataStructures::AabbTreeIntersectionVisitor::handle |
( |
TreeNode * |
node | ) |
|
|
overridevirtual |
§ handle() [2/2]
| bool SurgSim::DataStructures::AabbTreeIntersectionVisitor::handle |
( |
AabbTreeNode * |
node | ) |
|
|
overridevirtual |
§ hasIntersections()
| bool SurgSim::DataStructures::AabbTreeIntersectionVisitor::hasIntersections |
( |
| ) |
const |
- Returns
- true if the visitor has found intersections
§ setAabb()
| void SurgSim::DataStructures::AabbTreeIntersectionVisitor::setAabb |
( |
const SurgSim::Math::Aabbd & |
aabb | ) |
|
Sets a new bounding box, will also call reset()
- Parameters
-
| aabb | The new bounding box. |
The documentation for this class was generated from the following files: