VTK
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 "vtkViewsInfovisModule.h" // For export macro
38 #include "vtkObject.h"
39 
40 class vtkAnnotationLink;
41 class vtkView;
42 
43 class VTKVIEWSINFOVIS_EXPORT vtkViewUpdater : public vtkObject
44 {
45 public:
46  static vtkViewUpdater *New();
47  vtkTypeMacro(vtkViewUpdater, vtkObject);
48  void PrintSelf(ostream& os, vtkIndent indent) override;
49 
50  void AddView(vtkView* view);
51  void RemoveView(vtkView* view);
52 
53  void AddAnnotationLink(vtkAnnotationLink* link);
54 
55 protected:
57  ~vtkViewUpdater() override;
58 
59 private:
60  vtkViewUpdater(const vtkViewUpdater&) = delete;
61  void operator=(const vtkViewUpdater&) = delete;
62 
63  class vtkViewUpdaterInternals;
64  vtkViewUpdaterInternals* Internals;
65 
66 };
67 
68 #endif
abstract base class for most VTK objects
Definition: vtkObject.h:59
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:60
a simple class to control print indentation
Definition: vtkIndent.h:39
Updates views automatically.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...