Parallel/vtkMemoryLimitImageDataStreamer.h Source File

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

# Parallel/vtkMemoryLimitImageDataStreamer.h

Go to the documentation of this file.

    00001 /*=========================================================================
    00002
    00003   Program:   Visualization Toolkit
    00004   Module:    $RCSfile: vtkMemoryLimitImageDataStreamer.h,v $
    00005   Language:  C++
    00006
    00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen
    00008   All rights reserved.
    00009   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
    00010
    00011      This software is distributed WITHOUT ANY WARRANTY; without even
    00012      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
    00013      PURPOSE.  See the above copyright notice for more information.
    00014
    00015 =========================================================================*/
    00038 #ifndef __vtkMemoryLimitImageDataStreamer_h
    00039 #define __vtkMemoryLimitImageDataStreamer_h
    00040
    00041 #include "vtkImageDataStreamer.h"
    00042
    00043
    00044 class VTK_PARALLEL_EXPORT vtkMemoryLimitImageDataStreamer : public vtkImageDataStreamer
    00045 {
    00046 public:
    00047   static vtkMemoryLimitImageDataStreamer *New();
    00048   vtkTypeRevisionMacro(vtkMemoryLimitImageDataStreamer,vtkImageDataStreamer);
    00049   void PrintSelf(ostream& os, vtkIndent indent);
    00050
    00052
    00053   vtkSetMacro(MemoryLimit, unsigned long);
    00054   vtkGetMacro(MemoryLimit, unsigned long);
    00056
    00058   void UpdateData( vtkDataObject *out );
    00059
    00060 protected:
    00061   vtkMemoryLimitImageDataStreamer();
    00062   ~vtkMemoryLimitImageDataStreamer() {};
    00063
    00064   unsigned long  MemoryLimit;
    00065 private:
    00066   vtkMemoryLimitImageDataStreamer(const vtkMemoryLimitImageDataStreamer&);  // Not implemented.
    00067   void operator=(const vtkMemoryLimitImageDataStreamer&);  // Not implemented.
    00068 };
    00069
    00070
    00071
    00072
    00073 #endif
    00074
    00075
    00076