pqCameraWidgetViewLink.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 pqCameraWidgetViewLink_h
5 #define pqCameraWidgetViewLink_h
6 
7 #include "pqCoreModule.h"
8 #include <QObject>
9 
10 #include <memory> // for unique_ptr
11 
12 class pqRenderView;
13 class vtkPVXMLElement;
14 
21 class PQCORE_EXPORT pqCameraWidgetViewLink : public QObject
22 {
23  Q_OBJECT;
24  typedef QObject Superclass;
25 
26 public:
27  pqCameraWidgetViewLink(pqRenderView* displayView, pqRenderView* linkedView);
28  ~pqCameraWidgetViewLink() override;
29 
30  // Save this camera widget view link in xml node
31  virtual void saveXMLState(vtkPVXMLElement* xml);
32 
33 private:
34  struct pqInternal;
35  std::unique_ptr<pqInternal> Internal;
36 };
37 
38 #endif
#define PQCORE_EXPORT
Definition: pqCoreModule.h:15
This is used by vtkPVXMLParser to represent an XML document starting at the root element.