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 -------------------------------------------------------------------------*/
33 #ifndef vtkViewUpdater_h
34 #define vtkViewUpdater_h
35 
36 #include "vtkViewsInfovisModule.h" // For export macro
37 #include "vtkObject.h"
38 
39 class vtkAnnotationLink;
40 class vtkView;
41 
43 {
44 public:
45  static vtkViewUpdater *New();
46  vtkTypeMacro(vtkViewUpdater, vtkObject);
47  void PrintSelf(ostream& os, vtkIndent indent);
48 
49  void AddView(vtkView* view);
50  void RemoveView(vtkView* view);
51 
52  void AddAnnotationLink(vtkAnnotationLink* link);
53 
54 protected:
56  ~vtkViewUpdater();
57 
58 private:
59  vtkViewUpdater(const vtkViewUpdater&); // Not implemented.
60  void operator=(const vtkViewUpdater&); // Not implemented.
61 
62 //BTX
63  class vtkViewUpdaterInternals;
64  vtkViewUpdaterInternals* Internals;
65 //ETX
66 };
67 
68 #endif
abstract base class for most VTK objects
Definition: vtkObject.h:61
virtual void PrintSelf(ostream &os, vtkIndent indent)
The superclass for all views.
Definition: vtkView.h:62
a simple class to control print indentation
Definition: vtkIndent.h:38
Updates views automatically.
static vtkObject * New()
#define VTKVIEWSINFOVIS_EXPORT