#include <Visualization.h>
Inheritance diagram for Visualization:
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 | |
FlowData * | theFlowData |
std::vector< PosInt * > * | theStreamLines |
std::vector< PosInt * > * | theUserStreamLines |
FlowPosition * | theArrowData |
double | theZoomFactor |
Pos2d | theCurrentCenter |
Private Attributes | |
GLuint * | theBGTex |
GridData * | theBGIntensity |
bool | noPointerDeletion |
Visualization::Visualization | ( | FlowData * | aFlowData | ) |
constructor for new object
aFlowData | the flow data to use |
Visualization::Visualization | ( | Visualization * | aPrevVisualization | ) |
constructor for change of implementation
aPrevVisualization | the visualization from which precomputed values shall be kept |
Visualization::~Visualization | ( | ) | [virtual] |
destructor
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
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
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
aRelativeMousePosition | relative mouse position on the window |
Reimplemented in VisUserStreamline.
void Visualization::zoomIn | ( | float | aFactor | ) |
zooms the view in
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] |
std::vector<PosInt*>* Visualization::theUserStreamLines [protected] |
double Visualization::theZoomFactor [protected] |