fast::VolumeRenderer class

Abstract base class for volume renderers.

Base classes

class Renderer
Abstract base class for Renderers.

Derived classes

class AlphaBlendingVolumeRenderer
Renders 3D images/volumes using ray-casting and alpha blending.
class MaximumIntensityProjection
Renders 3D images using ray-casting and maximum intensity projection (MIP)
class ThresholdVolumeRenderer
Renders 3D images using ray-casting and a threshold.

Public types

using pointer = std::shared_ptr<VolumeRenderer>

Constructors, destructors, conversion operators

~VolumeRenderer()
VolumeRenderer() protected

Protected functions

void draw(Matrix4f perspectiveMatrix, Matrix4f viewingMatrix, float zNear, float zFar, bool mode2D) pure virtual
auto textureToCLimage(uint textureID, int width, int height, OpenCLDevice::pointer device, bool depth) -> cl::Image2D
auto textureToCLimageInterop(uint textureID, int width, int height, OpenCLDevice::pointer device, bool depth) -> cl::ImageGL
auto resizeOpenGLTexture(int sourceFBO, int sourceTextureColor, int sourceTextureDepth, Vector2i gridSize, int width, int height) -> std::tuple<uint, uint>

Protected variables

uint m_FBO
uint m_texture