00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkPiecewiseFunctionSource.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 =========================================================================*/ 00026 #ifndef __vtkPiecewiseFunctionSource_h 00027 #define __vtkPiecewiseFunctionSource_h 00028 00029 #include "vtkSource.h" 00030 00031 class vtkPiecewiseFunction; 00032 00033 class VTK_FILTERING_EXPORT vtkPiecewiseFunctionSource : public vtkSource 00034 { 00035 public: 00036 vtkTypeRevisionMacro(vtkPiecewiseFunctionSource,vtkSource); 00037 void PrintSelf(ostream& os, vtkIndent indent); 00038 00040 00041 vtkPiecewiseFunction *GetOutput(); 00042 vtkPiecewiseFunction *GetOutput(int idx); 00043 void SetOutput(vtkPiecewiseFunction *output); 00045 00046 protected: 00047 vtkPiecewiseFunctionSource(); 00048 ~vtkPiecewiseFunctionSource() {}; 00049 00050 private: 00051 vtkPiecewiseFunctionSource(const vtkPiecewiseFunctionSource&); // Not implemented. 00052 void operator=(const vtkPiecewiseFunctionSource&); // Not implemented. 00053 }; 00054 00055 #endif 00056 00057 00058 00059 00060