00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkImageDataStreamer.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 =========================================================================*/ 00026 #ifndef __vtkImageDataStreamer_h 00027 #define __vtkImageDataStreamer_h 00028 00029 #include "vtkImageAlgorithm.h" 00030 00031 class vtkExtentTranslator; 00032 00033 class VTK_IMAGING_EXPORT vtkImageDataStreamer : public vtkImageAlgorithm 00034 { 00035 public: 00036 static vtkImageDataStreamer *New(); 00037 vtkTypeRevisionMacro(vtkImageDataStreamer,vtkImageAlgorithm); 00038 void PrintSelf(ostream& os, vtkIndent indent); 00039 00041 00044 vtkSetMacro(NumberOfStreamDivisions,int); 00045 vtkGetMacro(NumberOfStreamDivisions,int); 00047 00048 virtual void Update() { this->vtkAlgorithm::Update();}; 00049 virtual void UpdateWholeExtent() { 00050 this->vtkAlgorithm::UpdateWholeExtent();}; 00051 00053 00054 virtual void SetExtentTranslator(vtkExtentTranslator*); 00055 vtkGetObjectMacro(ExtentTranslator,vtkExtentTranslator); 00057 00058 // See the vtkAlgorithm for a desciption of what these do 00059 int ProcessRequest(vtkInformation*, 00060 vtkInformationVector**, 00061 vtkInformationVector*); 00062 00063 protected: 00064 vtkImageDataStreamer(); 00065 ~vtkImageDataStreamer(); 00066 00067 vtkExtentTranslator *ExtentTranslator; 00068 int NumberOfStreamDivisions; 00069 int CurrentDivision; 00070 private: 00071 vtkImageDataStreamer(const vtkImageDataStreamer&); // Not implemented. 00072 void operator=(const vtkImageDataStreamer&); // Not implemented. 00073 }; 00074 00075 #endif 00076 00077 00078