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

vtkMemoryLimitImageDataStreamer.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkMemoryLimitImageDataStreamer.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 =========================================================================*/
00037 #ifndef __vtkMemoryLimitImageDataStreamer_h
00038 #define __vtkMemoryLimitImageDataStreamer_h
00039 
00040 #include "vtkImageDataStreamer.h"
00041 
00042 
00043 class VTK_PARALLEL_EXPORT vtkMemoryLimitImageDataStreamer : public vtkImageDataStreamer
00044 {
00045 public:
00046   static vtkMemoryLimitImageDataStreamer *New();
00047   vtkTypeRevisionMacro(vtkMemoryLimitImageDataStreamer,vtkImageDataStreamer);
00048   void PrintSelf(ostream& os, vtkIndent indent);
00049 
00051 
00052   vtkSetMacro(MemoryLimit, unsigned long);
00053   vtkGetMacro(MemoryLimit, unsigned long);  
00055   
00056   // See the vtkAlgorithm for a desciption of what these do
00057   int ProcessRequest(vtkInformation*,
00058                      vtkInformationVector*,
00059                      vtkInformationVector*);
00060 
00061 protected:
00062   vtkMemoryLimitImageDataStreamer();
00063   ~vtkMemoryLimitImageDataStreamer() {};
00064 
00065   unsigned long  MemoryLimit;
00066 private:
00067   vtkMemoryLimitImageDataStreamer(const vtkMemoryLimitImageDataStreamer&);  // Not implemented.
00068   void operator=(const vtkMemoryLimitImageDataStreamer&);  // Not implemented.
00069 };
00070 
00071 
00072 
00073 
00074 #endif
00075 
00076 
00077