VTK  9.3.1
vtkViewUpdater.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-FileCopyrightText: Copyright 2008 Sandia Corporation
3 // SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov
18 #ifndef vtkViewUpdater_h
19 #define vtkViewUpdater_h
20 
21 #include "vtkObject.h"
22 #include "vtkViewsInfovisModule.h" // For export macro
23 
24 VTK_ABI_NAMESPACE_BEGIN
25 class vtkAnnotationLink;
26 class vtkView;
27 
28 class VTKVIEWSINFOVIS_EXPORT vtkViewUpdater : public vtkObject
29 {
30 public:
31  static vtkViewUpdater* New();
32  vtkTypeMacro(vtkViewUpdater, vtkObject);
33  void PrintSelf(ostream& os, vtkIndent indent) override;
34 
35  void AddView(vtkView* view);
36  void RemoveView(vtkView* view);
37 
38  void AddAnnotationLink(vtkAnnotationLink* link);
39 
40 protected:
42  ~vtkViewUpdater() override;
43 
44 private:
45  vtkViewUpdater(const vtkViewUpdater&) = delete;
46  void operator=(const vtkViewUpdater&) = delete;
47 
48  class vtkViewUpdaterInternals;
49  vtkViewUpdaterInternals* Internals;
50 };
51 
52 VTK_ABI_NAMESPACE_END
53 #endif
abstract base class for most VTK objects
Definition: vtkObject.h:51
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
The superclass for all views.
Definition: vtkView.h:48
a simple class to control print indentation
Definition: vtkIndent.h:28
Updates views automatically.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...