VTK  9.1.0
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-------------------------------------------------------------------------*/
31#ifndef vtkViewUpdater_h
32#define vtkViewUpdater_h
33
34#include "vtkObject.h"
35#include "vtkViewsInfovisModule.h" // For export macro
36
38class vtkView;
39
40class VTKVIEWSINFOVIS_EXPORT vtkViewUpdater : public vtkObject
41{
42public:
44 vtkTypeMacro(vtkViewUpdater, vtkObject);
45 void PrintSelf(ostream& os, vtkIndent indent) override;
46
47 void AddView(vtkView* view);
48 void RemoveView(vtkView* view);
49
51
52protected:
54 ~vtkViewUpdater() override;
55
56private:
57 vtkViewUpdater(const vtkViewUpdater&) = delete;
58 void operator=(const vtkViewUpdater&) = delete;
59
60 class vtkViewUpdaterInternals;
61 vtkViewUpdaterInternals* Internals;
62};
63
64#endif
a simple class to control print indentation
Definition: vtkIndent.h:113
abstract base class for most VTK objects
Definition: vtkObject.h:73
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:55