#include <RayCaster.h>
|
| | RayCaster (const ParamsMgr *pm, std::string &winName, std::string &dataSetName, std::string paramsType, std::string classType, std::string &instName, DataMgr *dataMgr) |
| |
| virtual | ~RayCaster () |
| |
| | 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 |
| |
| | 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 () |
| |
| | MyBase () |
| |
| const string & | getClassName () const |
| |
|
| int | _initializeGL () |
| |
| int | _paintGL (bool fast) |
| | All OpenGL rendering is performed in the pure virtual paintGL method.
|
| |
| void | _clearCache () |
| |
| virtual int | _load3rdPassShaders ()=0 |
| |
| void | _renderTriangleStrips (int whichPass, int castingMode) const |
| |
| void | _drawVolumeFaces (int whichPass, int whichCastingMode, const std::vector< size_t > &cameraCellIdx, const glm::mat4 &inversedMV=glm::mat4(0.0f), bool fast=false) const |
| |
| void | _load3rdPassUniforms (int castingMode, bool fast, bool insideVolume) const |
| |
| virtual void | _3rdPassSpecialHandling (bool fast, int castingMode) const |
| |
| virtual void | _colormapSpecialHandling () |
| |
| virtual bool | _use2ndVariable (const RayCasterParams *params) const |
| |
| virtual void | _update2ndVarTextures () |
| |
| int | _initializeFramebufferTextures () |
| |
| int | _selectDefaultCastingMethod () const |
| |
| void | _updateViewportWhenNecessary (const GLint *viewport) |
| |
| void | _updateColormap (RayCasterParams *params) |
| |
| void | _updateDataTextures () |
| |
| int | _updateVertCoordsTexture (const glm::mat4 &MV) |
| |
| void | _configure3DTextureNearestInterpolation () const |
| |
| void | _configure3DTextureLinearInterpolation () const |
| |
| void | _configure2DTextureLinearInterpolation () const |
| |
| void | _sleepAWhile () const |
| |
| double | _getElapsedSeconds (const struct timeval *begin, const struct timeval *end) const |
| |
| | 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 |
| |
| void | SetClassName (const string &name) |
| |
Definition at line 17 of file RayCaster.h.
◆ CastingMode
| Enumerator |
|---|
| FixedStep | |
| CellTraversal | |
Definition at line 35 of file RayCaster.h.
◆ RayCaster()
| VAPoR::RayCaster::RayCaster |
( |
const ParamsMgr * |
pm, |
|
|
std::string & |
winName, |
|
|
std::string & |
dataSetName, |
|
|
std::string |
paramsType, |
|
|
std::string |
classType, |
|
|
std::string & |
instName, |
|
|
DataMgr * |
dataMgr |
|
) |
| |
◆ ~RayCaster()
| virtual VAPoR::RayCaster::~RayCaster |
( |
| ) |
|
|
virtual |
◆ _3rdPassSpecialHandling()
| virtual void VAPoR::RayCaster::_3rdPassSpecialHandling |
( |
bool |
fast, |
|
|
int |
castingMode |
|
) |
| const |
|
protectedvirtual |
◆ _clearCache()
| void VAPoR::RayCaster::_clearCache |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ _colormapSpecialHandling()
| virtual void VAPoR::RayCaster::_colormapSpecialHandling |
( |
| ) |
|
|
protectedvirtual |
◆ _configure2DTextureLinearInterpolation()
| void VAPoR::RayCaster::_configure2DTextureLinearInterpolation |
( |
| ) |
const |
|
protected |
◆ _configure3DTextureLinearInterpolation()
| void VAPoR::RayCaster::_configure3DTextureLinearInterpolation |
( |
| ) |
const |
|
protected |
◆ _configure3DTextureNearestInterpolation()
| void VAPoR::RayCaster::_configure3DTextureNearestInterpolation |
( |
| ) |
const |
|
protected |
◆ _drawVolumeFaces()
| void VAPoR::RayCaster::_drawVolumeFaces |
( |
int |
whichPass, |
|
|
int |
whichCastingMode, |
|
|
const std::vector< size_t > & |
cameraCellIdx, |
|
|
const glm::mat4 & |
inversedMV = glm::mat4(0.0f), |
|
|
bool |
fast = false |
|
) |
| const |
|
protected |
◆ _getElapsedSeconds()
| double VAPoR::RayCaster::_getElapsedSeconds |
( |
const struct timeval * |
begin, |
|
|
const struct timeval * |
end |
|
) |
| const |
|
protected |
◆ _initializeFramebufferTextures()
| int VAPoR::RayCaster::_initializeFramebufferTextures |
( |
| ) |
|
|
protected |
◆ _initializeGL()
| int VAPoR::RayCaster::_initializeGL |
( |
| ) |
|
|
protectedvirtual |
Pure virtual method Any OpenGL initialization is performed in initializeGL It will be called from an OpenGL rendering context.
Implements VAPoR::RendererBase.
◆ _load3rdPassShaders()
| virtual int VAPoR::RayCaster::_load3rdPassShaders |
( |
| ) |
|
|
protectedpure virtual |
◆ _load3rdPassUniforms()
| void VAPoR::RayCaster::_load3rdPassUniforms |
( |
int |
castingMode, |
|
|
bool |
fast, |
|
|
bool |
insideVolume |
|
) |
| const |
|
protected |
◆ _paintGL()
| int VAPoR::RayCaster::_paintGL |
( |
bool |
fast | ) |
|
|
protectedvirtual |
All OpenGL rendering is performed in the pure virtual paintGL method.
Implements VAPoR::Renderer.
◆ _renderTriangleStrips()
| void VAPoR::RayCaster::_renderTriangleStrips |
( |
int |
whichPass, |
|
|
int |
castingMode |
|
) |
| const |
|
protected |
◆ _selectDefaultCastingMethod()
| int VAPoR::RayCaster::_selectDefaultCastingMethod |
( |
| ) |
const |
|
protected |
◆ _sleepAWhile()
| void VAPoR::RayCaster::_sleepAWhile |
( |
| ) |
const |
|
protected |
◆ _update2ndVarTextures()
| virtual void VAPoR::RayCaster::_update2ndVarTextures |
( |
| ) |
|
|
protectedvirtual |
◆ _updateColormap()
◆ _updateDataTextures()
| void VAPoR::RayCaster::_updateDataTextures |
( |
| ) |
|
|
protected |
◆ _updateVertCoordsTexture()
| int VAPoR::RayCaster::_updateVertCoordsTexture |
( |
const glm::mat4 & |
MV | ) |
|
|
protected |
◆ _updateViewportWhenNecessary()
| void VAPoR::RayCaster::_updateViewportWhenNecessary |
( |
const GLint * |
viewport | ) |
|
|
protected |
◆ _use2ndVariable()
| virtual bool VAPoR::RayCaster::_use2ndVariable |
( |
const RayCasterParams * |
params | ) |
const |
|
protectedvirtual |
◆ _1stPassShader
◆ _2ndPassShader
◆ _2ndVarDataTexId
| GLuint VAPoR::RayCaster::_2ndVarDataTexId |
|
protected |
◆ _2ndVarDataTexOffset
| const GLint VAPoR::RayCaster::_2ndVarDataTexOffset |
|
protected |
◆ _2ndVarMaskTexId
| GLuint VAPoR::RayCaster::_2ndVarMaskTexId |
|
protected |
◆ _2ndVarMaskTexOffset
| const GLint VAPoR::RayCaster::_2ndVarMaskTexOffset |
|
protected |
◆ _3rdPassMode1Shader
◆ _3rdPassMode2Shader
◆ _3rdPassShader
◆ _backFaceTexOffset
| const GLint VAPoR::RayCaster::_backFaceTexOffset |
|
protected |
◆ _backFaceTextureId
| GLuint VAPoR::RayCaster::_backFaceTextureId |
|
protected |
◆ _colorMap
| std::vector<float> VAPoR::RayCaster::_colorMap |
|
protected |
◆ _colorMapRange
| float VAPoR::RayCaster::_colorMapRange[3] |
|
protected |
◆ _colorMapTexOffset
| const GLint VAPoR::RayCaster::_colorMapTexOffset |
|
protected |
◆ _colorMapTextureId
| GLuint VAPoR::RayCaster::_colorMapTextureId |
|
protected |
◆ _currentMV
| glm::mat4 VAPoR::RayCaster::_currentMV |
|
protected |
◆ _currentViewport
| GLint VAPoR::RayCaster::_currentViewport[4] |
|
protected |
◆ _depthTexOffset
| const GLint VAPoR::RayCaster::_depthTexOffset |
|
protected |
◆ _depthTextureId
| GLuint VAPoR::RayCaster::_depthTextureId |
|
protected |
◆ _frameBufferId
| GLuint VAPoR::RayCaster::_frameBufferId |
|
protected |
◆ _frontFaceTexOffset
| const GLint VAPoR::RayCaster::_frontFaceTexOffset |
|
protected |
◆ _frontFaceTextureId
| GLuint VAPoR::RayCaster::_frontFaceTextureId |
|
protected |
◆ _indexBufferId
| GLuint VAPoR::RayCaster::_indexBufferId |
|
protected |
◆ _isIntel
| bool VAPoR::RayCaster::_isIntel |
|
protected |
◆ _missingValueTexOffset
| const GLint VAPoR::RayCaster::_missingValueTexOffset |
|
protected |
◆ _missingValueTextureId
| GLuint VAPoR::RayCaster::_missingValueTextureId |
|
protected |
◆ _userCoordinates
◆ _vertCoordsTexOffset
| const GLint VAPoR::RayCaster::_vertCoordsTexOffset |
|
protected |
◆ _vertCoordsTextureId
| GLuint VAPoR::RayCaster::_vertCoordsTextureId |
|
protected |
◆ _vertexArrayId
| GLuint VAPoR::RayCaster::_vertexArrayId |
|
protected |
◆ _vertexAttribId
| GLuint VAPoR::RayCaster::_vertexAttribId |
|
protected |
◆ _vertexBufferId
| GLuint VAPoR::RayCaster::_vertexBufferId |
|
protected |
◆ _volumeTexOffset
| const GLint VAPoR::RayCaster::_volumeTexOffset |
|
protected |
◆ _volumeTextureId
| GLuint VAPoR::RayCaster::_volumeTextureId |
|
protected |
The documentation for this class was generated from the following file: