Visualisierung 2
Comparison of Hue Preserving Rendering to Alpha Composing
Volume Class Reference

Modified volume loader class from Vis 1. More...

#include <Volume.h>

Public Member Functions

 Volume ()
 
 ~Volume ()
 
const Voxelvoxel (const int i) const
 
const Voxelvoxel (const int x, const int y, const int z) const
 
const Voxelvoxels () const
 
const int width () const
 
const int height () const
 
const int depth () const
 
const int size () const
 
bool loadFromFile (QString filename, QProgressBar *progressBar)
 
QOpenGLTexture * generate3DTex ()
 generate3DTex transforms the loaded volume data set into a 3D texture which can be sampled in the glsl shaders. More...
 

Detailed Description

Modified volume loader class from Vis 1.

Definition at line 76 of file Volume.h.

Constructor & Destructor Documentation

◆ Volume()

Volume::Volume ( )

Definition at line 133 of file Volume.cpp.

◆ ~Volume()

Volume::~Volume ( )

Definition at line 138 of file Volume.cpp.

Member Function Documentation

◆ depth()

const int Volume::depth ( ) const

Definition at line 167 of file Volume.cpp.

◆ generate3DTex()

QOpenGLTexture * Volume::generate3DTex ( )

generate3DTex transforms the loaded volume data set into a 3D texture which can be sampled in the glsl shaders.

Returns
volume data set as 3D texture pointer

Definition at line 257 of file Volume.cpp.

◆ height()

const int Volume::height ( ) const

Definition at line 162 of file Volume.cpp.

◆ loadFromFile()

bool Volume::loadFromFile ( QString  filename,
QProgressBar *  progressBar 
)

Definition at line 182 of file Volume.cpp.

◆ size()

const int Volume::size ( ) const

Definition at line 172 of file Volume.cpp.

◆ voxel() [1/2]

const Voxel & Volume::voxel ( const int  i) const

Definition at line 147 of file Volume.cpp.

◆ voxel() [2/2]

const Voxel & Volume::voxel ( const int  x,
const int  y,
const int  z 
) const

Definition at line 142 of file Volume.cpp.

◆ voxels()

const Voxel * Volume::voxels ( ) const

Definition at line 152 of file Volume.cpp.

◆ width()

const int Volume::width ( ) const

Definition at line 157 of file Volume.cpp.


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