VAPOR3
3.9.4
apps
vaporgui
PTransformWidget.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
PWidget.h
"
4
#include <vector>
5
6
class
V3DInput
;
7
class
VGroup
;
8
namespace
VAPoR
{
9
class
Transform;
10
}
11
12
class
PTransformWidget
:
public
PWidget
{
13
VGroup
* _group;
14
V3DInput
* _translate;
15
V3DInput
* _scale;
16
V3DInput
* _origin;
17
18
public
:
19
PTransformWidget
();
20
21
protected
:
22
void
updateGUI
()
const override
;
23
24
private
:
25
void
translateChanged(
const
std::vector<double> xyz);
26
void
scaleChanged(
const
std::vector<double> xyz);
27
void
originChanged(
const
std::vector<double> xyz);
28
};
29
30
class
PRendererTransformWidget
:
public
PWidget
{
31
PTransformWidget
*_widget;
32
33
public
:
34
PRendererTransformWidget
();
35
36
protected
:
37
void
updateGUI
()
const override
;
38
};
39
40
41
#include "
PWidgetWrapper.h
"
42
43
44
class
PRendererTransformSection
:
public
PWidgetWrapper
{
45
public
:
46
PRendererTransformSection
();
47
};
PWidgetWrapper.h
PWidget.h
PRendererTransformSection
Definition:
PTransformWidget.h:44
PRendererTransformSection::PRendererTransformSection
PRendererTransformSection()
PRendererTransformWidget
Definition:
PTransformWidget.h:30
PRendererTransformWidget::updateGUI
void updateGUI() const override
PRendererTransformWidget::PRendererTransformWidget
PRendererTransformWidget()
PTransformWidget
Definition:
PTransformWidget.h:12
PTransformWidget::updateGUI
void updateGUI() const override
PTransformWidget::PTransformWidget
PTransformWidget()
PWidgetWrapper
Provides a streamlined interface for a PWidget that wraps another PWidget.
Definition:
PWidgetWrapper.h:9
PWidget
Definition:
PWidget.h:24
V3DInput
Widget that allows the user to specify a 3D point.
Definition:
V3DInput.h:12
VGroup
Definition:
VGroup.h:11
VAPoR
Definition:
AnnotationParams.h:33
Generated by
1.9.6