Visualization Class Reference

#include <Visualization.h>

Inheritance diagram for Visualization:

VisLines VisOverview VisStreamline VisUserStreamline List of all members.

Public Member Functions

 Visualization (FlowData *aFlowData)
 Visualization (Visualization *aPrevVisualization)
virtual ~Visualization ()
virtual void renderScene ()
virtual void changeColors (ColorType aType)
void zoomIn (float aFactor)
void moveView (Pos2d aMovement)
void resetView ()
virtual void paramChanged (ColorType aType)
virtual void visAction (Pos2d aRelativeMousePosition)

Public Attributes

float pic_size
float theDSep
float theDTest
int theStreamLineSupportingNodes

Protected Member Functions

void paintBG ()
void calculateBG ()
void calcBGIntens ()
virtual void paint ()=0

Protected Attributes

FlowDatatheFlowData
std::vector< PosInt * > * theStreamLines
std::vector< PosInt * > * theUserStreamLines
FlowPositiontheArrowData
double theZoomFactor
Pos2d theCurrentCenter

Private Attributes

GLuint * theBGTex
GridDatatheBGIntensity
bool noPointerDeletion

Constructor & Destructor Documentation

Visualization::Visualization ( FlowData aFlowData  ) 

constructor for new object

Parameters:
aFlowData the flow data to use

Visualization::Visualization ( Visualization aPrevVisualization  ) 

constructor for change of implementation

Parameters:
aPrevVisualization the visualization from which precomputed values shall be kept

Visualization::~Visualization (  )  [virtual]

destructor


Member Function Documentation

void Visualization::calcBGIntens (  )  [protected]

calculates the intensities of the background

void Visualization::calculateBG (  )  [protected]

calculates the texture for the background

void Visualization::changeColors ( ColorType  aType  )  [virtual]

changes the color of the background if modified

Parameters:
aType color type modified

void Visualization::moveView ( Pos2d  aMovement  ) 

moves the view

virtual void Visualization::paint (  )  [protected, pure virtual]

Implemented in VisLines, VisOverview, VisStreamline, and VisUserStreamline.

void Visualization::paintBG (  )  [protected]

paints the background

void Visualization::paramChanged ( ColorType  aType  )  [virtual]

recalculates image if parameter changed

Parameters:
aType type modified

Reimplemented in VisLines, VisStreamline, and VisUserStreamline.

void Visualization::renderScene (  )  [virtual]

clears and sets the scene

void Visualization::resetView (  ) 

resets the view

void Visualization::visAction ( Pos2d  aRelativeMousePosition  )  [virtual]

implementation specific

Parameters:
aRelativeMousePosition relative mouse position on the window

Reimplemented in VisUserStreamline.

void Visualization::zoomIn ( float  aFactor  ) 

zooms the view in


Member Data Documentation

bool Visualization::noPointerDeletion [private]

float Visualization::pic_size

Reimplemented in VisOverview.

FlowPosition* Visualization::theArrowData [protected]

GridData* Visualization::theBGIntensity [private]

GLuint* Visualization::theBGTex [private]

Pos2d Visualization::theCurrentCenter [protected]

float Visualization::theDSep

float Visualization::theDTest

FlowData* Visualization::theFlowData [protected]

std::vector<PosInt*>* Visualization::theStreamLines [protected]

int Visualization::theStreamLineSupportingNodes

std::vector<PosInt*>* Visualization::theUserStreamLines [protected]

double Visualization::theZoomFactor [protected]


The documentation for this class was generated from the following files:
Generated on Wed Jan 17 09:27:52 2007 for FlowVis by  doxygen 1.4.7