Commit af3631a0 authored by Michele Bosi's avatar Michele Bosi

Updated comments

parent 129a6fc8
......@@ -279,10 +279,10 @@ namespace vl
//! Adjusts the contrast of an image. Returns false if the image format() or type() is not supported. This function supports both 3D images and cubemaps.
bool contrast(float black, float white);
//! Adjusts the contrast of an image using the window-center/window-with method used for CT images. Returns false if the image format() or type() is not supported. This function supports both 3D images and cubemaps.
//! Adjusts the contrast of an image using the window-center/window-width method used for CT images. Returns false if the image format() or type() is not supported. This function supports both 3D images and cubemaps.
bool contrastHounsfieldAuto();
//! Adjusts the contrast of an image using the window-center/window-with method used for CT images. Returns false if the image format() or type() is not supported. This function supports both 3D images and cubemaps.
//! Adjusts the contrast of an image using the window-center/window-width method used for CT images. Returns false if the image format() or type() is not supported. This function supports both 3D images and cubemaps.
bool contrastHounsfield(float center, float width, float intercept, float range);
//! Performs a sampling on a 1d image using linear filtering.
......
......@@ -66,6 +66,11 @@ using namespace vl;
* - SlicedVolume
*
*/
// TODO:
// - Within the volume rendering shader values are all mapped to 0..1 however we could
// pass a `vec2 vl_Vivid.volume.dataRange` uniform to inform the shader of what the
// original data rage was so we can map back to it. We could use this range also to map
// the Iso value. We could use this to support more easily things like Hounsfield units etc.
VividVolume::VividVolume(VividRendering* vivid_rendering)
{
VL_DEBUG_SET_OBJECT_NAME()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment