00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkAlgorithmOutput.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 =========================================================================*/ 00030 #ifndef __vtkAlgorithmOutput_h 00031 #define __vtkAlgorithmOutput_h 00032 00033 #include "vtkObject.h" 00034 00035 class vtkAlgorithm; 00036 00037 class VTK_FILTERING_EXPORT vtkAlgorithmOutput : public vtkObject 00038 { 00039 public: 00040 static vtkAlgorithmOutput *New(); 00041 vtkTypeMacro(vtkAlgorithmOutput,vtkObject); 00042 void PrintSelf(ostream& os, vtkIndent indent); 00043 00044 void SetIndex(int index); 00045 int GetIndex(); 00046 00047 vtkAlgorithm* GetProducer(); 00048 void SetProducer(vtkAlgorithm* producer); 00049 00050 protected: 00051 vtkAlgorithmOutput(); 00052 ~vtkAlgorithmOutput(); 00053 00054 int Index; 00055 vtkAlgorithm* Producer; 00056 00057 private: 00058 vtkAlgorithmOutput(const vtkAlgorithmOutput&); // Not implemented. 00059 void operator=(const vtkAlgorithmOutput&); // Not implemented. 00060 }; 00061 00062 #endif