VAPOR3 3.9.4
Public Member Functions | Static Public Member Functions | List of all members
VAPoR::VolumeRegularIso Class Reference

Regular grid isosurface rendering algorithm. More...

#include <VolumeRegular.h>

Inheritance diagram for VAPoR::VolumeRegularIso:
VAPoR::VolumeRegular VAPoR::VolumeGLSL VAPoR::VolumeAlgorithm VAPoR::NonCopyableMixin

Public Member Functions

 VolumeRegularIso (GLManager *gl, VolumeRenderer *renderer)
 
virtual ShaderProgramGetShader () const
 
virtual void SetUniforms (const ShaderProgram *shader) const
 
- Public Member Functions inherited from VAPoR::VolumeRegular
 VolumeRegular (GLManager *gl, VolumeRenderer *renderer)
 
 ~VolumeRegular ()
 
virtual bool RequiresChunkedRendering ()
 
virtual int LoadData (const Grid *grid)
 
virtual int LoadSecondaryData (const Grid *grid)
 
virtual void DeleteSecondaryData ()
 
virtual ShaderProgramGetShader () const
 
virtual void SetUniforms (const ShaderProgram *shader) const
 
virtual float GuestimateFastModeSpeedupFactor () const
 
virtual int CheckHardwareSupport (const Grid *grid) const
 
- Public Member Functions inherited from VAPoR::VolumeGLSL
 VolumeGLSL (GLManager *gl, VolumeRenderer *renderer)
 
 ~VolumeGLSL ()
 
virtual void SaveDepthBuffer (bool fast)
 
virtual int Render (bool fast)
 
virtual int LoadData (const Grid *grid)
 
virtual ShaderProgramGetShader () const =0
 
virtual void SetUniforms (const ShaderProgram *shader) const =0
 
virtual void GetFinalBlendingMode (int *src, int *dst)
 
- Public Member Functions inherited from VAPoR::VolumeAlgorithm
 VolumeAlgorithm (GLManager *gl, VolumeRenderer *renderer)
 
virtual ~VolumeAlgorithm ()
 
virtual void SaveDepthBuffer (bool fast)
 
virtual int Render (bool fast)=0
 
virtual int LoadData (const Grid *grid)=0
 
virtual int LoadSecondaryData (const Grid *grid)=0
 
virtual void DeleteSecondaryData ()=0
 
virtual void GetFinalBlendingMode (int *src, int *dst)=0
 
virtual bool RequiresChunkedRendering ()=0
 
virtual float GuestimateFastModeSpeedupFactor () const
 
virtual int CheckHardwareSupport (const Grid *grid) const
 

Static Public Member Functions

static std::string GetName ()
 
static Type GetType ()
 
- Static Public Member Functions inherited from VAPoR::VolumeRegular
static std::string GetName ()
 
static Type GetType ()
 
- Static Public Member Functions inherited from VAPoR::VolumeAlgorithm
static VolumeAlgorithmNewAlgorithm (const std::string &name, GLManager *gl, VolumeRenderer *renderer)
 
static void Register (VolumeAlgorithmFactory *f)
 

Additional Inherited Members

- Public Types inherited from VAPoR::VolumeAlgorithm
enum class  Type { Any , DVR , Iso }
 
- Protected Member Functions inherited from VAPoR::VolumeRegular
int _loadDataDirect (const Grid *grid, Texture3D *dataTexture, Texture3D *missingTexture, bool *hasMissingData)
 
virtual std::string _addDefinitionsToShader (std::string shaderName) const
 
- Protected Member Functions inherited from VAPoR::VolumeAlgorithm
VolumeParamsGetParams () const
 
ViewpointParamsGetViewpointParams () const
 
AnnotationParamsGetAnnotationParams () const
 
TransformGetDatasetTransform () const
 
void GetExtents (glm::vec3 *dataMin, glm::vec3 *dataMax, glm::vec3 *userMin, glm::vec3 *userMax) const
 
- Protected Attributes inherited from VAPoR::VolumeRegular
Texture3D _data
 
Texture3D _missing
 
bool _hasMissingData
 
std::vector< size_t > _dataDimensions
 
bool _hasSecondData
 
Texture3D _data2
 
Texture3D _missing2
 
bool _hasMissingData2
 
- Protected Attributes inherited from VAPoR::VolumeAlgorithm
GLManager_glManager
 

Detailed Description

Regular grid isosurface rendering algorithm.

Author
Stanislaw Jaroszynski
Date
Feburary, 2019

Renders isosurfaces by ray tracing. This does the same CPU side tasks as the volume renderer but it provides different GLSL code.

Definition at line 65 of file VolumeRegular.h.

Constructor & Destructor Documentation

◆ VolumeRegularIso()

VAPoR::VolumeRegularIso::VolumeRegularIso ( GLManager gl,
VolumeRenderer renderer 
)
inline

Definition at line 67 of file VolumeRegular.h.

Member Function Documentation

◆ GetName()

static std::string VAPoR::VolumeRegularIso::GetName ( )
inlinestatic

Definition at line 68 of file VolumeRegular.h.

◆ GetShader()

virtual ShaderProgram * VAPoR::VolumeRegularIso::GetShader ( ) const
virtual

Reimplemented from VAPoR::VolumeRegular.

◆ GetType()

static Type VAPoR::VolumeRegularIso::GetType ( )
inlinestatic

Definition at line 69 of file VolumeRegular.h.

References VAPoR::VolumeAlgorithm::Iso.

◆ SetUniforms()

virtual void VAPoR::VolumeRegularIso::SetUniforms ( const ShaderProgram shader) const
virtual

Reimplemented from VAPoR::VolumeRegular.


The documentation for this class was generated from the following file: