Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

Servers/Filters/vtkPVUpdateSuppressor.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   ParaView
00004   Module:    $RCSfile: vtkPVUpdateSuppressor.h,v $
00005 
00006   Copyright (c) Kitware, Inc.
00007   All rights reserved.
00008   See Copyright.txt or http://www.paraview.org/HTML/Copyright.html 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 =========================================================================*/
00021 #ifndef __vtkPVUpdateSuppressor_h
00022 #define __vtkPVUpdateSuppressor_h
00023 
00024 #include "vtkDataSetAlgorithm.h"
00025 
00026 class VTK_EXPORT vtkPVUpdateSuppressor : public vtkDataSetAlgorithm
00027 {
00028 public:
00029   vtkTypeRevisionMacro(vtkPVUpdateSuppressor,vtkDataSetAlgorithm);
00030   void PrintSelf(ostream& os, vtkIndent indent);
00031 
00033   static vtkPVUpdateSuppressor *New();
00034 
00036 
00039   void RemoveAllCaches();
00040   void CacheUpdate(int idx, int total);
00042 
00044   void ForceUpdate();
00045 
00047 
00051   vtkSetMacro(UpdatePiece, int);
00052   vtkGetMacro(UpdatePiece, int);
00053   vtkSetMacro(UpdateNumberOfPieces, int);
00054   vtkGetMacro(UpdateNumberOfPieces, int);
00056 
00058 
00060   vtkSetStringMacro(OutputType);
00062 
00063 protected:
00064   vtkPVUpdateSuppressor();
00065   ~vtkPVUpdateSuppressor();
00066 
00067   int UpdatePiece;
00068   int UpdateNumberOfPieces;
00069 
00070   vtkTimeStamp UpdateTime;
00071 
00072   vtkDataSet** CachedGeometry;
00073   int CachedGeometryLength;
00074 
00075   // Create a default executive.
00076   virtual vtkExecutive* CreateDefaultExecutive();
00077 
00078   virtual int RequestDataObject(vtkInformation*, 
00079                                 vtkInformationVector**, 
00080                                 vtkInformationVector*);
00081   char* OutputType;
00082   
00083   // This can be removed when streaming is removed.
00084   int PreviousUpdateWasBlockedByStreaming;  
00085 
00086 private:
00087   vtkPVUpdateSuppressor(const vtkPVUpdateSuppressor&);  // Not implemented.
00088   void operator=(const vtkPVUpdateSuppressor&);  // Not implemented.
00089 };
00090 
00091 #endif

Generated on Tue May 30 12:31:46 2006 for ParaView by doxygen 1.3.5