37 static std::string
GetName() {
return "Curvilinear"; }
55 bool _useHighPrecisionTriangleRoutine;
56 bool _gridHasInvertedCoordinateSystemHandiness;
58 bool _needsHighPrecisionTriangleRoutine(
const Grid *grid);
59 static bool _need32BitForCoordinates(
const Grid *grid);
80 static std::string
GetName() {
return "Iso Curvilinear"; }
Abstract base class for a 2D or 3D structured or unstructured grid.
Provides a C++ interface to the OpenGL shader program construct.
Curvilinear grid isosurface rendering algorithm.
VolumeCellTraversalIso(GLManager *gl, VolumeRenderer *renderer)
virtual ShaderProgram * GetShader() const
static std::string GetName()
virtual void SetUniforms(const ShaderProgram *shader) const
Curvilinear grid rendering algorithm.
virtual bool RequiresChunkedRendering()
VolumeCellTraversal(GLManager *gl, VolumeRenderer *renderer)
int _getHeuristicBBLevels() const
static std::string GetName()
virtual float GuestimateFastModeSpeedupFactor() const
virtual int LoadData(const Grid *grid)
virtual void SetUniforms(const ShaderProgram *shader) const
virtual int CheckHardwareSupport(const Grid *grid) const
virtual std::string _addDefinitionsToShader(std::string shaderName) const
virtual ShaderProgram * GetShader() const
Regular grid rendering algorithm.
Contains references to context scope OpenGL data.