VAPOR3 3.9.4
TFMapGroupWidget.h
Go to the documentation of this file.
1#pragma once
2
3#include <QWidget>
4#include <QStackedWidget>
5#include <vector>
6
7class TFInfoWidget;
8class TFMapWidget;
9class TFMap;
11
12namespace VAPoR {
13class DataMgr;
14class ParamsMgr;
15class RenderParams;
16} // namespace VAPoR
17
21
22class TFMapGroupWidget : public QWidget {
23 Q_OBJECT
24
25 std::vector<TFMapWidget *> _maps;
26
27public:
29 void Update(VAPoR::DataMgr *dataMgr, VAPoR::ParamsMgr *paramsMgr, VAPoR::RenderParams *rParams);
30
32
33 void Add(TFMapWidget *mapWidget);
34 void Add(TFMap *map);
35 void Add(const std::initializer_list<TFMap *> &layeredMaps);
36
37private slots:
38 void mapActivated(TFMapWidget *map);
39};
40
43
44class TFMapInfoGroupWidget : public QStackedWidget {
45 Q_OBJECT
46
47 std::vector<TFInfoWidget *> _infos;
48
49public:
51
52 friend class TFMapGroupWidget;
53
54private:
55 void add(TFMapWidget *map);
56
57private slots:
58 void mapActivated(TFMap *map);
59};
TFMapInfoGroupWidget * CreateInfoGroup()
void Add(TFMap *map)
void Add(TFMapWidget *mapWidget)
void Update(VAPoR::DataMgr *dataMgr, VAPoR::ParamsMgr *paramsMgr, VAPoR::RenderParams *rParams)
void Add(const std::initializer_list< TFMap * > &layeredMaps)
void Update(VAPoR::RenderParams *rParams)
A cache based data reader.
Definition: DataMgr.h:110
A singleton class for managing Params instances.
Definition: ParamsMgr.h:53
A Params subclass for managing parameters used by Renderers.
Definition: RenderParams.h:43