VAPOR3 3.9.4
Public Member Functions | List of all members
VAPoR::VolumeGLSL Class Referenceabstract

Volume rendering algorithms using GLSL. More...

#include <VolumeGLSL.h>

Inheritance diagram for VAPoR::VolumeGLSL:
VAPoR::VolumeAlgorithm VAPoR::NonCopyableMixin VAPoR::VolumeRegular VAPoR::VolumeCellTraversal VAPoR::VolumeRegularIso VAPoR::VolumeResampled VAPoR::VolumeTest VAPoR::VolumeTest2 VAPoR::VolumeCellTraversalIso

Public Member Functions

 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
 

Additional Inherited Members

- Public Types inherited from VAPoR::VolumeAlgorithm
enum class  Type { Any , DVR , Iso }
 
- Static Public Member Functions inherited from VAPoR::VolumeAlgorithm
static VolumeAlgorithmNewAlgorithm (const std::string &name, GLManager *gl, VolumeRenderer *renderer)
 
static void Register (VolumeAlgorithmFactory *f)
 
- 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::VolumeAlgorithm
GLManager_glManager
 

Detailed Description

Volume rendering algorithms using GLSL.

Author
Stanislaw Jaroszynski
Date
July, 2020

Definition at line 17 of file VolumeGLSL.h.

Constructor & Destructor Documentation

◆ VolumeGLSL()

VAPoR::VolumeGLSL::VolumeGLSL ( GLManager gl,
VolumeRenderer renderer 
)

◆ ~VolumeGLSL()

VAPoR::VolumeGLSL::~VolumeGLSL ( )

Member Function Documentation

◆ GetFinalBlendingMode()

virtual void VAPoR::VolumeGLSL::GetFinalBlendingMode ( int *  src,
int *  dst 
)
virtual

◆ GetShader()

virtual ShaderProgram * VAPoR::VolumeGLSL::GetShader ( ) const
pure virtual

◆ LoadData()

virtual int VAPoR::VolumeGLSL::LoadData ( const Grid grid)
virtual

◆ Render()

virtual int VAPoR::VolumeGLSL::Render ( bool  fast)
virtual

◆ SaveDepthBuffer()

virtual void VAPoR::VolumeGLSL::SaveDepthBuffer ( bool  fast)
virtual

Reimplemented from VAPoR::VolumeAlgorithm.

◆ SetUniforms()

virtual void VAPoR::VolumeGLSL::SetUniforms ( const ShaderProgram shader) const
pure virtual

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