VAPOR3 3.9.4
PRegionSelector.h
Go to the documentation of this file.
1#pragma once
2
3#include "PSection.h"
4#include "PLineItem.h"
5
7
8namespace VAPoR {
9class Box;
10}
11
13class PRegionSelector : public PSection {
14public:
15 PRegionSelector(const std::string &label = "Region");
16};
17
19 QRangeSliderTextCombo *_slider;
20 const int _dim;
21
22public:
24
25protected:
26 virtual void updateGUI() const override;
27 virtual bool isShown() const override;
28 virtual bool requireDataMgr() const override { return true; }
29 virtual VAPoR::Box *getBox() const;
30
31private:
32 void sliderValueChanged(float v0, float v1);
33};
34
35template<int dim> class __PRegionSelector1D : public PRegionSelector1D {
36public:
38};
__PRegionSelector1D< 0 > PRegionSelectorX
__PRegionSelector1D< 2 > PRegionSelectorZ
__PRegionSelector1D< 1 > PRegionSelectorY
virtual bool isShown() const override
virtual VAPoR::Box * getBox() const
virtual bool requireDataMgr() const override
virtual void updateGUI() const override
PRegionSelector1D(int dim)
PRegionSelector(const std::string &label="Region")
3D or 2D box with options for orientation angles .
Definition: Box.h:39