VAPOR3 3.9.4
PAxisAnnotationWidget.h
Go to the documentation of this file.
1#pragma once
2
3#include "PWidget.h"
4#include <vector>
5
6class V3DInput;
7class V3DIntInput;
8class VGroup;
9
10namespace VAPoR {
11class ControlExec;
12}
13
15 VAPoR::ControlExec *_controlExec;
16 VGroup * _group;
17 V3DIntInput * _numTics;
18 V3DInput * _size;
19 V3DInput * _min;
20 V3DInput * _max;
21 V3DInput * _origin;
22
23public:
25
26protected:
27 void updateGUI() const override;
28
29private:
30 void _numTicsChanged(const std::vector<int> xyz);
31 void _sizeChanged(const std::vector<double> xyz);
32 void _minChanged(const std::vector<double> xyz);
33 void _maxChanged(const std::vector<double> xyz);
34 void _originChanged(const std::vector<double> xyz);
35
36 std::vector<double> _getDomainExtents() const;
37 void _convertPCSToLonLat(double &xCoord, double &yCoord) const;
38 void _convertLonLatToPCS(double &xCoord, double &yCoord) const;
39 void _scaleNormalizedCoordsToWorld(std::vector<double> &coords) const;
40 void _scaleWorldCoordsToNormalized(std::vector<double> &coords) const;
41};
void updateGUI() const override
PAxisAnnotationWidget(VAPoR::ControlExec *controlExec)
Widget that allows the user to specify a 3D point.
Definition: V3DInput.h:12
Widget that allows the user to specify a 3D integer vector.
Definition: V3DIntInput.h:12
Provides API for VAPOR visualizer User Interfaces (UIs)
Definition: VGroup.h:11