VTK
|
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 "vtkFiltersGeneralModule.h" // For export macro 00039 #include "vtkDataSetAlgorithm.h" 00040 00041 class vtkDataSetCollection; 00042 00043 class VTKFILTERSGENERAL_EXPORT vtkInterpolateDataSetAttributes : public vtkDataSetAlgorithm 00044 { 00045 public: 00046 static vtkInterpolateDataSetAttributes *New(); 00047 vtkTypeMacro(vtkInterpolateDataSetAttributes,vtkDataSetAlgorithm); 00048 void PrintSelf(ostream& os, vtkIndent indent); 00049 00051 vtkDataSetCollection *GetInputList(); 00052 00054 00055 vtkSetClampMacro(T,double,0.0,VTK_DOUBLE_MAX); 00056 vtkGetMacro(T,double); 00058 00059 protected: 00060 vtkInterpolateDataSetAttributes(); 00061 ~vtkInterpolateDataSetAttributes(); 00062 00063 virtual void ReportReferences(vtkGarbageCollector*); 00064 00065 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *); 00066 int FillInputPortInformation(int port, vtkInformation *info); 00067 00068 vtkDataSetCollection *InputList; // list of data sets to interpolate 00069 double T; // interpolation parameter 00070 00071 private: 00072 vtkInterpolateDataSetAttributes(const vtkInterpolateDataSetAttributes&); // Not implemented. 00073 void operator=(const vtkInterpolateDataSetAttributes&); // Not implemented. 00074 }; 00075 00076 #endif 00077 00078