VAPOR3 3.9.4
|
Isosurface renderer. More...
#include <VolumeIsoRenderer.h>
Public Member Functions | |
VolumeIsoRenderer (const ParamsMgr *pm, std::string &winName, std::string &dataSetName, std::string &instName, DataMgr *dataMgr) | |
~VolumeIsoRenderer () | |
virtual bool | _usingColorMapData () const |
virtual void | _setShaderUniforms (const ShaderProgram *shader, const bool fast) const |
virtual std::string | _getDefaultAlgorithmForGrid (const Grid *grid) const |
virtual void | _getLUTFromTF (const MapperFunction *tf, float *LUT) const |
Public Member Functions inherited from VAPoR::VolumeRenderer | |
VolumeRenderer (const ParamsMgr *pm, std::string &winName, std::string &dataSetName, std::string &instName, DataMgr *dataMgr) | |
VolumeRenderer (const ParamsMgr *pm, std::string &winName, std::string &dataSetName, std::string paramsType, std::string classType, std::string &instName, DataMgr *dataMgr) | |
~VolumeRenderer () | |
Public Member Functions inherited from VAPoR::Renderer | |
Renderer (const ParamsMgr *pm, string winName, string dataSetName, string paramsType, string classType, string instName, DataMgr *dataMgr) | |
virtual | ~Renderer () |
double | GetDefaultZ (DataMgr *dataMgr, size_t ts) const |
virtual int | paintGL (bool fast) |
void | ClearCache () |
void | renderColorbar () |
Render the colorbar for this renderer (if it has one) | |
RenderParams * | GetActiveParams () const |
ViewpointParams * | GetViewpointParams () const |
AnnotationParams * | GetAnnotationParams () const |
Transform * | GetDatasetTransform () const |
Public Member Functions inherited from VAPoR::RendererBase | |
RendererBase (const ParamsMgr *pm, string winName, string dataSetName, string paramsType, string classType, string instName, DataMgr *dataMgr) | |
virtual | ~RendererBase () |
virtual int | initializeGL (GLManager *glManager) |
string | GetVisualizer () |
Obtain the Visualizer associated with this Renderer. | |
string | GetMyName () const |
string | GetInstanceName () const |
string | GetMyType () const |
string | GetMyParamsType () const |
string | GetMyDatasetName () const |
bool | IsGLInitialized () const |
void | FlagForDeletion () |
bool | IsFlaggedForDeletion () const |
RendererBase () | |
Public Member Functions inherited from Wasp::MyBase | |
MyBase () | |
const string & | getClassName () const |
Static Public Member Functions | |
static std::string | GetClassType () |
Static Public Member Functions inherited from VAPoR::VolumeRenderer | |
static std::string | GetClassType () |
Static Public Member Functions inherited from VAPoR::Renderer | |
static void | ApplyTransform (GLManager *gl, const Transform *dataset, const Transform *renderer) |
static void | ApplyDatasetTransform (GLManager *gl, const Transform *dataset) |
Static Public Member Functions inherited from Wasp::MyBase | |
static void | SetErrMsg (const char *format,...) |
Record a formatted error message. | |
static void | SetErrMsg (int errcode, const char *format,...) |
Record a formatted error message and an error code. | |
static const char * | GetErrMsg () |
static void | SetErrCode (int err_code) |
Record an error code. | |
static int | GetErrCode () |
Retrieve the current error code. | |
static void | SetErrMsgCB (ErrMsgCB_T cb) |
static ErrMsgCB_T | GetErrMsgCB () |
static void | SetErrMsgFilePtr (FILE *fp) |
static const FILE * | SetErrMsgFilePtr () |
static void | SetDiagMsg (const char *format,...) |
Record a formatted diagnostic message. | |
static const char * | GetDiagMsg () |
static void | SetDiagMsgCB (DiagMsgCB_T cb) |
static DiagMsgCB_T | GetDiagMsgCB () |
static void | SetDiagMsgFilePtr (FILE *fp) |
static bool | EnableErrMsg (bool enable) |
static bool | GetEnableErrMsg () |
Additional Inherited Members | |
Public Types inherited from Wasp::MyBase | |
typedef void(* | ErrMsgCB_T) (const char *msg, int err_code) |
typedef void(* | DiagMsgCB_T) (const char *msg) |
Static Public Attributes inherited from Wasp::MyBase | |
static char * | ErrMsg |
static int | ErrCode |
static int | ErrMsgSize |
static FILE * | ErrMsgFilePtr |
static ErrMsgCB_T | ErrMsgCB |
static char * | DiagMsg |
static int | DiagMsgSize |
static FILE * | DiagMsgFilePtr |
static DiagMsgCB_T | DiagMsgCB |
static bool | Enabled |
Protected Member Functions inherited from VAPoR::VolumeRenderer | |
int | _initializeGL () |
int | _paintGL (bool fast) |
All OpenGL rendering is performed in the pure virtual paintGL method. | |
void | _clearCache () |
virtual std::string | _getColorbarVariableName () const |
void | _drawScreenQuad () |
void | _drawScreenQuadChuncked () |
void | _generateChunkedRenderMesh (const float chunks) |
bool | _wasTooSlowForFastRender () const |
void | _computeNewFramebufferRatio () |
bool | _shouldUseChunkedRender (bool fast) const |
virtual bool | _usingColorMapData () const |
void | _saveOriginalViewport () |
void | _restoreOriginalViewport () |
void | _initializeFramebuffer (bool fast) |
int | _renderFramebufferToDisplay () |
int | _initializeAlgorithm () |
int | _loadData () |
int | _loadSecondaryData () |
virtual std::string | _getDefaultAlgorithmForGrid (const Grid *grid) const |
bool | _needToSetDefaultAlgorithm () const |
Protected Member Functions inherited from VAPoR::Renderer | |
Renderer () | |
virtual std::string | _getColorbarVariableName () const |
virtual int | _paintGL (bool fast)=0 |
All OpenGL rendering is performed in the pure virtual paintGL method. | |
void | EnableClipToBox (ShaderProgram *shader, float haloFrac=0.0) const |
void | DisableClippingPlanes () |
void | GetClippingPlanes (float planes[24]) const |
virtual bool | VariableExists (size_t ts, std::vector< string > &varnames, int level, int lod, bool zeroOK) const |
virtual void | _clearCache ()=0 |
virtual int | _initializeGL ()=0 |
Protected Member Functions inherited from Wasp::MyBase | |
void | SetClassName (const string &name) |
Protected Attributes inherited from VAPoR::VolumeRenderer | |
unsigned int | _VAO = (int)NULL |
unsigned int | _VBO = (int)NULL |
unsigned int | _VAOChunked = (int)NULL |
unsigned int | _VBOChunked = (int)NULL |
VolumeAlgorithm * | _algorithm = nullptr |
Framebuffer | _framebuffer |
int | _nChunks |
double | _lastRenderTime |
bool | _lastRenderWasFast |
int | _originalViewport [4] |
int | _originalFramebuffer |
int | _framebufferSize [2] |
float | _framebufferRatio |
float | _previousFramebufferRatio |
std::vector< double > | _dataMinExt |
std::vector< double > | _dataMaxExt |
struct VAPoR::VolumeRenderer::Cache | _cache |
Protected Attributes inherited from VAPoR::Renderer | |
unsigned char * | _colorbarTexture |
string | _fontName |
Protected Attributes inherited from VAPoR::RendererBase | |
const ParamsMgr * | _paramsMgr |
string | _winName |
string | _dataSetName |
string | _paramsType |
string | _classType |
string | _instName |
DataMgr * | _dataMgr |
GLManager * | _glManager |
Static Protected Attributes inherited from VAPoR::Renderer | |
static const int | _imgHgt |
static const int | _imgWid |
Isosurface renderer.
Since Vapor requires a separate class for each renderer, this class is a copy of the VolumeRenderer class but it only gives access to the isosurface rendering algorithms
Definition at line 24 of file VolumeIsoRenderer.h.
VAPoR::VolumeIsoRenderer::VolumeIsoRenderer | ( | const ParamsMgr * | pm, |
std::string & | winName, | ||
std::string & | dataSetName, | ||
std::string & | instName, | ||
DataMgr * | dataMgr | ||
) |
VAPoR::VolumeIsoRenderer::~VolumeIsoRenderer | ( | ) |
|
virtual |
Reimplemented from VAPoR::VolumeRenderer.
|
virtual |
|
virtual |
|
virtual |
Reimplemented from VAPoR::VolumeRenderer.
|
inlinestatic |
Definition at line 29 of file VolumeIsoRenderer.h.
Referenced by VolumeIsoEventRouter::GetClassType().