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:
28  pqRenderView* displayView, pqRenderView* linkedView, bool loadState = false);
29  ~pqCameraWidgetViewLink() override;
30 
31  // Save this camera widget view link in xml node
32  virtual void saveXMLState(vtkPVXMLElement* xml);
33 
34 private:
35  struct pqInternal;
36  std::unique_ptr<pqInternal> Internal;
37 };
38 
39 #endif
This is used by vtkPVXMLParser to represent an XML document starting at the root element.