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