FlowWidget Class Reference

#include <FlowWidget.h>

Collaboration diagram for FlowWidget:
[legend]

List of all members.

Public Slots

void channelChanged (int channel)
 Switches the channel to be displayed.
void setZoom (int zoom)
 Sets the zoom value.
void genTFTexture (float *data)
 Generates a Texture out of data representing a 1D transfer function.
void showGlyphes ()
 Sets a flag to show glyphs or not.
void showLines ()
 Sets a flag to show streamlines.
void showLineVel ()
 Sets the number of iterations in the streamline algorithm.
void changeGlyphSize (int size)
 Sets the glyphsize.
void changeGlyphStep (int step)
 Sets the offset between glyphs.
void changeLineIteration (int iter)
void changeLineStep (int lstep)
 Sets the stepsize for the streamline algorithm.
void changeLineSep (int lsep)
 Sets the seperation distance for the streamline algorithm.

Public Member Functions

 FlowWidget (QWidget *parent=0)
void setData (FlowData *data)
 Loads all important data into memory.
void reInit ()
 Re-initializes openGL.

Private Attributes

GLuint * texture
GLuint tfTexture
GLuint glyph
GLuint glyphVert
GLuint glyphFrag
GLuint glyphProg
GLuint tfVert
GLuint tfFrag
GLuint tfProg
GLuint streamVert
GLuint streamFrag
GLuint streamProg
float xMin
float xMax
float yMin
float yMax
float ** pBuffer
float glyphOffset
float pf
int gridLength
ILubyteglyphdata
FlowDatadataset
int dimX
int dimY
int currentChannel
bool showGlyph
bool showLine
bool showLVel
float glyphSize
int iteration
float lineStep
float lineSeperator
float dTest
float dSep


Constructor & Destructor Documentation

FlowWidget::FlowWidget ( QWidget *  parent = 0  )  [inline]


Member Function Documentation

void FlowWidget::changeGlyphSize ( int  size  )  [slot]

Sets the glyphsize.

void FlowWidget::changeGlyphStep ( int  step  )  [slot]

Sets the offset between glyphs.

void FlowWidget::changeLineIteration ( int  iter  )  [slot]

void FlowWidget::changeLineSep ( int  lsep  )  [slot]

Sets the seperation distance for the streamline algorithm.

void FlowWidget::changeLineStep ( int  lstep  )  [slot]

Sets the stepsize for the streamline algorithm.

void FlowWidget::channelChanged ( int  channel  )  [slot]

Switches the channel to be displayed.

void FlowWidget::genTFTexture ( float *  data  )  [slot]

Generates a Texture out of data representing a 1D transfer function.

void FlowWidget::reInit (  ) 

Re-initializes openGL.

void FlowWidget::setData ( FlowData data  ) 

Loads all important data into memory.

void FlowWidget::setZoom ( int  zoom  )  [slot]

Sets the zoom value.

void FlowWidget::showGlyphes (  )  [slot]

Sets a flag to show glyphs or not.

void FlowWidget::showLines (  )  [slot]

Sets a flag to show streamlines.

void FlowWidget::showLineVel (  )  [slot]

Sets the number of iterations in the streamline algorithm.


Member Data Documentation

int FlowWidget::dimX [private]

int FlowWidget::dimY [private]

float FlowWidget::dSep [private]

float FlowWidget::dTest [private]

GLuint FlowWidget::glyph [private]

GLuint FlowWidget::glyphFrag [private]

float FlowWidget::glyphOffset [private]

GLuint FlowWidget::glyphProg [private]

float FlowWidget::glyphSize [private]

GLuint FlowWidget::glyphVert [private]

int FlowWidget::gridLength [private]

int FlowWidget::iteration [private]

float FlowWidget::lineSeperator [private]

float FlowWidget::lineStep [private]

float** FlowWidget::pBuffer [private]

float FlowWidget::pf [private]

bool FlowWidget::showGlyph [private]

bool FlowWidget::showLine [private]

bool FlowWidget::showLVel [private]

GLuint FlowWidget::streamFrag [private]

GLuint FlowWidget::streamProg [private]

GLuint FlowWidget::streamVert [private]

GLuint* FlowWidget::texture [private]

GLuint FlowWidget::tfFrag [private]

GLuint FlowWidget::tfProg [private]

GLuint FlowWidget::tfTexture [private]

GLuint FlowWidget::tfVert [private]

float FlowWidget::xMax [private]

float FlowWidget::xMin [private]

float FlowWidget::yMax [private]

float FlowWidget::yMin [private]


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

Generated on Mon Jan 26 22:10:05 2009 for FlowVis by  doxygen 1.5.7.1