VAPoR  3.0.0
Classes | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
VAPoR::ArrowEventRouter Class Reference

An EventRouter subclass that handles the Barbs tab in the GUI. More...

#include <arroweventrouter.h>

Inheritance diagram for VAPoR::ArrowEventRouter:
VAPoR::EventRouter

Public Member Functions

 ArrowEventRouter (QWidget *parent)
 
virtual ~ArrowEventRouter ()
 
virtual void hookUpTab ()
 Connect signals and slots from tab. More...
 
virtual void captureMouseUp ()
 Respond to end of mouse drag in scene (only in Barbs mode) More...
 
virtual void captureMouseDown (int button)
 
virtual void SetDimension (int dim)
 
- Public Member Functions inherited from VAPoR::EventRouter
 EventRouter ()
 
void updateTab ()
 
virtual void confirmText ()
 
void reinitTab (bool doOverride)
 
virtual void updateUrgentTabState ()
 
void SetTextChanged (bool on)
 
string getTag ()
 
virtual void updateRenderer (RenderParams *rp, bool wasEnabled, int instance, bool newVis)
 
virtual void cleanParams (Params *rp)
 
virtual void sessionLoadTF (string name)
 
virtual void SetLocal (Params *p, bool lg)
 
virtual void SetEnabled (bool On, int instance)
 
virtual void setEditorDirty (RenderParams *)
 
virtual void updateMapBounds (RenderParams *)
 
void saveTF (RenderParams *rParams)
 
void fileSaveTF (RenderParams *rParams)
 
void loadInstalledTF (RenderParams *rParams, string varname)
 
void loadTF (RenderParams *rParams, string varname)
 
void fileLoadTF (RenderParams *rParams, string varname, const char *startPath, bool savePath)
 
virtual Histo * getHistogram (RenderParams *rParam, bool mustGet, bool isIsoWin=false)
 
virtual void refreshHistogram (RenderParams *rp)
 
void refresh2DHistogram (RenderParams *)
 
void calcSliceHistogram (RenderParams *rp, int ts, Histo *histo)
 
virtual MappingFramegetMappingFrame ()
 
virtual void StartCursorMove ()
 
virtual void EndCursorMove ()
 
virtual void variableChanged ()
 
virtual void invalidateRenderer (RenderParams *rParams)
 

Static Public Member Functions

static EventRouterCreateTab ()
 Static Create method, just invokes constructor. More...
 
- Static Public Member Functions inherited from VAPoR::EventRouter
static void SetVizWinMgr (VizWinMgr *vizMgr)
 
static void SetDataMgr (DataMgrV3_0 *dataMgr)
 
static void SetMainForm (MainForm *mainForm)
 
static DataMgrV3_0GetDataMgr ()
 Obtain the current DataMgr. More...
 

Protected Member Functions

virtual void _confirmText (Params *p)
 Respond to all text changes. More...
 
virtual void _updateTab (Params *p)
 Put the Params values into the current tab. More...
 
virtual void _reinitTab (bool doOverride)
 
- Protected Member Functions inherited from VAPoR::EventRouter
vector< QAction * > * makeWebHelpActions (const char *text[], const char *urls[])
 
virtual float calcCurrentValue (RenderParams *p, const double point[3])
 
ParamsGetActiveParams ()
 
ParamsGetActiveParams (string tag)
 
int GetActiveVizIndex ()
 
void ForceRender (bool always=false)
 
VisualizerGetActiveVisualizer ()
 Identify the currently active Visualizer instance. More...
 

Additional Inherited Members

- Static Protected Member Functions inherited from VAPoR::EventRouter
static EventRouterGetEventRouter (const std::string &tag)
 

Detailed Description

An EventRouter subclass that handles the Barbs tab in the GUI.

Author
Alan Norton
Version
3.0
Date
May 2015 The ArrowEventRouter class manages the Barbs gui. There are three sub-tabs, for variables, layout, and appearance. A BoxSliderFrame is embedded in the layout tab.

Definition at line 39 of file arroweventrouter.h.

Constructor & Destructor Documentation

VAPoR::ArrowEventRouter::ArrowEventRouter ( QWidget *  parent)
virtual VAPoR::ArrowEventRouter::~ArrowEventRouter ( )
virtual

Member Function Documentation

virtual void VAPoR::ArrowEventRouter::_confirmText ( Params p)
protectedvirtual

Respond to all text changes.

Implements VAPoR::EventRouter.

virtual void VAPoR::ArrowEventRouter::_reinitTab ( bool  doOverride)
protectedvirtual

After data has changed, make appropriate changes to gui

Parameters
[in]doOverridetrue if should override existing values, reverting to defaults.

Implements VAPoR::EventRouter.

virtual void VAPoR::ArrowEventRouter::_updateTab ( Params p)
protectedvirtual

Put the Params values into the current tab.

Implements VAPoR::EventRouter.

virtual void VAPoR::ArrowEventRouter::captureMouseDown ( int  button)
virtual

Respond to start of mouse drag in scene (only in Barbs mode)

Parameters
[in]button(1=left, 2 = middle, 3=right)

Reimplemented from VAPoR::EventRouter.

virtual void VAPoR::ArrowEventRouter::captureMouseUp ( )
virtual

Respond to end of mouse drag in scene (only in Barbs mode)

Reimplemented from VAPoR::EventRouter.

static EventRouter* VAPoR::ArrowEventRouter::CreateTab ( )
inlinestatic

Static Create method, just invokes constructor.

Definition at line 48 of file arroweventrouter.h.

References VAPoR::TabManager::getSubTabWidget().

virtual void VAPoR::ArrowEventRouter::hookUpTab ( )
virtual

Connect signals and slots from tab.

Implements VAPoR::EventRouter.

virtual void VAPoR::ArrowEventRouter::SetDimension ( int  dim)
virtual

Respond to user selecting 2D or 3D variables. Most of the (generic) work is done by VariablesWidget. Need to change slider sensitivity

Parameters
[in]dimis 2 or 3

Reimplemented from VAPoR::EventRouter.


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