Helper class for creating entry and exit points for a mesh.
More...
#include <entryexitpoints.h>
|
void | operator() (Image &entryPoints, Image &exitPoints, const Camera &camera, const Mesh &mesh, CapNearClip capNearClip, IncludeNormals includeNormals) |
| 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.
|
|
void | operator() (ImageGL &entryPoints, ImageGL &exitPoints, const Camera &camera, const Mesh &mesh, CapNearClip capNearClip, IncludeNormals includeNormals) |
| 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.
|
|
void | operator() (Image &entryPoints, Image &exitPoints, const Camera &camera, const Volume &volume, const Mesh &mesh, CapNearClip capNearClip, IncludeNormals includeNormals) |
| 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 .
|
|
void | operator() (ImageGL &entryPoints, ImageGL &exitPoints, const Camera &camera, const Volume &volume, const Mesh &mesh, CapNearClip capNearClip, IncludeNormals includeNormals) |
| 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 .
|
|
std::shared_ptr< std::function< void()> > | onReload (std::function< void()> callback) |
|
Helper class for creating entry and exit points for a mesh.
◆ operator()() [1/4]
void inviwo::algorithm::EntryExitPointsHelper::operator() |
( |
Image & | entryPoints, |
|
|
Image & | exitPoints, |
|
|
const Camera & | camera, |
|
|
const Mesh & | mesh, |
|
|
CapNearClip | capNearClip, |
|
|
IncludeNormals | includeNormals ) |
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.
- Parameters
-
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 |
includeNormals | add an additional color layer to the entry points with mesh normals |
◆ operator()() [2/4]
void inviwo::algorithm::EntryExitPointsHelper::operator() |
( |
Image & | entryPoints, |
|
|
Image & | exitPoints, |
|
|
const Camera & | camera, |
|
|
const Volume & | volume, |
|
|
const Mesh & | mesh, |
|
|
CapNearClip | capNearClip, |
|
|
IncludeNormals | includeNormals ) |
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
.
- Parameters
-
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 |
includeNormals | add an additional color layer to the entry points with mesh normals |
◆ operator()() [3/4]
void inviwo::algorithm::EntryExitPointsHelper::operator() |
( |
ImageGL & | entryPoints, |
|
|
ImageGL & | exitPoints, |
|
|
const Camera & | camera, |
|
|
const Mesh & | mesh, |
|
|
CapNearClip | capNearClip, |
|
|
IncludeNormals | includeNormals ) |
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.
- Parameters
-
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 |
includeNormals | add an additional color layer to the entry points with mesh normals |
◆ operator()() [4/4]
void inviwo::algorithm::EntryExitPointsHelper::operator() |
( |
ImageGL & | entryPoints, |
|
|
ImageGL & | exitPoints, |
|
|
const Camera & | camera, |
|
|
const Volume & | volume, |
|
|
const Mesh & | mesh, |
|
|
CapNearClip | capNearClip, |
|
|
IncludeNormals | includeNormals ) |
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
.
- Parameters
-
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 |
includeNormals | add an additional color layer to the entry points with mesh normals |
The documentation for this class was generated from the following file: