VTK  9.3.20240327
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 
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
a simple class to control print indentation
Definition: vtkIndent.h:108
abstract base class for most VTK objects
Definition: vtkObject.h:161
Updates views automatically.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void AddAnnotationLink(vtkAnnotationLink *link)
~vtkViewUpdater() override
static vtkViewUpdater * New()
void AddView(vtkView *view)
void RemoveView(vtkView *view)
The superclass for all views.
Definition: vtkView.h:49