VTK  9.2.6
vtkViewUpdater.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkViewUpdater.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
15/*-------------------------------------------------------------------------
16 Copyright 2008 Sandia Corporation.
17 Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
18 the U.S. Government retains certain rights in this software.
19-------------------------------------------------------------------------*/
34#ifndef vtkViewUpdater_h
35#define vtkViewUpdater_h
36
37#include "vtkObject.h"
38#include "vtkViewsInfovisModule.h" // For export macro
39
41class vtkView;
42
43class VTKVIEWSINFOVIS_EXPORT vtkViewUpdater : public vtkObject
44{
45public:
47 vtkTypeMacro(vtkViewUpdater, vtkObject);
48 void PrintSelf(ostream& os, vtkIndent indent) override;
49
50 void AddView(vtkView* view);
51 void RemoveView(vtkView* view);
52
54
55protected:
57 ~vtkViewUpdater() override;
58
59private:
60 vtkViewUpdater(const vtkViewUpdater&) = delete;
61 void operator=(const vtkViewUpdater&) = delete;
62
63 class vtkViewUpdaterInternals;
64 vtkViewUpdaterInternals* Internals;
65};
66
67#endif
a simple class to control print indentation
Definition: vtkIndent.h:40
abstract base class for most VTK objects
Definition: vtkObject.h:63
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:64