VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkMemoryLimitImageDataStreamer.h 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 =========================================================================*/ 00026 #ifndef __vtkMemoryLimitImageDataStreamer_h 00027 #define __vtkMemoryLimitImageDataStreamer_h 00028 00029 #include "vtkFiltersParallelImagingModule.h" // For export macro 00030 #include "vtkImageDataStreamer.h" 00031 00032 00033 class VTKFILTERSPARALLELIMAGING_EXPORT vtkMemoryLimitImageDataStreamer : public vtkImageDataStreamer 00034 { 00035 public: 00036 static vtkMemoryLimitImageDataStreamer *New(); 00037 vtkTypeMacro(vtkMemoryLimitImageDataStreamer,vtkImageDataStreamer); 00038 void PrintSelf(ostream& os, vtkIndent indent); 00039 00041 00042 vtkSetMacro(MemoryLimit, unsigned long); 00043 vtkGetMacro(MemoryLimit, unsigned long); 00045 00046 // See the vtkAlgorithm for a desciption of what these do 00047 int ProcessRequest(vtkInformation*, 00048 vtkInformationVector**, 00049 vtkInformationVector*); 00050 00051 protected: 00052 vtkMemoryLimitImageDataStreamer(); 00053 ~vtkMemoryLimitImageDataStreamer() {}; 00054 00055 unsigned long MemoryLimit; 00056 private: 00057 vtkMemoryLimitImageDataStreamer(const vtkMemoryLimitImageDataStreamer&); // Not implemented. 00058 void operator=(const vtkMemoryLimitImageDataStreamer&); // Not implemented. 00059 }; 00060 00061 00062 00063 00064 #endif