src
paraview-5.12
Qt
ApplicationComponents
pqModelTransformSupportBehavior.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2
// SPDX-FileCopyrightText: Copyright (c) Sandia Corporation
3
// SPDX-License-Identifier: BSD-3-Clause
4
#ifndef pqModelTransformSupportBehavior_h
5
#define pqModelTransformSupportBehavior_h
6
7
#include "pqApplicationComponentsModule.h"
8
#include "
vtkTuple.h
"
9
#include <QObject>
10
11
class
pqView
;
12
class
vtkSMSourceProxy
;
13
19
class
PQAPPLICATIONCOMPONENTS_EXPORT
pqModelTransformSupportBehavior
:
public
QObject
20
{
21
Q_OBJECT
22
typedef
QObject Superclass;
23
24
public
:
25
pqModelTransformSupportBehavior
(QObject* parent =
nullptr
);
26
~
pqModelTransformSupportBehavior
()
override
;
27
28
static
vtkTuple<double, 16>
getChangeOfBasisMatrix(
29
vtkSMSourceProxy
*,
int
outputPort = 0,
bool
* isvalid =
nullptr
);
30
static
vtkTuple<double, 6>
getBoundingBoxInModelCoordinates(
31
vtkSMSourceProxy
*,
int
outputPort = 0,
bool
* isvalid =
nullptr
);
32
static
vtkTuple<std::string, 3>
getAxisTitles(
33
vtkSMSourceProxy
*,
int
outputPort = 0,
bool
* isvalid =
nullptr
);
34
35
protected
Q_SLOTS:
36
virtual
void
viewAdded(
pqView
*);
37
virtual
void
viewUpdated();
38
39
protected
:
// NOLINT(readability-redundant-access-specifiers)
40
virtual
void
enableModelTransform(
pqView
*,
vtkSMSourceProxy
*);
41
virtual
void
disableModelTransform(
pqView
*);
42
43
private
:
44
Q_DISABLE_COPY(
pqModelTransformSupportBehavior
)
45
};
46
47
#endif
pqView
This is a PQ abstraction of a generic view module.
Definition:
pqView.h:26
vtkSMSourceProxy
proxy for a VTK source on a server
Definition:
vtkSMSourceProxy.h:37
vtkTuple.h
vtkTuple
pqModelTransformSupportBehavior
Definition:
pqModelTransformSupportBehavior.h:19
Generated by
1.8.17 on Wed Mar 27 2024