Visitor that collects intersections.
More...
#include <IntersectionVisitor.hh>
|
| std::vector< Intersection > | intersections |
| | This is the list of intersections found by the visitors during traversal.
|
| |
|
std::vector< Eigen::Affine3f > | stack {Eigen::Affine3f::Identity()} |
| |
Visitor that collects intersections.
Example usage:
scenegraph_root->accept(&iv);
...
static IntersectionLine forwardRay(Eigen::Vector3f p0, Eigen::Vector3f dir)
Creates a IntersectionLine that has infinite forward extent, for intersection testing,...
Definition IntersectionLine.cpp:14
Visitor that collects intersections.
Definition IntersectionVisitor.hh:28
std::vector< Intersection > intersections
This is the list of intersections found by the visitors during traversal.
Definition IntersectionVisitor.hh:70
◆ IntersectionVisitor()
| gramods::gmGraphics::IntersectionVisitor::IntersectionVisitor |
( |
IntersectionLine |
line | ) |
|
|
inline |
Create a visitor for checking for intersection against the specified line.
◆ apply()
| void gramods::gmGraphics::IntersectionVisitor::apply |
( |
gmCore::Object * |
node | ) |
|
|
overridevirtual |
◆ intersections
| std::vector<Intersection> gramods::gmGraphics::IntersectionVisitor::intersections |
This is the list of intersections found by the visitors during traversal.
The documentation for this struct was generated from the following files:
- /home/karlu/private/program/gramods/modules/gmGraphics/include/gmGraphics/IntersectionVisitor.hh
- /home/karlu/private/program/gramods/modules/gmGraphics/src/IntersectionVisitor.cpp