34 vector<double> _minDataExtents, _maxDataExtents;
35 vector<float> _constantColor;
41 void _setShaderUniforms(
const ShaderProgram *shader,
const bool fast)
const;
42 glm::vec3 _getVolumeScales()
const;
43 void _getExtents(glm::vec3 *dataMin, glm::vec3 *dataMax, glm::vec3 *userMin, glm::vec3 *userMax)
const;
44 bool _usingColorMapData()
const;
Abstract base class for a 2D or 3D structured or unstructured grid.
Parent class for TransferFunction and IsoControl, supports positioning histogram over color/opacity m...
Provides a C++ interface to the OpenGL shader program construct.
Strategy pattern for volume rendering algorithms.
Volume rendering algorithms using GLSL.
virtual void SetUniforms(const ShaderProgram *shader) const =0
virtual int Render(bool fast)
virtual ShaderProgram * GetShader() const =0
VolumeGLSL(GLManager *gl, VolumeRenderer *renderer)
virtual void SaveDepthBuffer(bool fast)
virtual void GetFinalBlendingMode(int *src, int *dst)
virtual int LoadData(const Grid *grid)
Contains references to context scope OpenGL data.