#include <VFlowRenderer.h>
Definition at line 32 of file VFlowRenderer.h.
VFlowRenderer::VFlowRenderer | ( | ) |
default constructor
Definition at line 6 of file VFlowRenderer.cpp.
References VCamera::lookInDirection(), mCamera, mCurrentMode, and mShaderWrapperVelocity.
void VFlowRenderer::processGuiInput | ( | float | dist, | |
VVector | pos, | |||
VVector | view, | |||
VVector | up, | |||
VVector | lookAt | |||
) |
method for processing the GUI input
dist | distance of camera from origin | |
pos | Position of Camera | |
view | View Vector of Camera | |
up | Up Vector of Camera | |
lookAt | LookatPoint of Camera |
Definition at line 48 of file VFlowRenderer.cpp.
References VCamera::lookInDirection(), mCamera, and mCameraDistance.
Referenced by QVolRendCanvas::load_data(), QVolRendCanvas::load_single_data(), QVolRendCanvas::mouseMoveEvent(), and QVolRendCanvas::resizeGL().
void VFlowRenderer::setTransferFunctionHandle | ( | unsigned int | handle | ) | [inline] |
returns the current sideVector of the Camera
handle | OpenGL Handle of Texture |
Definition at line 60 of file VFlowRenderer.h.
References m_TransferFunctionHandle.
Referenced by QVolRendCanvas::paintGL().
void VFlowRenderer::setArrowTransferFunctionHandle | ( | unsigned int | handle | ) | [inline] |
set the Texture handle for the 1d TransferFunction
handle | OpenGL Handle of Texture |
Definition at line 69 of file VFlowRenderer.h.
References m_ArrowTransferFunctionHandle.
Referenced by QVolRendCanvas::paintGL().
void VFlowRenderer::setStreamLineTransferFunctionHandle | ( | unsigned int | handle | ) | [inline] |
set the Texture handle for the 1d TransferFunction
handle | OpenGL Handle of Texture |
Definition at line 78 of file VFlowRenderer.h.
References m_StreamLineTransferFunctionHandle.
Referenced by QVolRendCanvas::paintGL().
void VFlowRenderer::setLicTransferFunctionHandle | ( | unsigned int | handle | ) | [inline] |
set the Texture handle for the 1d TransferFunction
handle | OpenGL Handle of Texture |
Definition at line 87 of file VFlowRenderer.h.
References m_LicTransferFunctionHandle.
Referenced by QVolRendCanvas::paintGL().
void VFlowRenderer::setCurrentShader | ( | int | val | ) |
set the currentmode fragment shader for color mapping depending on the index
val | index of color mapping fragment shader |
Definition at line 62 of file VFlowRenderer.cpp.
References activeDataValue, mCurrentMode, mShaderWrapperPressure, mShaderWrapperVelocity, and mShaderWrapperVorticity.
Referenced by QVolRendCanvas::coloringproperty_changed_event().
VVector VFlowRenderer::getCameraSideVector | ( | ) | [inline] |
returns the sidevector of the camera
Definition at line 102 of file VFlowRenderer.h.
References VCamera::getViewMatrix(), and mCamera.
Referenced by QVolRendCanvas::mouseMoveEvent().
float VFlowRenderer::getFlowDataMin | ( | ) | [inline] |
returns the minimum of the current data val
Definition at line 113 of file VFlowRenderer.h.
References activeDataValue, VFlowData::getMinimalDatavalue(), and mFlowData.
Referenced by QVolRendCanvas::getFlowDataMin().
float VFlowRenderer::getFlowDataMax | ( | ) | [inline] |
returns the maximum of the current data val
Definition at line 123 of file VFlowRenderer.h.
References activeDataValue, VFlowData::getMaximalDatavalue(), and mFlowData.
Referenced by QVolRendCanvas::getFlowDataMax().
VVector VFlowRenderer::getCameraUpVector | ( | ) | [inline] |
returns the current upVector of the Camera
Definition at line 133 of file VFlowRenderer.h.
References VCamera::getViewMatrix(), and mCamera.
Referenced by QVolRendCanvas::mouseMoveEvent().
void VFlowRenderer::resize | ( | int | width, | |
int | height | |||
) |
resizes the Rendering Window
width | Width of Window | |
height | Height of Window |
Definition at line 95 of file VFlowRenderer.cpp.
References mCamera, and VCamera::setProjection().
Referenced by QVolRendCanvas::resizeGL().
void VFlowRenderer::draw | ( | int | m_TimeStep = 0 |
) |
draws the Volume with the set Shader
m_TimeStep | TimeStep for drawing |
Definition at line 100 of file VFlowRenderer.cpp.
References VFlowData::draw(), mCurrentMode, and mFlowData.
Referenced by QVolRendCanvas::paintGL().
void VFlowRenderer::drawGlyphes | ( | int | m_TimeStep = 0 |
) |
draws the Volume with the Glyph Shader set
m_TimeStep | TimeStep for drawing |
Definition at line 110 of file VFlowRenderer.cpp.
References arrowTfActivated, VFlowData::drawPoints(), mFlowData, mShaderWrapperGlyph, and mShaderWrapperGlyphTf.
Referenced by QVolRendCanvas::paintGL().
void VFlowRenderer::drawStreamLines | ( | ) |
draws the StreamLines
Definition at line 130 of file VFlowRenderer.cpp.
References VFlowData::drawStreamLines(), mFlowData, mShaderWrapperStreamLines, mShaderWrapperStreamLinesGlyph, mShaderWrapperStreamLinesTf, mShaderWrapperStreamLinesTfGlyph, mStrGlyphes, streamlinesColor, and streamlineTfActivated.
Referenced by QVolRendCanvas::paintGL().
void VFlowRenderer::drawIcons | ( | ) |
draws the Icons
Definition at line 168 of file VFlowRenderer.cpp.
References VFlowData::drawIcons(), mFlowData, and mShaderWrapperIcon.
Referenced by QVolRendCanvas::paintGL().
void VFlowRenderer::drawLic | ( | int | m_TimeStep = 0 |
) |
draws the lic
m_TimeStep | TimeStep for drawing |
Definition at line 178 of file VFlowRenderer.cpp.
References VWhiteNoise::getFrolicHandle(), VFlowData::getMaxPos(), VFlowData::getMinPos(), VVector::getX(), VVector::getY(), licTfActivated, mAnimateLic, mFlowData, mShaderWrapperLIC, mShaderWrapperLICTexture, mShaderWrapperLICTextureTf, mShaderWrapperLICTf, mWhiteNoise, and VImage::renderOuterScreen().
Referenced by QVolRendCanvas::paintGL().
bool VFlowRenderer::getProgramLoaded | ( | ) | [inline] |
returns if the shaders have been loaded
Definition at line 179 of file VFlowRenderer.h.
References mProgramLoaded.
Referenced by QVolRendCanvas::paintGL().
void VFlowRenderer::setFlowData | ( | VFlowData * | m_FlowData | ) | [inline] |
sets the FlowData Pointer
Definition at line 187 of file VFlowRenderer.h.
References mFlowData.
Referenced by QVolRendCanvas::load_data(), and QVolRendCanvas::load_single_data().
void VFlowRenderer::setBasicGlyphSize | ( | float | m_GlyphSize | ) | [inline] |
sets the basic glyph Size
Definition at line 195 of file VFlowRenderer.h.
References mBaseGlyphSize.
Referenced by QVolRendCanvas::computeGlyphs().
void VFlowRenderer::setGlyph | ( | bool | val | ) | [inline] |
sets rendering of glyphes
val | if glyph should be used |
Definition at line 204 of file VFlowRenderer.h.
References mUseGlyph.
Referenced by QVolRendCanvas::setGlyph().
void VFlowRenderer::setStrGlyphes | ( | bool | val | ) | [inline] |
sets rendering of streamline glyphes
val | if glyph should be used |
Definition at line 213 of file VFlowRenderer.h.
References mStrGlyphes.
Referenced by QVolRendCanvas::setStrGlyphes().
void VFlowRenderer::setArrowScaleMode | ( | bool | val | ) | [inline] |
sets the arrow scale mode ( true - normalized, false - data value dependent )
Definition at line 221 of file VFlowRenderer.h.
References arrows_nonunifcale.
Referenced by QVolRendCanvas::setArrowScaleModus().
void VFlowRenderer::setArrowAlpha | ( | float | val | ) | [inline] |
sets the arrow alpha mode
Definition at line 229 of file VFlowRenderer.h.
References arrowalpha.
Referenced by QVolRendCanvas::arrowalpha_changed_event().
void VFlowRenderer::setStreamLineAlpha | ( | float | val | ) | [inline] |
sets the arrow alpha mode
Definition at line 237 of file VFlowRenderer.h.
References streamlinesalpha.
Referenced by QVolRendCanvas::salpha_changed_event().
void VFlowRenderer::setLicAlpha | ( | float | val | ) | [inline] |
sets the lic alpha mode
Definition at line 245 of file VFlowRenderer.h.
References licalpha.
Referenced by QVolRendCanvas::licalpha_changed_event().
void VFlowRenderer::setLicSteps | ( | int | val | ) | [inline] |
sets the lic steps mode
Definition at line 253 of file VFlowRenderer.h.
References licsteps.
Referenced by QVolRendCanvas::licsteps_changed_event().
void VFlowRenderer::setLicStepSize | ( | int | val | ) | [inline] |
sets the lic steps mode
Definition at line 261 of file VFlowRenderer.h.
References licstepsize.
Referenced by QVolRendCanvas::licstepsize_changed_event().
void VFlowRenderer::setArrowColorPtr | ( | VVector * | v | ) | [inline] |
sets the arrowcolor ptr
v | Ptr to ArrowColor |
Definition at line 270 of file VFlowRenderer.h.
References arrowColor.
Referenced by QVolRendCanvas::setArrowsColorPtr().
void VFlowRenderer::enableArrowTF | ( | bool | val | ) | [inline] |
sets the arrow tf rendering
val | value of rendering |
Definition at line 279 of file VFlowRenderer.h.
References arrowTfActivated.
Referenced by QVolRendCanvas::setArrowTF().
void VFlowRenderer::enableLicTF | ( | bool | val | ) | [inline] |
sets the lic tf rendering
val | value of rendering |
Definition at line 288 of file VFlowRenderer.h.
References licTfActivated.
Referenced by QVolRendCanvas::setLicTF().
void VFlowRenderer::animateLic | ( | bool | val | ) | [inline] |
sets the lic animation
val | value of animation |
Definition at line 297 of file VFlowRenderer.h.
References mAnimateLic.
Referenced by QVolRendCanvas::animateLic().
void VFlowRenderer::enableStrTF | ( | bool | val | ) | [inline] |
sets the arrow tf rendering
val | value of rendering |
Definition at line 306 of file VFlowRenderer.h.
References streamlineTfActivated.
Referenced by QVolRendCanvas::setStrTF().
void VFlowRenderer::setStreamlinesColorPtr | ( | VVector * | v | ) | [inline] |
sets the streamlines color ptr
v | Ptr to StreamlinesColor |
Definition at line 315 of file VFlowRenderer.h.
References streamlinesColor.
Referenced by QVolRendCanvas::setStreamlinesColorPtr().
float VFlowRenderer::getCameraFOV | ( | ) | [inline] |
gets the Camera FOV
Definition at line 324 of file VFlowRenderer.h.
References VCamera::getFov(), and mCamera.
Referenced by QVolRendCanvas::load_data(), QVolRendCanvas::load_single_data(), and QVolRendCanvas::resizeGL().
float VFlowRenderer::getCameraAspect | ( | ) | [inline] |
returns the aspect Ratio of the Camera
Definition at line 333 of file VFlowRenderer.h.
References VCamera::getAspecRatio(), and mCamera.
Referenced by QVolRendCanvas::load_data(), QVolRendCanvas::load_single_data(), and QVolRendCanvas::resizeGL().
VMatrix VFlowRenderer::getCameraProjMatrix | ( | ) | [inline] |
returns the aspect Ratio of the Camera
Definition at line 342 of file VFlowRenderer.h.
References VCamera::getProjMatrix(), and mCamera.
Referenced by QVolRendCanvas::mousePressEvent().
VMatrix VFlowRenderer::getCameraViewMatrix | ( | ) | [inline] |
returns the aspect Ratio of the Camera
Definition at line 351 of file VFlowRenderer.h.
References VCamera::getViewMatrix(), and mCamera.
Referenced by QVolRendCanvas::mousePressEvent().
void VFlowRenderer::loadProgram | ( | ) |
loads all Shaders
Definition at line 230 of file VFlowRenderer.cpp.
References VWhiteNoise::generate(), VImage::loadImage(), mGaussTextureHandle, mGlyph, mGlyphProgram, mGlyphProgramTf, mIconProgram, mLICProgram, mLICProgramTexture, mLICProgramTextureTf, mLICProgramTf, mOLICProgramTexture, mPerlinNoise, mPressureProgram, mProgramLoaded, mRenderToVBProgram, mRenderToVBProgramGlyph, mRenderToVBProgramTf, mRenderToVBProgramTfGlyph, mTriangle, mVelocityProgram, mVorticityProgram, and mWhiteNoise.
Referenced by QVolRendCanvas::paintGL().
void VFlowRenderer::generateFrolic | ( | float | m_Width, | |
float | m_Height | |||
) |
generates the Frolic Texture
m_Width | Width of Texture | |
m_Height | Height of Texture |
Definition at line 401 of file VFlowRenderer.cpp.
References VWhiteNoise::generateFrolicTexture(), and mWhiteNoise.
void VFlowRenderer::setShaderWrapperVelocity | ( | ) |
set Function for the Shader Wrapper
Definition at line 4 of file VFlowRenderer_helper.cpp.
References VProgram::bind(), VFlowData::getMaximalMagnitude(), VFlowData::getMinimalMagnitude(), VCamera::getProjectionMatrix(), VProgram::getUniformLocation(), VCamera::getViewMatrix(), m_TransferFunctionHandle, mCamera, mFlowData, mVelocityProgram, VCamera::updateProjMatrix(), and VCamera::updateViewMatrix().
Referenced by VFlowRenderer::ShaderWrapperVelocity::ShaderWrapperVelocity::set().
void VFlowRenderer::clearShaderWrapperVelocity | ( | ) |
clear Function for the Shader Wrapper
Definition at line 24 of file VFlowRenderer_helper.cpp.
References mVelocityProgram, and VProgram::release().
Referenced by VFlowRenderer::ShaderWrapperVelocity::ShaderWrapperVelocity::clean().
void VFlowRenderer::setShaderWrapperPressure | ( | ) |
set Function for the Shader Wrapper
Definition at line 33 of file VFlowRenderer_helper.cpp.
References VProgram::bind(), VFlowData::getMaximalDatavalue(), VFlowData::getMinimalDatavalue(), VCamera::getProjectionMatrix(), VProgram::getUniformLocation(), VCamera::getViewMatrix(), m_TransferFunctionHandle, mCamera, mFlowData, mPressureProgram, VCamera::updateProjMatrix(), and VCamera::updateViewMatrix().
Referenced by VFlowRenderer::ShaderWrapperPressure::ShaderWrapperPressure::set().
void VFlowRenderer::clearShaderWrapperPressure | ( | ) |
clear Function for the Shader Wrapper
Definition at line 53 of file VFlowRenderer_helper.cpp.
References mVelocityProgram, and VProgram::release().
Referenced by VFlowRenderer::ShaderWrapperPressure::ShaderWrapperPressure::clean().
void VFlowRenderer::setShaderWrapperVorticity | ( | ) |
set Function for the Shader Wrapper
Definition at line 62 of file VFlowRenderer_helper.cpp.
References VProgram::bind(), VFlowData::getMaximalDatavalue(), VFlowData::getMinimalDatavalue(), VCamera::getProjectionMatrix(), VProgram::getUniformLocation(), VCamera::getViewMatrix(), m_TransferFunctionHandle, mCamera, mFlowData, mVorticityProgram, VCamera::updateProjMatrix(), and VCamera::updateViewMatrix().
Referenced by VFlowRenderer::ShaderWrapperVorticity::ShaderWrapperVorticity::set().
void VFlowRenderer::clearShaderWrapperVorticity | ( | ) |
clear Function for the Shader Wrapper
Definition at line 82 of file VFlowRenderer_helper.cpp.
References mVorticityProgram, and VProgram::release().
Referenced by VFlowRenderer::ShaderWrapperVorticity::ShaderWrapperVorticity::clean().
void VFlowRenderer::setShaderWrapperStreamLines | ( | ) |
set Function for the Shader Wrapper
Definition at line 297 of file VFlowRenderer_helper.cpp.
References VProgram::bind(), VCamera::getProjectionMatrix(), VVector::getPtr(), VProgram::getUniformLocation(), VCamera::getViewMatrix(), mCamera, mRenderToVBProgram, streamlinesalpha, streamlinesColor, VCamera::updateProjMatrix(), and VCamera::updateViewMatrix().
Referenced by VFlowRenderer::ShaderWrapperStreamLines::ShaderWrapperStreamLines::set().
void VFlowRenderer::clearShaderWrapperStreamLines | ( | ) |
clear Function for the Shader Wrapper
Definition at line 315 of file VFlowRenderer_helper.cpp.
References mRenderToVBProgram, and VProgram::release().
Referenced by VFlowRenderer::ShaderWrapperStreamLines::ShaderWrapperStreamLines::clean().
void VFlowRenderer::setShaderWrapperStreamLinesGlyph | ( | ) |
set Function for the Shader Wrapper
Definition at line 325 of file VFlowRenderer_helper.cpp.
References VProgram::bind(), VImage::getImageHandle(), VCamera::getProjectionMatrix(), VVector::getPtr(), VProgram::getUniformLocation(), VCamera::getViewMatrix(), mCamera, mRenderToVBProgramGlyph, mTriangle, streamlinesalpha, streamlinesColor, VCamera::updateProjMatrix(), and VCamera::updateViewMatrix().
Referenced by VFlowRenderer::ShaderWrapperStreamLinesGlyph::ShaderWrapperStreamLinesGlyph::set().
void VFlowRenderer::clearShaderWrapperStreamLinesGlyph | ( | ) |
clear Function for the Shader Wrapper
Definition at line 348 of file VFlowRenderer_helper.cpp.
References mRenderToVBProgramGlyph, and VProgram::release().
Referenced by VFlowRenderer::ShaderWrapperStreamLinesGlyph::ShaderWrapperStreamLinesGlyph::clean().
void VFlowRenderer::setShaderWrapperStreamLinesTf | ( | int | m_TimeStep | ) |
set Function for the Shader Wrapper
Definition at line 359 of file VFlowRenderer_helper.cpp.
References VProgram::bind(), VFlowData::getExtends(), VFlowData::getMaximalMagnitude(), VFlowData::getMinimalMagnitude(), VCamera::getProjectionMatrix(), VProgram::getUniformLocation(), VFlowData::getVelocityHandle(), VFlowData::getVertexToTexture(), VCamera::getViewMatrix(), m_StreamLineTransferFunctionHandle, mCamera, mFlowData, mRenderToVBProgramTf, VCamera::updateProjMatrix(), and VCamera::updateViewMatrix().
Referenced by VFlowRenderer::ShaderWrapperStreamLinesTf::ShaderWrapperStreamLinesTf::set().
void VFlowRenderer::clearShaderWrapperStreamLinesTf | ( | ) |
clear Function for the Shader Wrapper
Definition at line 393 of file VFlowRenderer_helper.cpp.
References mRenderToVBProgramTf, and VProgram::release().
Referenced by VFlowRenderer::ShaderWrapperStreamLinesTf::ShaderWrapperStreamLinesTf::clean().
void VFlowRenderer::setShaderWrapperStreamLinesTfGlyph | ( | int | m_TimeStep | ) |
set Function for the Shader Wrapper
Definition at line 408 of file VFlowRenderer_helper.cpp.
References VProgram::bind(), VFlowData::getExtends(), VImage::getImageHandle(), VFlowData::getMaximalMagnitude(), VFlowData::getMinimalMagnitude(), VCamera::getProjectionMatrix(), VProgram::getUniformLocation(), VFlowData::getVelocityHandle(), VFlowData::getVertexToTexture(), VCamera::getViewMatrix(), m_StreamLineTransferFunctionHandle, mCamera, mFlowData, mRenderToVBProgramTfGlyph, mTriangle, VCamera::updateProjMatrix(), and VCamera::updateViewMatrix().
Referenced by VFlowRenderer::ShaderWrapperStreamLinesTfGlyph::ShaderWrapperStreamLinesTfGlyph::set().
void VFlowRenderer::clearShaderWrapperStreamLinesTfGlyph | ( | ) |
clear Function for the Shader Wrapper
Definition at line 447 of file VFlowRenderer_helper.cpp.
References mRenderToVBProgramTfGlyph, and VProgram::release().
Referenced by VFlowRenderer::ShaderWrapperStreamLinesTfGlyph::ShaderWrapperStreamLinesTfGlyph::clean().
void VFlowRenderer::setShaderWrapperLIC | ( | int | m_TimeStep | ) |
set Function for the Shader Wrapper
Definition at line 466 of file VFlowRenderer_helper.cpp.
References VProgram::bind(), VFlowData::getExtends(), VCamera::getProjectionMatrix(), VWhiteNoise::getTextureHandle(), VProgram::getUniformLocation(), VFlowData::getVelocityHandle(), VCamera::getViewMatrix(), licalpha, licsteps, licstepsize, mCamera, mFlowData, mLICProgram, mWhiteNoise, VCamera::updateProjMatrix(), and VCamera::updateViewMatrix().
Referenced by VFlowRenderer::ShaderWrapperLIC::ShaderWrapperLIC::set().
void VFlowRenderer::clearShaderWrapperLIC | ( | ) |
clear Function for the Shader Wrapper
Definition at line 504 of file VFlowRenderer_helper.cpp.
References mLICProgram, and VProgram::release().
Referenced by VFlowRenderer::ShaderWrapperLIC::ShaderWrapperLIC::clean().
void VFlowRenderer::setShaderWrapperLICTexture | ( | int | m_TimeStep | ) |
set Function for the Shader Wrapper
Definition at line 520 of file VFlowRenderer_helper.cpp.
References VProgram::bind(), VFlowData::getExtends(), VCamera::getProjectionMatrix(), VWhiteNoise::getTextureHandle(), VProgram::getUniformLocation(), VFlowData::getVelocityHandle(), VCamera::getViewMatrix(), licalpha, licsteps, licstepsize, mCamera, mFlowData, mGaussTextureHandle, mLICProgramTexture, mLicTextureOffset, mWhiteNoise, VCamera::updateProjMatrix(), and VCamera::updateViewMatrix().
Referenced by VFlowRenderer::ShaderWrapperLICTexture::ShaderWrapperLICTexture::set().
void VFlowRenderer::clearShaderWrapperLICTexture | ( | ) |
clear Function for the Shader Wrapper
Definition at line 574 of file VFlowRenderer_helper.cpp.
References mLICProgramTexture, and VProgram::release().
Referenced by VFlowRenderer::ShaderWrapperLICTexture::ShaderWrapperLICTexture::clean().
void VFlowRenderer::setShaderWrapperOLICTexture | ( | int | m_TimeStep | ) |
set Function for the Shader Wrapper
Definition at line 594 of file VFlowRenderer_helper.cpp.
References VProgram::bind(), VFlowData::getExtends(), VWhiteNoise::getFrolicHandle(), VCamera::getProjectionMatrix(), VWhiteNoise::getTextureHandle(), VProgram::getUniformLocation(), VFlowData::getVelocityHandle(), VCamera::getViewMatrix(), licalpha, licsteps, licstepsize, mCamera, mFlowData, mGaussTextureHandle, mLicTextureOffset, mOLICProgramTexture, mWhiteNoise, VCamera::updateProjMatrix(), and VCamera::updateViewMatrix().
Referenced by VFlowRenderer::ShaderWrapperOLICTexture::ShaderWrapperOLICTexture::set().
void VFlowRenderer::clearShaderWrapperOLICTexture | ( | ) |
clear Function for the Shader Wrapper
Definition at line 653 of file VFlowRenderer_helper.cpp.
References mOLICProgramTexture, and VProgram::release().
Referenced by VFlowRenderer::ShaderWrapperOLICTexture::ShaderWrapperOLICTexture::clean().
void VFlowRenderer::setShaderWrapperLICTf | ( | int | m_TimeStep | ) |
set Function for the Shader Wrapper
Definition at line 677 of file VFlowRenderer_helper.cpp.
References VProgram::bind(), VFlowData::getExtends(), VCamera::getProjectionMatrix(), VWhiteNoise::getTextureHandle(), VProgram::getUniformLocation(), VFlowData::getVelocityHandle(), VCamera::getViewMatrix(), licalpha, licsteps, licstepsize, m_LicTransferFunctionHandle, mCamera, mFlowData, mLICProgramTf, mWhiteNoise, VCamera::updateProjMatrix(), and VCamera::updateViewMatrix().
Referenced by VFlowRenderer::ShaderWrapperLICTf::ShaderWrapperLICTf::set().
void VFlowRenderer::clearShaderWrapperLICTf | ( | ) |
clear Function for the Shader Wrapper
Definition at line 720 of file VFlowRenderer_helper.cpp.
References mLICProgramTf, and VProgram::release().
Referenced by VFlowRenderer::ShaderWrapperLICTf::ShaderWrapperLICTf::clean().
void VFlowRenderer::setShaderWrapperLICTextureTf | ( | int | m_TimeStep | ) |
set Function for the Shader Wrapper
Definition at line 740 of file VFlowRenderer_helper.cpp.
References VProgram::bind(), VFlowData::getExtends(), VCamera::getProjectionMatrix(), VWhiteNoise::getTextureHandle(), VProgram::getUniformLocation(), VFlowData::getVelocityHandle(), VCamera::getViewMatrix(), licalpha, licsteps, licstepsize, m_LicTransferFunctionHandle, mCamera, mFlowData, mGaussTextureHandle, mLICProgramTextureTf, mLicTextureOffset, mWhiteNoise, VCamera::updateProjMatrix(), and VCamera::updateViewMatrix().
Referenced by VFlowRenderer::ShaderWrapperLICTextureTf::ShaderWrapperLICTextureTf::set().
void VFlowRenderer::clearShaderWrapperLICTextureTf | ( | ) |
clear Function for the Shader Wrapper
Definition at line 796 of file VFlowRenderer_helper.cpp.
References mLICProgramTextureTf, and VProgram::release().
Referenced by VFlowRenderer::ShaderWrapperLICTextureTf::ShaderWrapperLICTextureTf::clean().
void VFlowRenderer::setShaderWrapperGlyph | ( | ) |
set Function for the Shader Wrapper
Definition at line 91 of file VFlowRenderer_helper.cpp.
References activeDataValue, arrowalpha, arrowColor, arrows_nonunifcale, VProgram::bind(), VFlowData::getExtends(), VImage::getImageHandle(), VFlowData::getMaximalDatavalue(), VFlowData::getMinimalDatavalue(), VCamera::getProjectionMatrix(), VVector::getPtr(), VProgram::getUniformLocation(), VCamera::getViewMatrix(), mBaseGlyphSize, mCamera, mCameraDistance, mFlowData, mGlyph, mGlyphProgram, mTriangle, mUseGlyph, VCamera::updateProjMatrix(), and VCamera::updateViewMatrix().
Referenced by VFlowRenderer::ShaderWrapperGlyph::ShaderWrapperGlyph::set().
void VFlowRenderer::clearShaderWrapperGlyph | ( | ) |
clear Function for the Shader Wrapper
Definition at line 165 of file VFlowRenderer_helper.cpp.
References mGlyphProgram, and VProgram::release().
Referenced by VFlowRenderer::ShaderWrapperGlyph::ShaderWrapperGlyph::clean().
void VFlowRenderer::setShaderWrapperGlyphTf | ( | ) |
set Function for the Shader Wrapper
Definition at line 185 of file VFlowRenderer_helper.cpp.
References activeDataValue, arrowalpha, arrowColor, arrows_nonunifcale, VProgram::bind(), VFlowData::getExtends(), VImage::getImageHandle(), VFlowData::getMaximalDatavalue(), VFlowData::getMaximalMagnitude(), VFlowData::getMinimalDatavalue(), VFlowData::getMinimalMagnitude(), VCamera::getProjectionMatrix(), VVector::getPtr(), VProgram::getUniformLocation(), VCamera::getViewMatrix(), m_ArrowTransferFunctionHandle, mBaseGlyphSize, mCamera, mCameraDistance, mFlowData, mGlyph, mGlyphProgramTf, mTriangle, mUseGlyph, VCamera::updateProjMatrix(), and VCamera::updateViewMatrix().
Referenced by VFlowRenderer::ShaderWrapperGlyphTf::ShaderWrapperGlyphTf::set().
void VFlowRenderer::clearShaderWrapperGlyphTf | ( | ) |
clear Function for the Shader Wrapper
Definition at line 261 of file VFlowRenderer_helper.cpp.
References mGlyphProgramTf, and VProgram::release().
Referenced by VFlowRenderer::ShaderWrapperGlyphTf::ShaderWrapperGlyphTf::clean().
void VFlowRenderer::setShaderWrapperIcon | ( | ) |
set Function for the Shader Wrapper
Definition at line 281 of file VFlowRenderer_helper.cpp.
References VProgram::bind(), VCamera::getProjectionMatrix(), VProgram::getUniformLocation(), VCamera::getViewMatrix(), mCamera, mIconProgram, VCamera::updateProjMatrix(), and VCamera::updateViewMatrix().
Referenced by VFlowRenderer::ShaderWrapperIcon::ShaderWrapperIcon::set().
void VFlowRenderer::clearShaderWrapperIcon | ( | ) |
clear Function for the Shader Wrapper
Definition at line 292 of file VFlowRenderer_helper.cpp.
References mIconProgram, and VProgram::release().
Referenced by VFlowRenderer::ShaderWrapperIcon::ShaderWrapperIcon::clean().
VFlowData* VFlowRenderer::mFlowData [private] |
Pointer to Flow Data.
Definition at line 1180 of file VFlowRenderer.h.
Referenced by draw(), drawGlyphes(), drawIcons(), drawLic(), drawStreamLines(), getFlowDataMax(), getFlowDataMin(), setFlowData(), setShaderWrapperGlyph(), setShaderWrapperGlyphTf(), setShaderWrapperLIC(), setShaderWrapperLICTexture(), setShaderWrapperLICTextureTf(), setShaderWrapperLICTf(), setShaderWrapperOLICTexture(), setShaderWrapperPressure(), setShaderWrapperStreamLinesTf(), setShaderWrapperStreamLinesTfGlyph(), setShaderWrapperVelocity(), and setShaderWrapperVorticity().
VCamera VFlowRenderer::mCamera [private] |
Camera.
Definition at line 1181 of file VFlowRenderer.h.
Referenced by getCameraAspect(), getCameraFOV(), getCameraProjMatrix(), getCameraSideVector(), getCameraUpVector(), getCameraViewMatrix(), processGuiInput(), resize(), setShaderWrapperGlyph(), setShaderWrapperGlyphTf(), setShaderWrapperIcon(), setShaderWrapperLIC(), setShaderWrapperLICTexture(), setShaderWrapperLICTextureTf(), setShaderWrapperLICTf(), setShaderWrapperOLICTexture(), setShaderWrapperPressure(), setShaderWrapperStreamLines(), setShaderWrapperStreamLinesGlyph(), setShaderWrapperStreamLinesTf(), setShaderWrapperStreamLinesTfGlyph(), setShaderWrapperVelocity(), setShaderWrapperVorticity(), and VFlowRenderer().
ShaderWrapper* VFlowRenderer::mCurrentMode [private] |
Current used ShaderWrapper.
Definition at line 1183 of file VFlowRenderer.h.
Referenced by draw(), setCurrentShader(), and VFlowRenderer().
Wrapper Instance for Velocity.
Definition at line 1185 of file VFlowRenderer.h.
Referenced by setCurrentShader(), and VFlowRenderer().
Wrapper Instance for Pressure.
Definition at line 1186 of file VFlowRenderer.h.
Referenced by setCurrentShader().
Wrapper Instance for Vorticity.
Definition at line 1187 of file VFlowRenderer.h.
Referenced by setCurrentShader().
Wrapper Instance for StreamLines.
Definition at line 1188 of file VFlowRenderer.h.
Referenced by drawStreamLines().
Wrapper Instance for StreamLines.
Definition at line 1189 of file VFlowRenderer.h.
Referenced by drawStreamLines().
Wrapper Instance for StreamLines.
Definition at line 1190 of file VFlowRenderer.h.
Referenced by drawStreamLines().
Wrapper Instance for StreamLines.
Definition at line 1191 of file VFlowRenderer.h.
Referenced by drawStreamLines().
Wrapper Instance for LIC.
Definition at line 1194 of file VFlowRenderer.h.
Wrapper Instance for Icon.
Definition at line 1197 of file VFlowRenderer.h.
Referenced by drawIcons().
VProgram VFlowRenderer::mVelocityProgram [private] |
Program for Velocity.
Definition at line 1199 of file VFlowRenderer.h.
Referenced by clearShaderWrapperPressure(), clearShaderWrapperVelocity(), loadProgram(), and setShaderWrapperVelocity().
VProgram VFlowRenderer::mPressureProgram [private] |
Program for Pressure.
Definition at line 1200 of file VFlowRenderer.h.
Referenced by loadProgram(), and setShaderWrapperPressure().
VProgram VFlowRenderer::mVorticityProgram [private] |
Program for Vorticity.
Definition at line 1201 of file VFlowRenderer.h.
Referenced by clearShaderWrapperVorticity(), loadProgram(), and setShaderWrapperVorticity().
VProgram VFlowRenderer::mRenderToVBProgram [private] |
Program to render the StreamLineTexture to a VBO.
Definition at line 1202 of file VFlowRenderer.h.
Referenced by clearShaderWrapperStreamLines(), loadProgram(), and setShaderWrapperStreamLines().
Program to render the StreamLineTexture to a VBO.
Definition at line 1203 of file VFlowRenderer.h.
Referenced by clearShaderWrapperStreamLinesGlyph(), loadProgram(), and setShaderWrapperStreamLinesGlyph().
VProgram VFlowRenderer::mRenderToVBProgramTf [private] |
Program to render the StreamLineTexture to a VBO.
Definition at line 1204 of file VFlowRenderer.h.
Referenced by clearShaderWrapperStreamLinesTf(), loadProgram(), and setShaderWrapperStreamLinesTf().
Program to render the StreamLineTexture to a VBO.
Definition at line 1205 of file VFlowRenderer.h.
Referenced by clearShaderWrapperStreamLinesTfGlyph(), loadProgram(), and setShaderWrapperStreamLinesTfGlyph().
VProgram VFlowRenderer::mLICProgram [private] |
Program to render LIC.
Definition at line 1206 of file VFlowRenderer.h.
Referenced by clearShaderWrapperLIC(), loadProgram(), and setShaderWrapperLIC().
VProgram VFlowRenderer::mLICProgramTexture [private] |
Program to render LIC.
Definition at line 1207 of file VFlowRenderer.h.
Referenced by clearShaderWrapperLICTexture(), loadProgram(), and setShaderWrapperLICTexture().
VProgram VFlowRenderer::mOLICProgramTexture [private] |
Program to render LIC.
Definition at line 1208 of file VFlowRenderer.h.
Referenced by clearShaderWrapperOLICTexture(), loadProgram(), and setShaderWrapperOLICTexture().
VProgram VFlowRenderer::mIconProgram [private] |
Program to render Icons.
Definition at line 1209 of file VFlowRenderer.h.
Referenced by clearShaderWrapperIcon(), loadProgram(), and setShaderWrapperIcon().
VProgram VFlowRenderer::mLICProgramTf [private] |
Program for transferfunction based LIC.
Definition at line 1210 of file VFlowRenderer.h.
Referenced by clearShaderWrapperLICTf(), loadProgram(), and setShaderWrapperLICTf().
VProgram VFlowRenderer::mLICProgramTextureTf [private] |
Program for transferfunction based LIC.
Definition at line 1211 of file VFlowRenderer.h.
Referenced by clearShaderWrapperLICTextureTf(), loadProgram(), and setShaderWrapperLICTextureTf().
Wrapper Instance for Velocity.
Definition at line 1214 of file VFlowRenderer.h.
Referenced by drawGlyphes().
VProgram VFlowRenderer::mGlyphProgram [private] |
Program for Velocity.
Definition at line 1215 of file VFlowRenderer.h.
Referenced by clearShaderWrapperGlyph(), loadProgram(), and setShaderWrapperGlyph().
Wrapper Instance for Velocity.
Definition at line 1216 of file VFlowRenderer.h.
Referenced by drawGlyphes().
VProgram VFlowRenderer::mGlyphProgramTf [private] |
Program for Velocity.
Definition at line 1217 of file VFlowRenderer.h.
Referenced by clearShaderWrapperGlyphTf(), loadProgram(), and setShaderWrapperGlyphTf().
bool VFlowRenderer::mProgramLoaded [private] |
If Program is already Loaded.
Definition at line 1219 of file VFlowRenderer.h.
Referenced by getProgramLoaded(), and loadProgram().
VImage VFlowRenderer::mGlyph [private] |
Image for glyph.
Definition at line 1221 of file VFlowRenderer.h.
Referenced by loadProgram(), setShaderWrapperGlyph(), and setShaderWrapperGlyphTf().
VImage VFlowRenderer::mTriangle [private] |
Image for triangle.
Definition at line 1222 of file VFlowRenderer.h.
Referenced by loadProgram(), setShaderWrapperGlyph(), setShaderWrapperGlyphTf(), setShaderWrapperStreamLinesGlyph(), and setShaderWrapperStreamLinesTfGlyph().
bool VFlowRenderer::mUseGlyph [private] |
if glyph or triangle should be used.
Definition at line 1224 of file VFlowRenderer.h.
Referenced by setGlyph(), setShaderWrapperGlyph(), and setShaderWrapperGlyphTf().
unsigned int VFlowRenderer::m_TransferFunctionHandle [private] |
Handle to Texture where Transferfunction is Stored.
Definition at line 1226 of file VFlowRenderer.h.
Referenced by setShaderWrapperPressure(), setShaderWrapperVelocity(), setShaderWrapperVorticity(), and setTransferFunctionHandle().
unsigned int VFlowRenderer::m_ArrowTransferFunctionHandle [private] |
Handle to Texture where ArrowTransferfunction is Stored.
Definition at line 1227 of file VFlowRenderer.h.
Referenced by setArrowTransferFunctionHandle(), and setShaderWrapperGlyphTf().
unsigned int VFlowRenderer::m_StreamLineTransferFunctionHandle [private] |
Handle to Texture where StreamLineTransferfunction is Stored.
Definition at line 1228 of file VFlowRenderer.h.
Referenced by setShaderWrapperStreamLinesTf(), setShaderWrapperStreamLinesTfGlyph(), and setStreamLineTransferFunctionHandle().
unsigned int VFlowRenderer::m_LicTransferFunctionHandle [private] |
Handle to Texture where Lic Transferfunction is Stored.
Definition at line 1229 of file VFlowRenderer.h.
Referenced by setLicTransferFunctionHandle(), setShaderWrapperLICTextureTf(), and setShaderWrapperLICTf().
float VFlowRenderer::mBaseGlyphSize [private] |
The Basic Glyph Size.
Definition at line 1231 of file VFlowRenderer.h.
Referenced by setBasicGlyphSize(), setShaderWrapperGlyph(), and setShaderWrapperGlyphTf().
float VFlowRenderer::mCameraDistance [private] |
Definition at line 1232 of file VFlowRenderer.h.
Referenced by processGuiInput(), setShaderWrapperGlyph(), and setShaderWrapperGlyphTf().
int VFlowRenderer::activeDataValue [private] |
Definition at line 1234 of file VFlowRenderer.h.
Referenced by getFlowDataMax(), getFlowDataMin(), setCurrentShader(), setShaderWrapperGlyph(), and setShaderWrapperGlyphTf().
int VFlowRenderer::arrows_nonunifcale [private] |
the arrow scale modus (normalized/data value dependent).
Definition at line 1237 of file VFlowRenderer.h.
Referenced by setArrowScaleMode(), setShaderWrapperGlyph(), and setShaderWrapperGlyphTf().
float VFlowRenderer::arrowalpha [private] |
alpha Value of the Arrows.
Definition at line 1238 of file VFlowRenderer.h.
Referenced by setArrowAlpha(), setShaderWrapperGlyph(), and setShaderWrapperGlyphTf().
bool VFlowRenderer::arrowTfActivated [private] |
If Arrow Color should be taken out of the TF.
Definition at line 1239 of file VFlowRenderer.h.
Referenced by drawGlyphes(), and enableArrowTF().
VVector* VFlowRenderer::arrowColor [private] |
Pointer to the ArrowColor.
Definition at line 1241 of file VFlowRenderer.h.
Referenced by setArrowColorPtr(), setShaderWrapperGlyph(), and setShaderWrapperGlyphTf().
VVector* VFlowRenderer::streamlinesColor [private] |
Pointer to the StreamlinesColor.
Definition at line 1242 of file VFlowRenderer.h.
Referenced by drawStreamLines(), setShaderWrapperStreamLines(), setShaderWrapperStreamLinesGlyph(), and setStreamlinesColorPtr().
bool VFlowRenderer::streamlineTfActivated [private] |
If Streamline Color should be taken out of the TF.
Definition at line 1244 of file VFlowRenderer.h.
Referenced by drawStreamLines(), and enableStrTF().
float VFlowRenderer::streamlinesalpha [private] |
alpha Value of StreamLines.
Definition at line 1245 of file VFlowRenderer.h.
Referenced by setShaderWrapperStreamLines(), setShaderWrapperStreamLinesGlyph(), and setStreamLineAlpha().
VWhiteNoise VFlowRenderer::mWhiteNoise [private] |
White Noise Texture.
Definition at line 1247 of file VFlowRenderer.h.
Referenced by drawLic(), generateFrolic(), loadProgram(), setShaderWrapperLIC(), setShaderWrapperLICTexture(), setShaderWrapperLICTextureTf(), setShaderWrapperLICTf(), and setShaderWrapperOLICTexture().
VImage VFlowRenderer::mPerlinNoise [private] |
float VFlowRenderer::licalpha [private] |
alpha Value for LIC.
Definition at line 1250 of file VFlowRenderer.h.
Referenced by setLicAlpha(), setShaderWrapperLIC(), setShaderWrapperLICTexture(), setShaderWrapperLICTextureTf(), setShaderWrapperLICTf(), and setShaderWrapperOLICTexture().
int VFlowRenderer::licsteps [private] |
steps used for LIC.
Definition at line 1251 of file VFlowRenderer.h.
Referenced by setLicSteps(), setShaderWrapperLIC(), setShaderWrapperLICTexture(), setShaderWrapperLICTextureTf(), setShaderWrapperLICTf(), and setShaderWrapperOLICTexture().
int VFlowRenderer::licstepsize [private] |
stepsize for LIC.
Definition at line 1252 of file VFlowRenderer.h.
Referenced by setLicStepSize(), setShaderWrapperLIC(), setShaderWrapperLICTexture(), setShaderWrapperLICTextureTf(), setShaderWrapperLICTf(), and setShaderWrapperOLICTexture().
bool VFlowRenderer::licTfActivated [private] |
if lictf.
Definition at line 1253 of file VFlowRenderer.h.
Referenced by drawLic(), and enableLicTF().
bool VFlowRenderer::mStrGlyphes [private] |
sets the StreamLine Glyphes.
Definition at line 1255 of file VFlowRenderer.h.
Referenced by drawStreamLines(), and setStrGlyphes().
unsigned int VFlowRenderer::mGaussTextureHandle [private] |
Handle for a Texture Storing Gauss Values.
Definition at line 1257 of file VFlowRenderer.h.
Referenced by loadProgram(), setShaderWrapperLICTexture(), setShaderWrapperLICTextureTf(), and setShaderWrapperOLICTexture().
float VFlowRenderer::mLicTextureOffset [private] |
Offset for LIC Textures.
Definition at line 1258 of file VFlowRenderer.h.
Referenced by setShaderWrapperLICTexture(), setShaderWrapperLICTextureTf(), and setShaderWrapperOLICTexture().
bool VFlowRenderer::mAnimateLic [private] |
If Lic should be animated.
Definition at line 1260 of file VFlowRenderer.h.
Referenced by animateLic(), and drawLic().