Vis::GLCanvas Class Reference

#include <VisGLCanvas.h>

Collaboration diagram for Vis::GLCanvas:
[legend]

List of all members.

Public Member Functions

 GLCanvas (wxFrame *parent, int *attrList)
 ~GLCanvas ()
void eventEraseBackground (wxEraseEvent &event)
void eventKey (wxKeyEvent &event)
void eventMotion (wxMouseEvent &event)
void eventMouseWheel (wxMouseEvent &event)
void eventPaint (wxPaintEvent &event)
void eventResize (wxSizeEvent &event)
void setFlowData (FlowData *data)
void exportAsImage (const string &filename)
PlotArrowsgetArrowPlot ()
PlotStreamlinesgetStreamlinePlot ()
PlotCustomStreamlinesgetCustomPlot ()
void enableCustomPick (bool)


Detailed Description

wxPanel to render with OpenGL.

Constructor & Destructor Documentation

Vis::GLCanvas::GLCanvas ( wxFrame *  parent,
int *  attrList 
)

ctor.

Parameters:
parent Parent frame
Attribute List, number of bits for the depth buffer, ...

Vis::GLCanvas::~GLCanvas (  ) 

dtor.


Member Function Documentation

void Vis::GLCanvas::enableCustomPick ( bool  tf  ) 

enable custom streamline pick mode

void Vis::GLCanvas::eventEraseBackground ( wxEraseEvent &  event  ) 

Event to erase the background.

Parameters:
event Erase event.

void Vis::GLCanvas::eventKey ( wxKeyEvent &  event  ) 

Key event, to delete and change the color for TF-keyframes.

Parameters:
event Key event

void Vis::GLCanvas::eventMotion ( wxMouseEvent &  event  ) 

Event for mouse motion.

Parameters:
event Mouse event.

void Vis::GLCanvas::eventMouseWheel ( wxMouseEvent &  event  ) 

Event for mouse wheel.

Parameters:
event Mouse event.

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

Event to paint the canvas.

Parameters:
event Paint event.

void Vis::GLCanvas::eventResize ( wxSizeEvent &  event  ) 

Event to resize the canvas.

Parameters:
Size event.

void Vis::GLCanvas::exportAsImage ( const string &  filename  ) 

Export the direct volume rendering as an image.

Parameters:
filename image filename.

PlotArrows& Vis::GLCanvas::getArrowPlot (  )  [inline]

get the arrow plot Object

PlotCustomStreamlines& Vis::GLCanvas::getCustomPlot (  )  [inline]

get the custom streamline plot Object

PlotStreamlines& Vis::GLCanvas::getStreamlinePlot (  )  [inline]

get the streamline plot Object

void Vis::GLCanvas::setFlowData ( FlowData data  ) 

Set the volume data.

Parameters:
data voluem dataset.


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