#include <RayMarcher.h>
Inheritance diagram for GpuThesis::RayMarcher:
Public Member Functions | |
RayMarcher (OpenGL::Flat3dTextureSet *textureSet, unsigned int dataVolume, bool slice, Math::BoundingBox box) | |
OpenGL::IoTextureSet * | getTextureSet () |
void | setStepSize (float stepSize) |
float | getStepSize () const |
void | compute () |
|
Initializes the RayMarcher.
|
|
Perform per-frame computations. Reimplemented from GpuThesis::VolumeRenderer. |
|
Get the current step size.
Implements GpuThesis::VolumeRenderer. |
|
Get the texture set used internally by the RayMarcher. The texture set contains ray entry points and ray directions.
Implements GpuThesis::VolumeRenderer. |
|
Set the step size to use when stepping through the volume. Larger step size is faster but less accurate.
Implements GpuThesis::VolumeRenderer. |