VTK  9.4.20250102
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
24VTK_ABI_NAMESPACE_BEGIN
26class vtkView;
27
28class VTKVIEWSINFOVIS_EXPORT vtkViewUpdater : public vtkObject
29{
30public:
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
40protected:
42 ~vtkViewUpdater() override;
43
44private:
45 vtkViewUpdater(const vtkViewUpdater&) = delete;
46 void operator=(const vtkViewUpdater&) = delete;
47
48 class vtkViewUpdaterInternals;
49 vtkViewUpdaterInternals* Internals;
50};
51
52VTK_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:162
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:50