Vis::TFPanel Class Reference

#include <VisTFPanel.h>

Collaboration diagram for Vis::TFPanel:
[legend]

List of all members.

Public Member Functions

 TFPanel (wxFrame *parent)
 ~TFPanel ()
void eventMouseRightDown (wxMouseEvent &event)
void eventMouseDown (wxMouseEvent &event)
void eventMouseLeave (wxMouseEvent &event)
void eventMouseMove (wxMouseEvent &event)
void eventMouseUp (wxMouseEvent &event)
void eventPaint (wxPaintEvent &event)
void setFlowData (FlowData *flowData)
void setGLCanvas (GLCanvas *glCanvas)
void loadTF (const string &filename)
void newTF ()
void saveTF (const string &filename)
void setNumChannel (int numChannel)


Detailed Description

Class to draw and generate the transfer function.

Constructor & Destructor Documentation

Vis::TFPanel::TFPanel ( wxFrame *  parent  ) 

ctor.

Parameters:
parent Parent frame.

Vis::TFPanel::~TFPanel (  ) 

ctor.


Member Function Documentation

void Vis::TFPanel::eventMouseDown ( wxMouseEvent &  event  ) 

Mouse down event, insert TF-keyframes.

Parameters:
event Mouse event

void Vis::TFPanel::eventMouseLeave ( wxMouseEvent &  event  ) 

Mouse leave event.

Parameters:
event Mouse event

void Vis::TFPanel::eventMouseMove ( wxMouseEvent &  event  ) 

Mouse move event, move TF-keyframes.

Parameters:
event Mouse event

void Vis::TFPanel::eventMouseRightDown ( wxMouseEvent &  event  ) 

Mouse right, popup menu to delete and change the color for TF-keyframes.

Parameters:
event Mouse event

void Vis::TFPanel::eventMouseUp ( wxMouseEvent &  event  ) 

Mouse up event, insert TF-keyframes.

Parameters:
event Mouse event

void Vis::TFPanel::eventPaint ( wxPaintEvent &  event  ) 

Paing event, draw and generate the transfer function.

Parameters:
event Mouse event

void Vis::TFPanel::loadTF ( const string &  filename  ) 

Load the transfer function from a file.

Parameters:
filename transfer function file.

void Vis::TFPanel::newTF (  ) 

Initialize the transfer function.

void Vis::TFPanel::saveTF ( const string &  filename  ) 

Save the transfer function into a file.

Parameters:
filename transfer function file.

void Vis::TFPanel::setFlowData ( FlowData flowData  ) 

Set the flow data.

Parameters:
vd Flow data.

void Vis::TFPanel::setGLCanvas ( GLCanvas glCanvas  ) 

Set the OpenGL-canvas

Parameters:
glCanvas OpenGL canvas.

void Vis::TFPanel::setNumChannel ( int  numChannel  ) 

Set the number of the acitve channel in the transfer function panel.

Parameters:
numChannel number of the acitve channel.


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

Generated on Mon Jan 26 15:00:43 2009 for FlowVis by  doxygen 1.5.7.1