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
41class vtkView;
42
43class VTKVIEWSINFOVIS_EXPORT vtkViewUpdater : public vtkObject
44{
45public:
47 vtkTypeMacro(vtkViewUpdater, vtkObject);
48 void PrintSelf(ostream& os, vtkIndent indent);
49
50 void AddView(vtkView* view);
51 void RemoveView(vtkView* view);
52
54
55protected:
58
59private:
60 vtkViewUpdater(const vtkViewUpdater&) VTK_DELETE_FUNCTION;
61 void operator=(const vtkViewUpdater&) VTK_DELETE_FUNCTION;
62
63 class vtkViewUpdaterInternals;
64 vtkViewUpdaterInternals* Internals;
65
66};
67
68#endif
a simple class to control print indentation
Definition: vtkIndent.h:40
abstract base class for most VTK objects
Definition: vtkObject.h:60
Updates views automatically.
void AddAnnotationLink(vtkAnnotationLink *link)
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
static vtkViewUpdater * New()
void AddView(vtkView *view)
void RemoveView(vtkView *view)
The superclass for all views.
Definition: vtkView.h:61