00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkPiecewiseFunctionToPiecewiseFunctionFilter.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 =========================================================================*/ 00035 #ifndef __vtkPiecewiseFunctionToPiecewiseFunctionFilter_h 00036 #define __vtkPiecewiseFunctionToPiecewiseFunctionFilter_h 00037 00038 #include "vtkPiecewiseFunctionSource.h" 00039 00040 class vtkPiecewiseFunction; 00041 00042 class VTK_FILTERING_EXPORT vtkPiecewiseFunctionToPiecewiseFunctionFilter : public vtkPiecewiseFunctionSource 00043 { 00044 public: 00045 vtkTypeRevisionMacro(vtkPiecewiseFunctionToPiecewiseFunctionFilter,vtkPiecewiseFunctionSource); 00046 void PrintSelf(ostream& os, vtkIndent indent); 00047 00049 00050 virtual void SetInput(vtkPiecewiseFunction *input); 00051 vtkPiecewiseFunction *GetInput(); 00053 00054 protected: 00055 vtkPiecewiseFunctionToPiecewiseFunctionFilter(); 00056 ~vtkPiecewiseFunctionToPiecewiseFunctionFilter() {}; 00057 00058 virtual int FillInputPortInformation(int, vtkInformation*); 00059 00060 private: 00061 vtkPiecewiseFunctionToPiecewiseFunctionFilter(const vtkPiecewiseFunctionToPiecewiseFunctionFilter&); // Not implemented. 00062 void operator=(const vtkPiecewiseFunctionToPiecewiseFunctionFilter&); // Not implemented. 00063 }; 00064 00065 #endif 00066 00067