VAPOR3 3.9.4
CopyRegionAnnotationWidget.h
Go to the documentation of this file.
1#pragma once
2
3#include "CopyRegionWidget.h"
4
5namespace VAPoR {
6class ControlExec;
7class RenderParams;
8class ParamsMgr;
9class DataMgr;
10} // namespace VAPoR
11
13 Q_OBJECT
14
15public:
17
18 QString toolTip() const
19 {
20 return tr("A widget for copying one renderer's "
21 "region to axis annotations");
22 }
23
24 void Update();
25
26protected slots:
27 void copyRegion() override;
28
29private:
30 void _scaleWorldCoordsToNormalized(VAPoR::CoordType &minExts, VAPoR::CoordType &maxExts, int timeStep);
31
32 VAPoR::ControlExec *_controlExec;
33};
void copyRegion() override
CopyRegionAnnotationWidget(VAPoR::ControlExec *ce)
Provides API for VAPOR visualizer User Interfaces (UIs)
std::array< double, 3 > CoordType
Type for specifying floating point coordinates.
Definition: Grid.h:23