![]() |
Inviwo
0.9.10.1
Inviwo documentation
|
Helper class for creating entry and exit points for a mesh. More...
#include <entryexitpoints.h>
Public Member Functions | |
| void | operator() (Image &entryPoints, Image &exitPoints, const Camera &camera, const Mesh &mesh, bool capNearClip) |
computes entry and exit points for raycasting using the given camera and bounding geometry mesh. The color components of mesh are interpreted as positions in Data space. More... | |
| void | operator() (Image &entryPoints, Image &exitPoints, const Camera &camera, const Volume &volume, const Mesh &mesh, bool capNearClip) |
computes entry and exit points for raycasting using the given camera and bounding geometry mesh. Positions of mesh are mapped to Data space (texture coordinates) of the volume by using the Model to Data space transformation of volume. More... | |
| std::vector< std::reference_wrapper< Shader > > | getShaders () |
Helper class for creating entry and exit points for a mesh.
| void inviwo::algorithm::EntryExitPointsHelper::operator() | ( | Image & | entryPoints, |
| Image & | exitPoints, | ||
| const Camera & | camera, | ||
| const Mesh & | mesh, | ||
| bool | capNearClip | ||
| ) |
computes entry and exit points for raycasting using the given camera and bounding geometry mesh. The color components of mesh are interpreted as positions in Data space.
| entryPoints | entry points for raycasting the bounding geometry |
| exitPoints | exit points for raycasting the bounding geometry |
| camera | camera |
| mesh | mesh containing the bounding geometry, color must correspond to Data space |
| capNearClip | if true and the near clip plane of the camera is inside the volume, an additional plane will be used to close the volume in front of the camera |
| void inviwo::algorithm::EntryExitPointsHelper::operator() | ( | Image & | entryPoints, |
| Image & | exitPoints, | ||
| const Camera & | camera, | ||
| const Volume & | volume, | ||
| const Mesh & | mesh, | ||
| bool | capNearClip | ||
| ) |
computes entry and exit points for raycasting using the given camera and bounding geometry mesh. Positions of mesh are mapped to Data space (texture coordinates) of the volume by using the Model to Data space transformation of volume.
| entryPoints | entry points for raycasting the bounding geometry |
| exitPoints | exit points for raycasting the bounding geometry |
| camera | camera |
| volume | used to determine the transformation of mesh positions to Data space |
| mesh | mesh containing the bounding geometry |
| capNearClip | if true and the near clip plane of the camera is inside the volume, an additional plane will be used to close the volume in front of the camera |