Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
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, 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)
 

Detailed Description

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

Member Function Documentation

◆ 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
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
includeNormalsadd 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
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
includeNormalsadd 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
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
includeNormalsadd 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
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
includeNormalsadd an additional color layer to the entry points with mesh normals

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