00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkViewUpdater.h,v $ 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00015 /*------------------------------------------------------------------------- 00016 Copyright 2008 Sandia Corporation. 00017 Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, 00018 the U.S. Government retains certain rights in this software. 00019 -------------------------------------------------------------------------*/ 00030 #ifndef __vtkViewUpdater_h 00031 #define __vtkViewUpdater_h 00032 00033 #include "vtkObject.h" 00034 00035 class vtkAnnotationLink; 00036 class vtkView; 00037 00038 class VTK_VIEWS_EXPORT vtkViewUpdater : public vtkObject 00039 { 00040 public: 00041 static vtkViewUpdater *New(); 00042 vtkTypeRevisionMacro(vtkViewUpdater, vtkObject); 00043 void PrintSelf(ostream& os, vtkIndent indent); 00044 00045 void AddView(vtkView* view); 00046 00047 void AddAnnotationLink(vtkAnnotationLink* link); 00048 00049 protected: 00050 vtkViewUpdater(); 00051 ~vtkViewUpdater(); 00052 00053 private: 00054 vtkViewUpdater(const vtkViewUpdater&); // Not implemented. 00055 void operator=(const vtkViewUpdater&); // Not implemented. 00056 00057 //BTX 00058 class vtkViewUpdaterInternals; 00059 vtkViewUpdaterInternals* Internals; 00060 //ETX 00061 }; 00062 00063 #endif