00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkInterpolateDataSetAttributes.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 =========================================================================*/ 00035 #ifndef __vtkInterpolateDataSetAttributes_h 00036 #define __vtkInterpolateDataSetAttributes_h 00037 00038 #include "vtkDataSetAlgorithm.h" 00039 00040 class vtkDataSetCollection; 00041 00042 class VTK_GRAPHICS_EXPORT vtkInterpolateDataSetAttributes : public vtkDataSetAlgorithm 00043 { 00044 public: 00045 static vtkInterpolateDataSetAttributes *New(); 00046 vtkTypeMacro(vtkInterpolateDataSetAttributes,vtkDataSetAlgorithm); 00047 void PrintSelf(ostream& os, vtkIndent indent); 00048 00050 vtkDataSetCollection *GetInputList(); 00051 00053 00054 vtkSetClampMacro(T,double,0.0,VTK_DOUBLE_MAX); 00055 vtkGetMacro(T,double); 00057 00058 protected: 00059 vtkInterpolateDataSetAttributes(); 00060 ~vtkInterpolateDataSetAttributes(); 00061 00062 virtual void ReportReferences(vtkGarbageCollector*); 00063 00064 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *); 00065 int FillInputPortInformation(int port, vtkInformation *info); 00066 00067 vtkDataSetCollection *InputList; // list of data sets to interpolate 00068 double T; // interpolation parameter 00069 00070 private: 00071 vtkInterpolateDataSetAttributes(const vtkInterpolateDataSetAttributes&); // Not implemented. 00072 void operator=(const vtkInterpolateDataSetAttributes&); // Not implemented. 00073 }; 00074 00075 #endif 00076 00077