VAPoR  3.0.0
Public Member Functions | List of all members
VAPoR::VizWin Class Reference

A QGLWidget that supports display based on GL methods invoked in a Visualizer. More...

#include <vizwin.h>

Inheritance diagram for VAPoR::VizWin:

Public Member Functions

void setWindowNum (int visIndex)
 
int getWindowNum ()
 
VisualizergetVisualizer ()
 
void reallyUpdate ()
 Force the window to update, even if nothing has changed. More...
 
Internal

Internal methods not intended for general use

 VizWin (MainForm *parent, const QString &name, VizWinMgr *myMgr, QRect *location, int winNum)
 
 ~VizWin ()
 

Detailed Description

A QGLWidget that supports display based on GL methods invoked in a Visualizer.

Author
Alan Norton
Version
3.0
Date
October 2013

The VizWin class is a QGLWidget that supports the rendering by the VAPOR Visualizer class. The standard rendering methods (resize, initialize, paint) are passed to the Visualizer. In addition this is the class that responds to mouse events, resulting in scene navigation or manipulator changes.

Definition at line 51 of file vizwin.h.

Constructor & Destructor Documentation

VAPoR::VizWin::VizWin ( MainForm *  parent,
const QString &  name,
VizWinMgr myMgr,
QRect *  location,
int  winNum 
)
VAPoR::VizWin::~VizWin ( )

Member Function Documentation

Visualizer* VAPoR::VizWin::getVisualizer ( )
inline

Obtain the visualizer instance that corresponds to this VizWin

Return values
Visualizerinstance that is embedded in this VizWin

Definition at line 68 of file vizwin.h.

int VAPoR::VizWin::getWindowNum ( )
inline

Identify the visualizer index

Return values
visualizerindex.

Definition at line 64 of file vizwin.h.

void VAPoR::VizWin::reallyUpdate ( )

Force the window to update, even if nothing has changed.

void VAPoR::VizWin::setWindowNum ( int  visIndex)
inline

Specify the index of this window, which is also the Visualizer index as produced by ControlExec::NewVisualizer().

Parameters
[in]visIndexvisualizer index.

Definition at line 59 of file vizwin.h.


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