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