Visualisierung 2
Comparison of Hue Preserving Rendering to Alpha Composing
|
Modified volume loader class from Vis 1. More...
#include <Volume.h>
Public Member Functions | |
Volume () | |
~Volume () | |
const Voxel & | voxel (const int i) const |
const Voxel & | voxel (const int x, const int y, const int z) const |
const Voxel * | voxels () 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... | |
Volume::Volume | ( | ) |
Definition at line 133 of file Volume.cpp.
Volume::~Volume | ( | ) |
Definition at line 138 of file Volume.cpp.
const int Volume::depth | ( | ) | const |
Definition at line 167 of file Volume.cpp.
QOpenGLTexture * Volume::generate3DTex | ( | ) |
generate3DTex transforms the loaded volume data set into a 3D texture which can be sampled in the glsl shaders.
Definition at line 257 of file Volume.cpp.
const int Volume::height | ( | ) | const |
Definition at line 162 of file Volume.cpp.
bool Volume::loadFromFile | ( | QString | filename, |
QProgressBar * | progressBar | ||
) |
Definition at line 182 of file Volume.cpp.
const int Volume::size | ( | ) | const |
Definition at line 172 of file Volume.cpp.
const Voxel & Volume::voxel | ( | const int | i | ) | const |
Definition at line 147 of file Volume.cpp.
const Voxel & Volume::voxel | ( | const int | x, |
const int | y, | ||
const int | z | ||
) | const |
Definition at line 142 of file Volume.cpp.
const Voxel * Volume::voxels | ( | ) | const |
Definition at line 152 of file Volume.cpp.
const int Volume::width | ( | ) | const |
Definition at line 157 of file Volume.cpp.