#include <VFlowData.h>
Public Member Functions | |
| VFlowData () | |
| ~VFlowData () | |
| VFlowData (std::string m_FileName) | |
| bool | loadData (std::string m_FileName) |
| bool | loadData (std::string m_FileName, std::string m_DatFilename) |
| void | draw (int m_TimeStep=0) |
| void | drawPoints (int m_TimeStep=0) |
| void | drawStreamLines (VVector *col) |
| void | drawIcons () |
| void | addIconPoint (float x, float y) |
| void | drawTextureTest (int m_TimeStep=0) |
| int | getNumDataValues () |
| int | getNumTimeSteps () |
| VVector | getFlowCenter () |
| VVector | getMinPos () |
| VVector | getMaxPos () |
| VVector | getFlowExtends () |
| float * | getExtends () |
| float | getMaximalMagnitude () |
| float | getMinimalMagnitude () |
| float | getMaximalDatavalue (int index) |
| float | getMinimalDatavalue (int index) |
| bool | getTexturesGenerated () |
| void | setStreamlinesSeedSeparation (float val) |
| void | setStreamlinesTestSeparation (float val) |
| void | setStreamlinesSteps (float val) |
| void | setStreamlinesDt (float val) |
| void | setTaperingState (bool state) |
| void | setStrGlyphes (bool state) |
| void | setTaperingScale (float val) |
| void | setIntegrationMethod (bool val) |
| void | generateGlyphIndices (int m_NumX, int m_NumY) |
| void | generateTextures () |
| void | generateCPUStreamLines (float m_MaxSteps, float m_StreamSeparation, int m_TimeStep=0) |
| std::vector< VVector > | generateCPUStreamSingleWithTests (std::vector< VStreamLine > otherStreamlines, float x, float y, float m_MaxSteps, float dtest, int m_TimeStep) |
| std::vector< VVector > | generateCPUStreamSingleWithoutTests (float x, float y, float dtest, float m_MaxSteps, int m_TimeStep) |
| void | generateCPUStreamLinesLEFT (float m_MaxSteps, float m_StreamSeparation, int m_TimeStep) |
| void | generateCPUStreamLinesTOP (float m_MaxSteps, float m_StreamSeparation, int m_TimeStep) |
| void | generateCPUStreamLinesRIGHT (float m_MaxSteps, float m_StreamSeparation, int m_TimeStep) |
| void | generateCPUStreamLinesBOTTOM (float m_MaxSteps, float m_StreamSeparation, int m_TimeStep) |
| void | generateCPUStreamLinesALL (float m_MaxSteps, float m_StreamSeparation, int m_TimeStep) |
| void | generateCPUStreamLinesRANDOM (float m_MaxSteps, float m_StreamSeparation, int m_TimeStep) |
| void | generateCPUStreamLinesMANUAL (float m_MaxSteps, float m_StreamSeparation, int m_TimeStep) |
| void | generateCPUStreamLinesEVEN (float m_MaxSteps, float m_StreamSeparation, int m_TimeStep) |
| void | generateCPUStreamLinesLEFT_RK2 (float m_MaxSteps, float m_StreamSeparation, int m_TimeStep) |
| void | generateCPUStreamLinesTOP_RK2 (float m_MaxSteps, float m_StreamSeparation, int m_TimeStep) |
| void | generateCPUStreamLinesRIGHT_RK2 (float m_MaxSteps, float m_StreamSeparation, int m_TimeStep) |
| void | generateCPUStreamLinesBOTTOM_RK2 (float m_MaxSteps, float m_StreamSeparation, int m_TimeStep) |
| void | generateCPUStreamLinesALL_RK2 (float m_MaxSteps, float m_StreamSeparation, int m_TimeStep) |
| void | generateCPUStreamLinesRANDOM_RK2 (float m_MaxSteps, float m_StreamSeparation, int m_TimeStep) |
| void | generateCPUStreamLinesMANUAL_RK2 (float m_MaxSteps, float m_StreamSeparation, int m_TimeStep) |
| void | generateCPUStreamLinesEVEN_RK2 (float m_MaxSteps, float m_StreamSeparation, int m_TimeStep) |
| void | addManualSeedpoint (float x, float y) |
| void | drawStreamlinesFromSeedpoints (float m_MaxSteps, float m_TimeStep) |
| bool | isIndexOfManualPlacingMethod (int val) |
| bool | isIndexOfEvenPlacingMethod (int val) |
| void | setPlacingMethod (int val) |
| unsigned int | getVelocityHandle (int m_TimeStep) |
| float * | getVertexToTexture () |
| float * | getTextureToVertex () |
| void | loadStreamLines (std::string m_FileName) |
| void | saveStreamLines (std::string m_FileName) |
| void | setIconScale (int m_IconScale) |
| void | setTailLength (int m_TailLength) |
| void | setTimeStep (int val) |
| void | computeIcons () |
Private Member Functions | |
| bool | getPointAt (VVector *next, std::vector< float > pixeldata, float px, float py, int texsize_x, int texsize_y) |
| bool | readGrid (std::string m_FileName) |
| bool | readDat (std::string m_FileName) |
| void | generateVBO () |
| void | activateVBO (int m_TimeStep=0) |
| void | deactivateVBO () |
| void | clear () |
| double | round (double Zahl, int Stellen) |
Private Attributes | |
| vGridHeader | mHeader |
| std::vector< VVector > | mVertexGrid |
| unsigned int | mVertexVbo |
| VMatrix | mVertexToTexture |
| VMatrix | mTextureToVertex |
| std::vector< int > | mIndexGrid |
| unsigned int | mIndexVbo |
| std::vector< vTimeStep > | mTimeSteps |
| int | mActiveTimeStep |
| float | mNumTriplets |
| std::vector< int > | mGlyphIndexGrid |
| unsigned int | mGlyphIndexVbo |
| VVector | mMinPos |
| VVector | mMaxPos |
| VVector | mCenterPos |
| VVector | mExtends |
| VVector | mMinDistance |
| bool | mReverseX |
| bool | mReverseY |
| std::vector< float > | maxDataValues |
| std::vector< float > | minDataValues |
| bool | mTexturesGenerated |
| float | mStreamlinesTestSeparation |
| float | mStreamlinesSeedSeparation |
| float | mStreamlinesSteps |
| float | mStreamlinesDt |
| float | mEuler |
| bool | mTapering |
| float | mTaperingScale |
| PlacingMethod | mSeedPlacing |
| std::vector< VVector > | mManualSeedpoints |
| std::vector< VVector > | mEvenlySeedpoints |
| VStreamLine * | streamlines |
| int | mNumStreamlines |
| float | mIconScale |
| float | mTailLength |
| std::vector< VIcon > | mIcons |
| bool | mStrGlyphes |
Static Private Attributes | |
| static VProgram * | mRenderTextureProgram = NULL |
Definition at line 45 of file VFlowData.h.
| VFlowData::VFlowData | ( | ) |
default constructor
Definition at line 11 of file VFlowData.cpp.
References LEFT, maxDataValues, minDataValues, and mSeedPlacing.
| VFlowData::~VFlowData | ( | ) |
| VFlowData::VFlowData | ( | std::string | m_FileName | ) |
constructor with given Filename
| m_FileName | Filename of Flow data (with gri extension, dat is added |
Definition at line 40 of file VFlowData.cpp.
References LEFT, loadData(), and mSeedPlacing.
| bool VFlowData::loadData | ( | std::string | m_FileName | ) |
loads the Data of the given FileName
| m_FileName | Filename of Flow data |
Definition at line 46 of file VFlowData.cpp.
References generateVBO(), maxDataValues, mHeader, minDataValues, vGridHeader::mNF, vGridHeader::mNT, readDat(), and readGrid().
Referenced by QVolRendCanvas::load_data(), QVolRendCanvas::load_single_data(), and VFlowData().
| bool VFlowData::loadData | ( | std::string | m_FileName, | |
| std::string | m_DatFilename | |||
| ) |
loads the Data of the given FileName
| m_FileName | Filename of Flow data | |
| m_DatFilename | Filename of Dat |
Definition at line 104 of file VFlowData.cpp.
References generateVBO(), maxDataValues, mHeader, minDataValues, vGridHeader::mNF, vGridHeader::mNT, readDat(), and readGrid().
| void VFlowData::draw | ( | int | m_TimeStep = 0 |
) |
draws the Data at a Given TimeStep
| m_TimeStep | Time Step of Data |
Definition at line 392 of file VFlowData.cpp.
References activateVBO(), deactivateVBO(), mIndexGrid, and mIndexVbo.
Referenced by VFlowRenderer::draw(), and generateTextures().
| void VFlowData::drawPoints | ( | int | m_TimeStep = 0 |
) |
draws the Data at a Given TimeStep as GL_POINTS
| m_TimeStep | Time Step of Data |
Definition at line 401 of file VFlowData.cpp.
References activateVBO(), deactivateVBO(), mGlyphIndexGrid, and mGlyphIndexVbo.
Referenced by VFlowRenderer::drawGlyphes().
| void VFlowData::drawStreamLines | ( | VVector * | col | ) |
draws the Current bound StreamLines
Definition at line 410 of file VFlowData.cpp.
References VStreamLine::draw(), VVector::getX(), VVector::getY(), VVector::getZ(), mNumStreamlines, mStrGlyphes, mTapering, mTaperingScale, and streamlines.
Referenced by VFlowRenderer::drawStreamLines().
| void VFlowData::drawIcons | ( | ) |
draws the icons
Definition at line 423 of file VFlowData.cpp.
References mIcons.
Referenced by VFlowRenderer::drawIcons().
| void VFlowData::addIconPoint | ( | float | x, | |
| float | y | |||
| ) |
adds another Icon Point
| x | x value in worldcoords | |
| y | y value in worldcoords |
Definition at line 431 of file VFlowData.cpp.
References VVector::getX(), VVector::getY(), mActiveTimeStep, mExtends, mIcons, mMinPos, mTimeSteps, VVector::setX(), and VVector::setY().
Referenced by QVolRendCanvas::mousePressEvent().
| void VFlowData::drawTextureTest | ( | int | m_TimeStep = 0 |
) |
draws the Data at a Given TimeStep as GL_POINTS
| m_TimeStep | Time Step of Data |
Definition at line 469 of file VFlowData.cpp.
References mTimeSteps.
| int VFlowData::getNumDataValues | ( | ) | [inline] |
returns the number of Triplets
Definition at line 120 of file VFlowData.h.
References mHeader, and vGridHeader::mNF.
Referenced by QVolRendCanvas::getNumDataValues().
| int VFlowData::getNumTimeSteps | ( | ) | [inline] |
returns the number of Time Steps
Definition at line 129 of file VFlowData.h.
References mHeader, and vGridHeader::mNT.
Referenced by QVolRendCanvas::getNumTimeSteps().
| VVector VFlowData::getFlowCenter | ( | ) | [inline] |
gets the Center of the FlowData
Definition at line 138 of file VFlowData.h.
References mCenterPos.
Referenced by QVolRendCanvas::load_data(), QVolRendCanvas::load_single_data(), and QVolRendCanvas::resizeGL().
| VVector VFlowData::getMinPos | ( | ) | [inline] |
gets the Minimum Positon
Definition at line 147 of file VFlowData.h.
References mMinPos.
Referenced by VFlowRenderer::drawLic().
| VVector VFlowData::getMaxPos | ( | ) | [inline] |
gets the Max Position
Definition at line 156 of file VFlowData.h.
References mMaxPos.
Referenced by VFlowRenderer::drawLic().
| VVector VFlowData::getFlowExtends | ( | ) | [inline] |
gets the Extends of the FlowData
Definition at line 165 of file VFlowData.h.
References mExtends.
Referenced by QVolRendCanvas::load_data(), QVolRendCanvas::load_single_data(), and QVolRendCanvas::resizeGL().
| float* VFlowData::getExtends | ( | ) | [inline] |
Definition at line 170 of file VFlowData.h.
References VVector::getPtr(), and mExtends.
Referenced by QVolRendCanvas::computeGlyphs(), VFlowRenderer::setShaderWrapperGlyph(), VFlowRenderer::setShaderWrapperGlyphTf(), VFlowRenderer::setShaderWrapperLIC(), VFlowRenderer::setShaderWrapperLICTexture(), VFlowRenderer::setShaderWrapperLICTextureTf(), VFlowRenderer::setShaderWrapperLICTf(), VFlowRenderer::setShaderWrapperOLICTexture(), VFlowRenderer::setShaderWrapperStreamLinesTf(), and VFlowRenderer::setShaderWrapperStreamLinesTfGlyph().
| float VFlowData::getMaximalMagnitude | ( | ) | [inline] |
gets the Maximum of the flow data magnitude
Definition at line 179 of file VFlowData.h.
References maxDataValues.
Referenced by VFlowRenderer::setShaderWrapperGlyphTf(), VFlowRenderer::setShaderWrapperStreamLinesTf(), VFlowRenderer::setShaderWrapperStreamLinesTfGlyph(), and VFlowRenderer::setShaderWrapperVelocity().
| float VFlowData::getMinimalMagnitude | ( | ) | [inline] |
gets the Minimum of the flow data magnitude
Definition at line 188 of file VFlowData.h.
References minDataValues.
Referenced by VFlowRenderer::setShaderWrapperGlyphTf(), VFlowRenderer::setShaderWrapperStreamLinesTf(), VFlowRenderer::setShaderWrapperStreamLinesTfGlyph(), and VFlowRenderer::setShaderWrapperVelocity().
| float VFlowData::getMaximalDatavalue | ( | int | index | ) | [inline] |
gets the Maximum of the flow data pressure
| int | containing the index |
Definition at line 199 of file VFlowData.h.
References maxDataValues.
Referenced by VFlowRenderer::getFlowDataMax(), VFlowRenderer::setShaderWrapperGlyph(), VFlowRenderer::setShaderWrapperGlyphTf(), VFlowRenderer::setShaderWrapperPressure(), and VFlowRenderer::setShaderWrapperVorticity().
| float VFlowData::getMinimalDatavalue | ( | int | index | ) | [inline] |
gets the Minimum of the data
| int | containing the index |
Definition at line 209 of file VFlowData.h.
References minDataValues.
Referenced by VFlowRenderer::getFlowDataMin(), VFlowRenderer::setShaderWrapperGlyph(), VFlowRenderer::setShaderWrapperGlyphTf(), VFlowRenderer::setShaderWrapperPressure(), and VFlowRenderer::setShaderWrapperVorticity().
| bool VFlowData::getTexturesGenerated | ( | ) | [inline] |
returns if the Textures for the Velocities were generated
Definition at line 218 of file VFlowData.h.
References mTexturesGenerated.
Referenced by QVolRendCanvas::paintGL().
| void VFlowData::setStreamlinesSeedSeparation | ( | float | val | ) | [inline] |
sets the streamlines separation
| int | containing the streamlines separation |
Definition at line 227 of file VFlowData.h.
References mStreamlinesSeedSeparation.
Referenced by QVolRendCanvas::dsep_valuechanged().
| void VFlowData::setStreamlinesTestSeparation | ( | float | val | ) | [inline] |
sets the streamlines separation
| int | containing the streamlines separation |
Definition at line 236 of file VFlowData.h.
References mStreamlinesTestSeparation.
Referenced by QVolRendCanvas::dtest_valuechanged().
| void VFlowData::setStreamlinesSteps | ( | float | val | ) | [inline] |
sets the streamlines computation steps - maximum
| int | containing the maximum steps |
Definition at line 245 of file VFlowData.h.
References mStreamlinesSteps.
Referenced by QVolRendCanvas::steps_valuechanged().
| void VFlowData::setStreamlinesDt | ( | float | val | ) | [inline] |
sets the delta time for integration (dt)
| int | containing the dt |
Definition at line 254 of file VFlowData.h.
References mStreamlinesDt.
Referenced by QVolRendCanvas::dt_valuechanged().
| void VFlowData::setTaperingState | ( | bool | state | ) | [inline] |
sets staet for tapering
| bool | contating the state |
Definition at line 263 of file VFlowData.h.
References mTapering.
Referenced by QVolRendCanvas::setTaperingState().
| void VFlowData::setStrGlyphes | ( | bool | state | ) | [inline] |
sets staet for tapering
| bool | contating the state |
Definition at line 272 of file VFlowData.h.
References mStrGlyphes.
Referenced by QVolRendCanvas::setStrGlyphes().
| void VFlowData::setTaperingScale | ( | float | val | ) | [inline] |
Definition at line 277 of file VFlowData.h.
References mTaperingScale.
Referenced by QVolRendCanvas::setTaperingScale().
| void VFlowData::setIntegrationMethod | ( | bool | val | ) | [inline] |
sets the integr. mode ( true - euler, false - runge-kutta )
Definition at line 285 of file VFlowData.h.
References mEuler.
Referenced by QVolRendCanvas::setIntegrationMethod().
| void VFlowData::generateGlyphIndices | ( | int | m_NumX, | |
| int | m_NumY | |||
| ) |
generates the Glyph Index Buffer
| m_NumX | Number of glyphs in x Direction | |
| m_NumY | Number of glyphs in y Direction |
Definition at line 478 of file VFlowData.cpp.
References VVector::getX(), VVector::getY(), mExtends, mGlyphIndexGrid, mGlyphIndexVbo, mHeader, mReverseX, mReverseY, vGridHeader::mSX, vGridHeader::mSY, and mVertexGrid.
Referenced by QVolRendCanvas::computeGlyphs().
| void VFlowData::generateTextures | ( | ) |
generates all Velocity Textures
Definition at line 563 of file VFlowData.cpp.
References VProgram::bind(), draw(), VProgram::getUniformLocation(), mRenderTextureProgram, mTexturesGenerated, mTimeSteps, mVertexToTexture, and VProgram::release().
Referenced by QVolRendCanvas::paintGL().
| void VFlowData::generateCPUStreamLines | ( | float | m_MaxSteps, | |
| float | m_StreamSeparation, | |||
| int | m_TimeStep = 0 | |||
| ) |
generates the StreamLines on the CPU for the given TimeStep
| m_MaxSteps | maximum Integration Steps | |
| m_StreamSeparation | the distance between two Streamlines | |
| m_TimeStep | the given TimeStep |
Definition at line 3831 of file VFlowData.cpp.
References ALL, BOTTOM, EVEN, generateCPUStreamLinesALL(), generateCPUStreamLinesALL_RK2(), generateCPUStreamLinesBOTTOM(), generateCPUStreamLinesBOTTOM_RK2(), generateCPUStreamLinesEVEN(), generateCPUStreamLinesEVEN_RK2(), generateCPUStreamLinesLEFT(), generateCPUStreamLinesLEFT_RK2(), generateCPUStreamLinesMANUAL(), generateCPUStreamLinesMANUAL_RK2(), generateCPUStreamLinesRANDOM(), generateCPUStreamLinesRANDOM_RK2(), generateCPUStreamLinesRIGHT(), generateCPUStreamLinesRIGHT_RK2(), generateCPUStreamLinesTOP(), generateCPUStreamLinesTOP_RK2(), LEFT, MANUAL, mEuler, mSeedPlacing, RANDOM, RIGHT, and TOP.
Referenced by QVolRendCanvas::computeCPUStreamlines().
| std::vector< VVector > VFlowData::generateCPUStreamSingleWithTests | ( | std::vector< VStreamLine > | otherStreamlines, | |
| float | x, | |||
| float | y, | |||
| float | m_MaxSteps, | |||
| float | dtest, | |||
| int | m_TimeStep | |||
| ) |
generates the StreamLines on the CPU for the given TimeStep
| x | is xworld | |
| y | is yworld | |
| m_MaxSteps | maximum Integration Steps | |
| dsep | is dsep | |
| dtest | is dtest | |
| m_TimeStep | the given TimeStep |
Definition at line 3483 of file VFlowData.cpp.
References VVector::getMagnitude(), VVector::getX(), VVector::getY(), MAXSTEPS, mCenterPos, mExtends, mMinPos, mStreamlinesDt, mTimeSteps, VVector::normalize(), VVector::setX(), and VVector::setY().
Referenced by generateCPUStreamLinesEVEN().
| std::vector< VVector > VFlowData::generateCPUStreamSingleWithoutTests | ( | float | x, | |
| float | y, | |||
| float | dtest, | |||
| float | m_MaxSteps, | |||
| int | m_TimeStep | |||
| ) |
generates the StreamLines on the CPU for the given TimeStep
| x | is xworld | |
| y | is yworld | |
| m_MaxSteps | maximum Integration Steps | |
| m_TimeStep | the given TimeStep |
Definition at line 3169 of file VFlowData.cpp.
References VVector::getMagnitude(), VVector::getX(), VVector::getY(), MAXSTEPS, mCenterPos, mExtends, mMinPos, mStreamlinesDt, mTimeSteps, VVector::normalize(), VVector::setX(), and VVector::setY().
Referenced by generateCPUStreamLinesEVEN().
| void VFlowData::generateCPUStreamLinesLEFT | ( | float | m_MaxSteps, | |
| float | m_StreamSeparation, | |||
| int | m_TimeStep | |||
| ) |
generates the StreamLines on the CPU for the given TimeStep with the euler method, seedpoinds are generated always from left
| m_MaxSteps | maximum Integration Steps | |
| m_StreamSeparation | the distance between two Streamlines | |
| m_TimeStep | the given TimeStep |
Definition at line 1506 of file VFlowData.cpp.
References VVector::getMagnitude(), VVector::getX(), VVector::getY(), MAXNUMBER, MAXSTEPS, mCenterPos, mExtends, MINNUMBER, mMinPos, mNumStreamlines, mStreamlinesDt, mTimeSteps, VStreamLine::regenerateVBO(), VVector::setX(), VVector::setY(), and streamlines.
Referenced by generateCPUStreamLines().
| void VFlowData::generateCPUStreamLinesTOP | ( | float | m_MaxSteps, | |
| float | m_StreamSeparation, | |||
| int | m_TimeStep | |||
| ) |
generates the StreamLines on the CPU for the given TimeStep with the euler method, seedpoinds are generated always from top
| m_MaxSteps | maximum Integration Steps | |
| m_StreamSeparation | the distance between two Streamlines | |
| m_TimeStep | the given TimeStep |
Definition at line 1683 of file VFlowData.cpp.
References VVector::getMagnitude(), VVector::getX(), VVector::getY(), MAXNUMBER, MAXSTEPS, mCenterPos, mExtends, MINNUMBER, mMinPos, mNumStreamlines, mStreamlinesDt, mTimeSteps, VStreamLine::regenerateVBO(), VVector::setX(), VVector::setY(), and streamlines.
Referenced by generateCPUStreamLines().
| void VFlowData::generateCPUStreamLinesRIGHT | ( | float | m_MaxSteps, | |
| float | m_StreamSeparation, | |||
| int | m_TimeStep | |||
| ) |
generates the StreamLines on the CPU for the given TimeStep with the euler method, seedpoinds are generated always from right
| m_MaxSteps | maximum Integration Steps | |
| m_StreamSeparation | the distance between two Streamlines | |
| m_TimeStep | the given TimeStep |
Definition at line 1858 of file VFlowData.cpp.
References VVector::getMagnitude(), VVector::getX(), VVector::getY(), MAXNUMBER, MAXSTEPS, mCenterPos, mExtends, MINNUMBER, mMinPos, mNumStreamlines, mStreamlinesDt, mTimeSteps, VStreamLine::regenerateVBO(), VVector::setX(), VVector::setY(), and streamlines.
Referenced by generateCPUStreamLines().
| void VFlowData::generateCPUStreamLinesBOTTOM | ( | float | m_MaxSteps, | |
| float | m_StreamSeparation, | |||
| int | m_TimeStep | |||
| ) |
generates the StreamLines on the CPU for the given TimeStep with the euler method, seedpoinds are generated always from bottom
| m_MaxSteps | maximum Integration Steps | |
| m_StreamSeparation | the distance between two Streamlines | |
| m_TimeStep | the given TimeStep |
Definition at line 2032 of file VFlowData.cpp.
References VVector::getMagnitude(), VVector::getX(), VVector::getY(), MAXNUMBER, MAXSTEPS, mCenterPos, mExtends, MINNUMBER, mMinPos, mNumStreamlines, mStreamlinesDt, mTimeSteps, VStreamLine::regenerateVBO(), VVector::setX(), VVector::setY(), and streamlines.
Referenced by generateCPUStreamLines().
| void VFlowData::generateCPUStreamLinesALL | ( | float | m_MaxSteps, | |
| float | m_StreamSeparation, | |||
| int | m_TimeStep | |||
| ) |
generates the StreamLines on the CPU for the given TimeStep with the euler method, seedpoinds are generated from all sides
| m_MaxSteps | maximum Integration Steps | |
| m_StreamSeparation | the distance between two Streamlines | |
| m_TimeStep | the given TimeStep |
Definition at line 2208 of file VFlowData.cpp.
References VVector::getMagnitude(), VVector::getX(), VVector::getY(), MAXNUMBER, MAXSTEPS, mCenterPos, mExtends, MINNUMBER, mMinPos, mNumStreamlines, mStreamlinesDt, mTimeSteps, VStreamLine::regenerateVBO(), VVector::setX(), VVector::setY(), and streamlines.
Referenced by generateCPUStreamLines().
| void VFlowData::generateCPUStreamLinesRANDOM | ( | float | m_MaxSteps, | |
| float | m_StreamSeparation, | |||
| int | m_TimeStep | |||
| ) |
generates the StreamLines on the CPU for the given TimeStep with the euler method, seedpoinds are randomly
| m_MaxSteps | maximum Integration Steps | |
| m_StreamSeparation | the distance between two Streamlines | |
| m_TimeStep | the given TimeStep |
Definition at line 2764 of file VFlowData.cpp.
References VVector::getMagnitude(), VVector::getX(), VVector::getY(), MAXNUMBER, MAXSTEPS, mCenterPos, mExtends, MINNUMBER, mMinPos, mNumStreamlines, mStreamlinesDt, mTimeSteps, VStreamLine::regenerateVBO(), VVector::setX(), VVector::setY(), and streamlines.
Referenced by generateCPUStreamLines().
| void VFlowData::generateCPUStreamLinesMANUAL | ( | float | m_MaxSteps, | |
| float | m_StreamSeparation, | |||
| int | m_TimeStep | |||
| ) |
generates the StreamLines on the CPU for the given TimeStep with the euler method, seedpoinds are generated manually
| m_MaxSteps | maximum Integration Steps | |
| m_StreamSeparation | the distance between two Streamlines | |
| m_TimeStep | the given TimeStep |
Definition at line 3054 of file VFlowData.cpp.
References drawStreamlinesFromSeedpoints().
Referenced by generateCPUStreamLines().
| void VFlowData::generateCPUStreamLinesEVEN | ( | float | m_MaxSteps, | |
| float | m_StreamSeparation, | |||
| int | m_TimeStep | |||
| ) |
generates the evenly spaced StreamLines on the CPU for the given TimeStep with the euler method
| m_MaxSteps | maximum Integration Steps | |
| m_StreamSeparation | the distance between two Streamlines | |
| m_TimeStep | the given TimeStep |
Definition at line 3059 of file VFlowData.cpp.
References VStreamLine::computeThicknessCoefficients(), generateCPUStreamSingleWithoutTests(), generateCPUStreamSingleWithTests(), VStreamLine::getCandidateSeeds(), VStreamLine::getNumberOfPoints(), VVector::getX(), VVector::getY(), mCenterPos, mExtends, mMinPos, mNumStreamlines, mStreamlinesSeedSeparation, mStreamlinesTestSeparation, VStreamLine::regenerateVBO(), VStreamLine::setSeparation(), and streamlines.
Referenced by generateCPUStreamLines().
| void VFlowData::generateCPUStreamLinesLEFT_RK2 | ( | float | m_MaxSteps, | |
| float | m_StreamSeparation, | |||
| int | m_TimeStep | |||
| ) |
generates the StreamLines on the CPU for the given TimeStep with the runge-kutta method of the 2nd order, seedpoinds are generated always from left
| m_MaxSteps | maximum Integration Steps | |
| m_StreamSeparation | the distance between two Streamlines | |
| m_TimeStep | the given TimeStep |
Definition at line 8 of file VFlowData_helper.cpp.
References VVector::getMagnitude(), VVector::getX(), VVector::getY(), MAXNUMBER, MAXSTEPS, mCenterPos, mExtends, MINNUMBER, mMinPos, mNumStreamlines, mStreamlinesDt, mTimeSteps, VStreamLine::regenerateVBO(), VVector::setX(), VVector::setY(), and streamlines.
Referenced by generateCPUStreamLines().
| void VFlowData::generateCPUStreamLinesTOP_RK2 | ( | float | m_MaxSteps, | |
| float | m_StreamSeparation, | |||
| int | m_TimeStep | |||
| ) |
generates the StreamLines on the CPU for the given TimeStep with the runge-kutta method of the 2nd order, seedpoinds are generated always from top
| m_MaxSteps | maximum Integration Steps | |
| m_StreamSeparation | the distance between two Streamlines | |
| m_TimeStep | the given TimeStep |
Definition at line 259 of file VFlowData_helper.cpp.
References VVector::getMagnitude(), VVector::getX(), VVector::getY(), MAXNUMBER, MAXSTEPS, mCenterPos, mExtends, MINNUMBER, mMinPos, mNumStreamlines, mStreamlinesDt, mTimeSteps, VStreamLine::regenerateVBO(), VVector::setX(), VVector::setY(), and streamlines.
Referenced by generateCPUStreamLines().
| void VFlowData::generateCPUStreamLinesRIGHT_RK2 | ( | float | m_MaxSteps, | |
| float | m_StreamSeparation, | |||
| int | m_TimeStep | |||
| ) |
generates the StreamLines on the CPU for the given TimeStep with the runge-kutta method of the 2nd order, seedpoinds are generated always from right
| m_MaxSteps | maximum Integration Steps | |
| m_StreamSeparation | the distance between two Streamlines | |
| m_TimeStep | the given TimeStep |
Definition at line 512 of file VFlowData_helper.cpp.
References VVector::getMagnitude(), VVector::getX(), VVector::getY(), MAXNUMBER, MAXSTEPS, mCenterPos, mExtends, MINNUMBER, mMinPos, mNumStreamlines, mStreamlinesDt, mTimeSteps, VStreamLine::regenerateVBO(), VVector::setX(), VVector::setY(), and streamlines.
Referenced by generateCPUStreamLines().
| void VFlowData::generateCPUStreamLinesBOTTOM_RK2 | ( | float | m_MaxSteps, | |
| float | m_StreamSeparation, | |||
| int | m_TimeStep | |||
| ) |
generates the StreamLines on the CPU for the given TimeStep with the runge-kutta method of the 2nd order, seedpoinds are generated always from bottom
| m_MaxSteps | maximum Integration Steps | |
| m_StreamSeparation | the distance between two Streamlines | |
| m_TimeStep | the given TimeStep |
Definition at line 763 of file VFlowData_helper.cpp.
References VVector::getMagnitude(), VVector::getX(), VVector::getY(), MAXNUMBER, MAXSTEPS, mCenterPos, mExtends, MINNUMBER, mMinPos, mNumStreamlines, mStreamlinesDt, mTimeSteps, VStreamLine::regenerateVBO(), VVector::setX(), VVector::setY(), and streamlines.
Referenced by generateCPUStreamLines().
| void VFlowData::generateCPUStreamLinesALL_RK2 | ( | float | m_MaxSteps, | |
| float | m_StreamSeparation, | |||
| int | m_TimeStep | |||
| ) |
generates the StreamLines on the CPU for the given TimeStep with the runge-kutta method of the 2nd order, seedpoinds are generated from all sides
| m_MaxSteps | maximum Integration Steps | |
| m_StreamSeparation | the distance between two Streamlines | |
| m_TimeStep | the given TimeStep |
Definition at line 1014 of file VFlowData_helper.cpp.
References VVector::getMagnitude(), VVector::getX(), VVector::getY(), MAXNUMBER, MAXSTEPS, mCenterPos, mExtends, MINNUMBER, mMinPos, mNumStreamlines, mStreamlinesDt, mTimeSteps, VStreamLine::regenerateVBO(), VVector::setX(), VVector::setY(), and streamlines.
Referenced by generateCPUStreamLines().
| void VFlowData::generateCPUStreamLinesRANDOM_RK2 | ( | float | m_MaxSteps, | |
| float | m_StreamSeparation, | |||
| int | m_TimeStep | |||
| ) |
generates the StreamLines on the CPU for the given TimeStep with the runge-kutta method of the 2nd order, seedpoinds are randomly
| m_MaxSteps | maximum Integration Steps | |
| m_StreamSeparation | the distance between two Streamlines | |
| m_TimeStep | the given TimeStep |
Definition at line 1871 of file VFlowData_helper.cpp.
References VVector::getMagnitude(), VVector::getX(), VVector::getY(), MAXNUMBER, MAXSTEPS, mCenterPos, mExtends, MINNUMBER, mMinPos, mNumStreamlines, mStreamlinesDt, mTimeSteps, VStreamLine::regenerateVBO(), VVector::setX(), VVector::setY(), and streamlines.
Referenced by generateCPUStreamLines().
| void VFlowData::generateCPUStreamLinesMANUAL_RK2 | ( | float | m_MaxSteps, | |
| float | m_StreamSeparation, | |||
| int | m_TimeStep | |||
| ) |
generates the StreamLines on the CPU for the given TimeStep with the runge-kutta method of the 2nd order, seedpoinds are generated manually
| m_MaxSteps | maximum Integration Steps | |
| m_StreamSeparation | the distance between two Streamlines | |
| m_TimeStep | the given TimeStep |
Definition at line 2315 of file VFlowData_helper.cpp.
Referenced by generateCPUStreamLines().
| void VFlowData::generateCPUStreamLinesEVEN_RK2 | ( | float | m_MaxSteps, | |
| float | m_StreamSeparation, | |||
| int | m_TimeStep | |||
| ) |
generates the evenly spaced StreamLines on the CPU for the given TimeStep with the runge-kutta method of the 2nd order
| m_MaxSteps | maximum Integration Steps | |
| m_StreamSeparation | the distance between two Streamlines | |
| m_TimeStep | the given TimeStep |
Definition at line 2318 of file VFlowData_helper.cpp.
Referenced by generateCPUStreamLines().
| void VFlowData::addManualSeedpoint | ( | float | x, | |
| float | y | |||
| ) |
pushes the new seedpoint in texture space to the manual seedpoints list
| x | is the world x-coordinate of the seedpoint in texture space to be added | |
| y | is the world y-coordinate of the seedpoint in texture space to be added |
Definition at line 676 of file VFlowData.cpp.
References VVector::getX(), VVector::getY(), mExtends, mManualSeedpoints, mMinPos, VVector::setX(), and VVector::setY().
Referenced by QVolRendCanvas::mousePressEvent().
| void VFlowData::drawStreamlinesFromSeedpoints | ( | float | m_MaxSteps, | |
| float | m_TimeStep | |||
| ) |
pushes the new seedpoint in texture space to the evenly sp. seedpoints list
| x | is the world x-coordinate of the seedpoint in texture space to be added | |
| y | is the world y-coordinate of the seedpoint in texture space to be added draws the streamlines to the manual seedpoints list |
Definition at line 1042 of file VFlowData.cpp.
References VVector::getMagnitude(), VVector::getX(), VVector::getY(), MAXSTEPS, mCenterPos, mExtends, mManualSeedpoints, mMinPos, mNumStreamlines, mStreamlinesDt, mTimeSteps, VStreamLine::regenerateVBO(), VVector::setX(), VVector::setY(), and streamlines.
Referenced by generateCPUStreamLinesMANUAL(), and QVolRendCanvas::mousePressEvent().
| bool VFlowData::isIndexOfManualPlacingMethod | ( | int | val | ) |
draws the evenly spaced streamlines states if the index responds to the manual setting method
| val | is the index of the to be answered mode |
Definition at line 1339 of file VFlowData.cpp.
References _MANUAL.
Referenced by QVolRendCanvas::setPlacingMethod().
| bool VFlowData::isIndexOfEvenPlacingMethod | ( | int | val | ) |
states if the index responds to the evenly spaced setting method
| val | is the index of the to be answered mode |
Definition at line 1344 of file VFlowData.cpp.
References _EVEN.
Referenced by QVolRendCanvas::setPlacingMethod().
| void VFlowData::setPlacingMethod | ( | int | val | ) |
sets the placing method for placing seedpoinds for streamlines
| val | is the index of the activated mode |
Definition at line 1349 of file VFlowData.cpp.
References _ALL, _BOTTOM, _EVEN, _LEFT, _MANUAL, _RANDOM, _RIGHT, _TOP, ALL, BOTTOM, EVEN, LEFT, MANUAL, mEvenlySeedpoints, mManualSeedpoints, mNumStreamlines, mSeedPlacing, RANDOM, RIGHT, streamlines, and TOP.
Referenced by QVolRendCanvas::setPlacingMethod().
| unsigned int VFlowData::getVelocityHandle | ( | int | m_TimeStep | ) | [inline] |
gets the VelocityHandle for the given TimeStep
| m_TimeStep | which TimeStep |
Definition at line 512 of file VFlowData.h.
References mTimeSteps.
Referenced by VFlowRenderer::setShaderWrapperLIC(), VFlowRenderer::setShaderWrapperLICTexture(), VFlowRenderer::setShaderWrapperLICTextureTf(), VFlowRenderer::setShaderWrapperLICTf(), VFlowRenderer::setShaderWrapperOLICTexture(), VFlowRenderer::setShaderWrapperStreamLinesTf(), and VFlowRenderer::setShaderWrapperStreamLinesTfGlyph().
| float* VFlowData::getVertexToTexture | ( | ) | [inline] |
Definition at line 521 of file VFlowData.h.
References mVertexToTexture.
Referenced by VFlowRenderer::setShaderWrapperStreamLinesTf(), and VFlowRenderer::setShaderWrapperStreamLinesTfGlyph().
| float* VFlowData::getTextureToVertex | ( | ) | [inline] |
| void VFlowData::loadStreamLines | ( | std::string | m_FileName | ) |
loads all StreamLines from a given File
| m_Filename | Filename |
Definition at line 1420 of file VFlowData.cpp.
References VStreamLine::clearVBO(), VStreamLine::loadStreamLine(), mNumStreamlines, and streamlines.
Referenced by QVolRendCanvas::loadStreamLines().
| void VFlowData::saveStreamLines | ( | std::string | m_FileName | ) |
saves all StreamLines to a given File
| m_Filename | Filename |
Definition at line 1461 of file VFlowData.cpp.
References mNumStreamlines, VStreamLine::saveStreamLine(), and streamlines.
Referenced by QVolRendCanvas::saveStreamLines().
| void VFlowData::setIconScale | ( | int | m_IconScale | ) | [inline] |
sets the IconScale
| m_IconScale |
Definition at line 547 of file VFlowData.h.
References mActiveTimeStep, mIcons, mIconScale, and mTimeSteps.
Referenced by QVolRendCanvas::iconscale_valuechanged().
| void VFlowData::setTailLength | ( | int | m_TailLength | ) | [inline] |
sets the Icon's Tail length
| m_Taillength |
Definition at line 560 of file VFlowData.h.
References mActiveTimeStep, mIcons, mTailLength, and mTimeSteps.
Referenced by QVolRendCanvas::icontail_valuechanged().
| void VFlowData::setTimeStep | ( | int | val | ) | [inline] |
sets the active time step
| time | step |
Definition at line 573 of file VFlowData.h.
References mActiveTimeStep.
Referenced by QVolRendCanvas::timestep_changed_event().
| void VFlowData::computeIcons | ( | ) |
computes the Current Set Icons
Definition at line 1493 of file VFlowData.cpp.
References mActiveTimeStep, mIcons, and mTimeSteps.
Referenced by QVolRendCanvas::enableIcons(), and QVolRendCanvas::timestep_changed_event().
| bool VFlowData::getPointAt | ( | VVector * | next, | |
| std::vector< float > | pixeldata, | |||
| float | px, | |||
| float | py, | |||
| int | texsize_x, | |||
| int | texsize_y | |||
| ) | [private] |
A helper method to fetch the net streamline point.
| VVector | next, a reference, to write the position in |
Definition at line 1501 of file VFlowData.cpp.
| bool VFlowData::readGrid | ( | std::string | m_FileName | ) | [private] |
loads the Grid File.
| m_FileName | Filenme of Grid File |
Definition at line 147 of file VFlowData.cpp.
References VMatrix::clearMatrix(), VMatrix::getInverse(), VVector::getX(), VVector::getY(), mCenterPos, vGridHeader::mDT, mExtends, mHeader, mIndexGrid, mMaxPos, mMinDistance, mMinPos, vGridHeader::mNF, vGridHeader::mNT, mReverseX, mReverseY, vGridHeader::mSX, vGridHeader::mSY, vGridHeader::mSZ, mTextureToVertex, mVertexGrid, mVertexToTexture, VMatrix::scale(), VVector::setX(), VVector::setY(), and VMatrix::translate().
Referenced by loadData().
| bool VFlowData::readDat | ( | std::string | m_FileName | ) | [private] |
loads the Dat File
| m_FileName | Filename of Dat File |
Definition at line 262 of file VFlowData.cpp.
References VVector::getX(), VVector::getY(), VVector::getZ(), maxDataValues, mHeader, minDataValues, vGridHeader::mNF, mNumTriplets, vGridHeader::mSX, vGridHeader::mSY, vTimeStep::mTimeData, and mTimeSteps.
Referenced by loadData().
| void VFlowData::generateVBO | ( | ) | [private] |
generates the VBOs
Definition at line 3951 of file VFlowData.cpp.
References mIndexGrid, mIndexVbo, mTimeSteps, mVertexGrid, and mVertexVbo.
Referenced by loadData().
| void VFlowData::activateVBO | ( | int | m_TimeStep = 0 |
) | [private] |
binds the VBO for the given TimeStep
| m_TimeStep | Time Step of Data |
Definition at line 3981 of file VFlowData.cpp.
References mTimeSteps, and mVertexVbo.
Referenced by draw(), and drawPoints().
| void VFlowData::deactivateVBO | ( | ) | [private] |
deactivates the current VBO
Definition at line 4001 of file VFlowData.cpp.
References mTimeSteps.
Referenced by draw(), and drawPoints().
| void VFlowData::clear | ( | ) | [private] |
clears the data
Definition at line 4020 of file VFlowData.cpp.
References mGlyphIndexGrid, mGlyphIndexVbo, mIndexGrid, mIndexVbo, mTimeSteps, mVertexGrid, and mVertexVbo.
Referenced by ~VFlowData().
| double VFlowData::round | ( | double | Zahl, | |
| int | Stellen | |||
| ) | [inline, private] |
method for rounding a double to certain steps
| Zahl | the value to round | |
| Stellen | numbers behind the coma |
Definition at line 634 of file VFlowData.h.
vGridHeader VFlowData::mHeader [private] |
Header of Grid File.
Definition at line 641 of file VFlowData.h.
Referenced by generateGlyphIndices(), getNumDataValues(), getNumTimeSteps(), loadData(), readDat(), and readGrid().
std::vector<VVector> VFlowData::mVertexGrid [private] |
VertexGrid.
Definition at line 643 of file VFlowData.h.
Referenced by clear(), generateGlyphIndices(), generateVBO(), and readGrid().
unsigned int VFlowData::mVertexVbo [private] |
VBO Handle for grid.
Definition at line 644 of file VFlowData.h.
Referenced by activateVBO(), clear(), and generateVBO().
VMatrix VFlowData::mVertexToTexture [private] |
Transformation Matrix that maps the Vertices the range [-1, 1].
Definition at line 646 of file VFlowData.h.
Referenced by generateTextures(), getVertexToTexture(), and readGrid().
VMatrix VFlowData::mTextureToVertex [private] |
Transformation Matrix that maps the Vertices the range [-1, 1].
Definition at line 648 of file VFlowData.h.
Referenced by getTextureToVertex(), and readGrid().
std::vector<int> VFlowData::mIndexGrid [private] |
IndexGrid -> index Buffer in OpenGl.
Definition at line 650 of file VFlowData.h.
Referenced by clear(), draw(), generateVBO(), and readGrid().
unsigned int VFlowData::mIndexVbo [private] |
VBO Handle for indexbuffer.
Definition at line 651 of file VFlowData.h.
Referenced by clear(), draw(), and generateVBO().
std::vector<vTimeStep> VFlowData::mTimeSteps [private] |
Vector containing the Time Steps.
Definition at line 653 of file VFlowData.h.
Referenced by activateVBO(), addIconPoint(), clear(), computeIcons(), deactivateVBO(), drawStreamlinesFromSeedpoints(), drawTextureTest(), generateCPUStreamLinesALL(), generateCPUStreamLinesALL_RK2(), generateCPUStreamLinesBOTTOM(), generateCPUStreamLinesBOTTOM_RK2(), generateCPUStreamLinesLEFT(), generateCPUStreamLinesLEFT_RK2(), generateCPUStreamLinesRANDOM(), generateCPUStreamLinesRANDOM_RK2(), generateCPUStreamLinesRIGHT(), generateCPUStreamLinesRIGHT_RK2(), generateCPUStreamLinesTOP(), generateCPUStreamLinesTOP_RK2(), generateCPUStreamSingleWithoutTests(), generateCPUStreamSingleWithTests(), generateTextures(), generateVBO(), getVelocityHandle(), readDat(), setIconScale(), and setTailLength().
int VFlowData::mActiveTimeStep [private] |
Int containing the Active Time Step.
Definition at line 654 of file VFlowData.h.
Referenced by addIconPoint(), computeIcons(), setIconScale(), setTailLength(), and setTimeStep().
float VFlowData::mNumTriplets [private] |
Float storing the number of Triplets.
Definition at line 656 of file VFlowData.h.
Referenced by readDat().
std::vector<int> VFlowData::mGlyphIndexGrid [private] |
Indices for storing the grid used when rendering Glyphs.
Definition at line 658 of file VFlowData.h.
Referenced by clear(), drawPoints(), and generateGlyphIndices().
unsigned int VFlowData::mGlyphIndexVbo [private] |
VBO Handle for glyph indexbuffer.
Definition at line 659 of file VFlowData.h.
Referenced by clear(), drawPoints(), and generateGlyphIndices().
VVector VFlowData::mMinPos [private] |
Minimum Position of the FlowData.
Definition at line 661 of file VFlowData.h.
Referenced by addIconPoint(), addManualSeedpoint(), drawStreamlinesFromSeedpoints(), generateCPUStreamLinesALL(), generateCPUStreamLinesALL_RK2(), generateCPUStreamLinesBOTTOM(), generateCPUStreamLinesBOTTOM_RK2(), generateCPUStreamLinesEVEN(), generateCPUStreamLinesLEFT(), generateCPUStreamLinesLEFT_RK2(), generateCPUStreamLinesRANDOM(), generateCPUStreamLinesRANDOM_RK2(), generateCPUStreamLinesRIGHT(), generateCPUStreamLinesRIGHT_RK2(), generateCPUStreamLinesTOP(), generateCPUStreamLinesTOP_RK2(), generateCPUStreamSingleWithoutTests(), generateCPUStreamSingleWithTests(), getMinPos(), and readGrid().
VVector VFlowData::mMaxPos [private] |
Maximum Position of the FlowData.
Definition at line 662 of file VFlowData.h.
Referenced by getMaxPos(), and readGrid().
VVector VFlowData::mCenterPos [private] |
Center Position of the FlowData.
Definition at line 663 of file VFlowData.h.
Referenced by drawStreamlinesFromSeedpoints(), generateCPUStreamLinesALL(), generateCPUStreamLinesALL_RK2(), generateCPUStreamLinesBOTTOM(), generateCPUStreamLinesBOTTOM_RK2(), generateCPUStreamLinesEVEN(), generateCPUStreamLinesLEFT(), generateCPUStreamLinesLEFT_RK2(), generateCPUStreamLinesRANDOM(), generateCPUStreamLinesRANDOM_RK2(), generateCPUStreamLinesRIGHT(), generateCPUStreamLinesRIGHT_RK2(), generateCPUStreamLinesTOP(), generateCPUStreamLinesTOP_RK2(), generateCPUStreamSingleWithoutTests(), generateCPUStreamSingleWithTests(), getFlowCenter(), and readGrid().
VVector VFlowData::mExtends [private] |
Extends of the FlowData.
Definition at line 664 of file VFlowData.h.
Referenced by addIconPoint(), addManualSeedpoint(), drawStreamlinesFromSeedpoints(), generateCPUStreamLinesALL(), generateCPUStreamLinesALL_RK2(), generateCPUStreamLinesBOTTOM(), generateCPUStreamLinesBOTTOM_RK2(), generateCPUStreamLinesEVEN(), generateCPUStreamLinesLEFT(), generateCPUStreamLinesLEFT_RK2(), generateCPUStreamLinesRANDOM(), generateCPUStreamLinesRANDOM_RK2(), generateCPUStreamLinesRIGHT(), generateCPUStreamLinesRIGHT_RK2(), generateCPUStreamLinesTOP(), generateCPUStreamLinesTOP_RK2(), generateCPUStreamSingleWithoutTests(), generateCPUStreamSingleWithTests(), generateGlyphIndices(), getExtends(), getFlowExtends(), and readGrid().
VVector VFlowData::mMinDistance [private] |
bool VFlowData::mReverseX [private] |
If X Coordinates should be reversed.
Definition at line 667 of file VFlowData.h.
Referenced by generateGlyphIndices(), and readGrid().
bool VFlowData::mReverseY [private] |
If Y Coordinates should be reversed.
Definition at line 668 of file VFlowData.h.
Referenced by generateGlyphIndices(), and readGrid().
std::vector< float > VFlowData::maxDataValues [private] |
Maximum of the flow data values
Definition at line 670 of file VFlowData.h.
Referenced by getMaximalDatavalue(), getMaximalMagnitude(), loadData(), readDat(), and VFlowData().
std::vector< float > VFlowData::minDataValues [private] |
Minimum of the flow data values
Definition at line 671 of file VFlowData.h.
Referenced by getMinimalDatavalue(), getMinimalMagnitude(), loadData(), readDat(), and VFlowData().
bool VFlowData::mTexturesGenerated [private] |
If the Textures were generated Before.
Definition at line 673 of file VFlowData.h.
Referenced by generateTextures(), and getTexturesGenerated().
float VFlowData::mStreamlinesTestSeparation [private] |
StreamLines generation parameter: spacing or sepration.
Definition at line 675 of file VFlowData.h.
Referenced by generateCPUStreamLinesEVEN(), and setStreamlinesTestSeparation().
float VFlowData::mStreamlinesSeedSeparation [private] |
StreamLines generation parameter: spacing or sepration.
Definition at line 676 of file VFlowData.h.
Referenced by generateCPUStreamLinesEVEN(), and setStreamlinesSeedSeparation().
float VFlowData::mStreamlinesSteps [private] |
StreamLines generation parameter: maximal number of integration steps.
Definition at line 677 of file VFlowData.h.
Referenced by setStreamlinesSteps().
float VFlowData::mStreamlinesDt [private] |
StreamLines generation parameter: delta t (dt).
Definition at line 678 of file VFlowData.h.
Referenced by drawStreamlinesFromSeedpoints(), generateCPUStreamLinesALL(), generateCPUStreamLinesALL_RK2(), generateCPUStreamLinesBOTTOM(), generateCPUStreamLinesBOTTOM_RK2(), generateCPUStreamLinesLEFT(), generateCPUStreamLinesLEFT_RK2(), generateCPUStreamLinesRANDOM(), generateCPUStreamLinesRANDOM_RK2(), generateCPUStreamLinesRIGHT(), generateCPUStreamLinesRIGHT_RK2(), generateCPUStreamLinesTOP(), generateCPUStreamLinesTOP_RK2(), generateCPUStreamSingleWithoutTests(), generateCPUStreamSingleWithTests(), and setStreamlinesDt().
float VFlowData::mEuler [private] |
StreamLines generation parameter: integration method.
Definition at line 679 of file VFlowData.h.
Referenced by generateCPUStreamLines(), and setIntegrationMethod().
bool VFlowData::mTapering [private] |
StreamLines generation parameter: tapering y/n.
Definition at line 680 of file VFlowData.h.
Referenced by drawStreamLines(), and setTaperingState().
float VFlowData::mTaperingScale [private] |
StreamLines generation parameter: tapering scale.
Definition at line 681 of file VFlowData.h.
Referenced by drawStreamLines(), and setTaperingScale().
PlacingMethod VFlowData::mSeedPlacing [private] |
Seedplanting method
Definition at line 682 of file VFlowData.h.
Referenced by generateCPUStreamLines(), setPlacingMethod(), and VFlowData().
std::vector<VVector> VFlowData::mManualSeedpoints [private] |
Seeds defined manually
Definition at line 683 of file VFlowData.h.
Referenced by addManualSeedpoint(), drawStreamlinesFromSeedpoints(), and setPlacingMethod().
std::vector<VVector> VFlowData::mEvenlySeedpoints [private] |
Seeds defined manually
Definition at line 684 of file VFlowData.h.
Referenced by setPlacingMethod().
VStreamLine* VFlowData::streamlines [private] |
Definition at line 686 of file VFlowData.h.
Referenced by drawStreamLines(), drawStreamlinesFromSeedpoints(), generateCPUStreamLinesALL(), generateCPUStreamLinesALL_RK2(), generateCPUStreamLinesBOTTOM(), generateCPUStreamLinesBOTTOM_RK2(), generateCPUStreamLinesEVEN(), generateCPUStreamLinesLEFT(), generateCPUStreamLinesLEFT_RK2(), generateCPUStreamLinesRANDOM(), generateCPUStreamLinesRANDOM_RK2(), generateCPUStreamLinesRIGHT(), generateCPUStreamLinesRIGHT_RK2(), generateCPUStreamLinesTOP(), generateCPUStreamLinesTOP_RK2(), loadStreamLines(), saveStreamLines(), and setPlacingMethod().
int VFlowData::mNumStreamlines [private] |
Definition at line 687 of file VFlowData.h.
Referenced by drawStreamLines(), drawStreamlinesFromSeedpoints(), generateCPUStreamLinesALL(), generateCPUStreamLinesALL_RK2(), generateCPUStreamLinesBOTTOM(), generateCPUStreamLinesBOTTOM_RK2(), generateCPUStreamLinesEVEN(), generateCPUStreamLinesLEFT(), generateCPUStreamLinesLEFT_RK2(), generateCPUStreamLinesRANDOM(), generateCPUStreamLinesRANDOM_RK2(), generateCPUStreamLinesRIGHT(), generateCPUStreamLinesRIGHT_RK2(), generateCPUStreamLinesTOP(), generateCPUStreamLinesTOP_RK2(), loadStreamLines(), saveStreamLines(), and setPlacingMethod().
VProgram * VFlowData::mRenderTextureProgram = NULL [static, private] |
Program to render the Velocities to Texture.
Definition at line 689 of file VFlowData.h.
Referenced by generateTextures().
float VFlowData::mIconScale [private] |
Scale of Icons ... corresponds to steps in integration.
Definition at line 691 of file VFlowData.h.
Referenced by setIconScale().
float VFlowData::mTailLength [private] |
Scale of Icons ... corresponds to steps in integration.
Definition at line 692 of file VFlowData.h.
Referenced by setTailLength().
std::vector<VIcon> VFlowData::mIcons [private] |
All Icons.
Definition at line 693 of file VFlowData.h.
Referenced by addIconPoint(), computeIcons(), drawIcons(), setIconScale(), and setTailLength().
bool VFlowData::mStrGlyphes [private] |
If StreamLineGlyphes should be used.
Definition at line 695 of file VFlowData.h.
Referenced by drawStreamLines(), and setStrGlyphes().
1.5.4