Inviwo  0.9.10.1
Inviwo documentation
inviwo::algorithm::EntryExitPointsHelper Class Reference

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 ()
 

Detailed Description

Helper class for creating entry and exit points for a mesh.

Member Function Documentation

◆ operator()() [1/2]

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.

Parameters
entryPointsentry points for raycasting the bounding geometry
exitPointsexit points for raycasting the bounding geometry
cameracamera
meshmesh containing the bounding geometry, color must correspond to Data space
capNearClipif 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

◆ operator()() [2/2]

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.

Parameters
entryPointsentry points for raycasting the bounding geometry
exitPointsexit points for raycasting the bounding geometry
cameracamera
volumeused to determine the transformation of mesh positions to Data space
meshmesh containing the bounding geometry
capNearClipif 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

The documentation for this class was generated from the following files: