14 VolumeRenderer(
const ParamsMgr *pm, std::string &winName, std::string &dataSetName, std::string paramsType, std::string classType, std::string &instName,
DataMgr *dataMgr);
43 unsigned int _VAO = (int)NULL;
44 unsigned int _VBO = (int)NULL;
45 unsigned int _VAOChunked = (int)NULL;
46 unsigned int _VBOChunked = (int)NULL;
53 int _originalViewport[4];
55 int _framebufferSize[2];
67 bool useColorMapVar =
false;
68 std::string colorMapVar =
"";
74 std::string algorithmName =
"";
A cache based data reader.
Wrapper class for an OpenGL Framebuffer.
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...
A singleton class for managing Params instances.
A class that performs rendering in a Visualizer.
Strategy pattern for volume rendering algorithms.
int _paintGL(bool fast)
All OpenGL rendering is performed in the pure virtual paintGL method.
bool _needToSetDefaultAlgorithm() const
virtual bool _usingColorMapData() const
std::vector< double > _dataMinExt
float _previousFramebufferRatio
bool _wasTooSlowForFastRender() const
bool _shouldUseChunkedRender(bool fast) const
void _drawScreenQuadChuncked()
void _restoreOriginalViewport()
void _generateChunkedRenderMesh(const float chunks)
int _initializeAlgorithm()
void _computeNewFramebufferRatio()
void _initializeFramebuffer(bool fast)
virtual std::string _getDefaultAlgorithmForGrid(const Grid *grid) const
std::vector< double > _dataMaxExt
int _renderFramebufferToDisplay()
static std::string GetClassType()
void _saveOriginalViewport()
VolumeRenderer(const ParamsMgr *pm, std::string &winName, std::string &dataSetName, std::string &instName, DataMgr *dataMgr)
virtual std::string _getColorbarVariableName() const
VolumeRenderer(const ParamsMgr *pm, std::string &winName, std::string &dataSetName, std::string paramsType, std::string classType, std::string &instName, DataMgr *dataMgr)
std::vector< float > constantColor
std::vector< double > maxExt
std::vector< double > minExt