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

#include <VolumeAlgorithm.h>

Inheritance diagram for VAPoR::VolumeAlgorithmNull:
VAPoR::VolumeAlgorithm VAPoR::NonCopyableMixin

Public Member Functions

 VolumeAlgorithmNull (GLManager *gl, VolumeRenderer *renderer)
 
int Render (bool fast)
 
int LoadData (const Grid *grid)
 
int LoadSecondaryData (const Grid *grid)
 
void DeleteSecondaryData ()
 
bool RequiresChunkedRendering ()
 
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::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::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

Definition at line 69 of file VolumeAlgorithm.h.

Constructor & Destructor Documentation

◆ VolumeAlgorithmNull()

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

Definition at line 71 of file VolumeAlgorithm.h.

Member Function Documentation

◆ DeleteSecondaryData()

void VAPoR::VolumeAlgorithmNull::DeleteSecondaryData ( )
inlinevirtual

Implements VAPoR::VolumeAlgorithm.

Definition at line 77 of file VolumeAlgorithm.h.

◆ GetFinalBlendingMode()

void VAPoR::VolumeAlgorithmNull::GetFinalBlendingMode ( int *  src,
int *  dst 
)
inlinevirtual

Implements VAPoR::VolumeAlgorithm.

Definition at line 79 of file VolumeAlgorithm.h.

◆ GetName()

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

Definition at line 72 of file VolumeAlgorithm.h.

◆ GetType()

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

Definition at line 73 of file VolumeAlgorithm.h.

References VAPoR::VolumeAlgorithm::Any.

◆ LoadData()

int VAPoR::VolumeAlgorithmNull::LoadData ( const Grid grid)
inlinevirtual

Implements VAPoR::VolumeAlgorithm.

Definition at line 75 of file VolumeAlgorithm.h.

◆ LoadSecondaryData()

int VAPoR::VolumeAlgorithmNull::LoadSecondaryData ( const Grid grid)
inlinevirtual

Implements VAPoR::VolumeAlgorithm.

Definition at line 76 of file VolumeAlgorithm.h.

◆ Render()

int VAPoR::VolumeAlgorithmNull::Render ( bool  fast)
inlinevirtual

Implements VAPoR::VolumeAlgorithm.

Definition at line 74 of file VolumeAlgorithm.h.

◆ RequiresChunkedRendering()

bool VAPoR::VolumeAlgorithmNull::RequiresChunkedRendering ( )
inlinevirtual

On OSX, some shaders can run for a long time without problems while others will crash if the run too long. It seems to correlate with complexity. Chunked rendering splits the rendering into smaller tasks so they won't crash

Implements VAPoR::VolumeAlgorithm.

Definition at line 78 of file VolumeAlgorithm.h.


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