#include <VolumeRenderer.h>
Inheritance diagram for GpuThesis::VolumeRenderer:
Public Member Functions | |
VolumeRenderer (const Math::BoundingBox &box) | |
void | render () |
virtual OpenGL::IoTextureSet * | getTextureSet ()=0 |
void | setBoundingBox (Math::BoundingBox box) |
Math::BoundingBox | getBoundingBox () const |
void | setDrawBoundingBox (bool drawBoundingBox) |
bool | getDrawBoundingBox () const |
virtual void | setStepSize (float stepSize)=0 |
virtual float | getStepSize () const =0 |
virtual void | compute () |
|
Initialize the volume renderer with the given bounding box.
|
|
Perform per-frame computations. Reimplemented in GpuThesis::RayMarcher. |
|
Get the bounding box.
|
|
Check whether bounding box drawing is active.
|
|
Get the step size of the volume renderer.
Implemented in GpuThesis::RayMarcher, and GpuThesis::SimpleVolumeRenderer. |
|
Get the internal texture set (for debugging).
Implemented in GpuThesis::RayMarcher, and GpuThesis::SimpleVolumeRenderer. |
|
Perform the volume rendering. |
|
Set the bounding box.
|
|
Set whether to draw the bounding box.
|
|
Set the step size of the volume renderer. Smaller step size gives more accurate results.
Implemented in GpuThesis::RayMarcher, and GpuThesis::SimpleVolumeRenderer. |