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