pqOrbitCreatorDialog.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 pqOrbitCreatorDialog_h
5 #define pqOrbitCreatorDialog_h
6 
7 #include "pqComponentsModule.h"
8 #include <QDialog>
9 #include <QList>
10 #include <QVariant>
11 
19 {
20  Q_OBJECT
21  typedef QDialog Superclass;
22 
23 public:
24  pqOrbitCreatorDialog(QWidget* parent = nullptr);
25  ~pqOrbitCreatorDialog() override;
26 
30  QList<QVariant> orbitPoints(int resolution) const;
31 
35  QVector3D normal() const;
36 
37  void setNormal(double xyz[3]);
38  void setCenter(double xyz[3]);
39  void setOrigin(double xyz[3]);
40 
41 protected Q_SLOTS:
42  void resetCenter();
43 
44 private:
45  Q_DISABLE_COPY(pqOrbitCreatorDialog)
46 
47  class pqInternals;
48  pqInternals* Internals;
49 };
50 
51 #endif
pqOrbitCreatorDialog is used by pqAnimationViewWidget to request the orbit parameters from the user w...
#define PQCOMPONENTS_EXPORT
resolution