Feature/volume tools (#614)

* Create volume generation task

* Change domain bounds into a non-optional parameter

* Work on volume generation and rendering

* Example generation of time varying volume

* Example generation of time varying volume

* Compile fix in RenderableKameleonVolume

* Fix copy and paste error

* Enable spherical raycasting again

* Uniform naming

* Add some documentation and remove dead code
This commit is contained in:
Emil Axelsson
2018-06-08 09:47:24 -04:00
committed by micahnyc
parent 0d870f7c9d
commit 5de728442d
29 changed files with 858 additions and 166 deletions

View File

@@ -93,7 +93,7 @@ ghoul::opengl::Texture& TransferFunction::getTexture() {
}
void TransferFunction::update() {
/* if (_needsUpdate) {
if (_needsUpdate) {
if (hasExtension(_filepath, "txt")) {
setTextureFromTxt();
} else {
@@ -104,7 +104,7 @@ void TransferFunction::update() {
if (_tfChangedCallback) {
_tfChangedCallback(*this);
}
}*/
}
}
void TransferFunction::setCallback(TfChangedCallback callback) {