VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
vtkInterpolateDataSetAttributes.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkInterpolateDataSetAttributes.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
35 #ifndef __vtkInterpolateDataSetAttributes_h
36 #define __vtkInterpolateDataSetAttributes_h
37 
38 #include "vtkFiltersGeneralModule.h" // For export macro
39 #include "vtkDataSetAlgorithm.h"
40 
41 class vtkDataSetCollection;
42 
43 class VTKFILTERSGENERAL_EXPORT vtkInterpolateDataSetAttributes : public vtkDataSetAlgorithm
44 {
45 public:
46  static vtkInterpolateDataSetAttributes *New();
47  vtkTypeMacro(vtkInterpolateDataSetAttributes,vtkDataSetAlgorithm);
48  void PrintSelf(ostream& os, vtkIndent indent);
49 
51  vtkDataSetCollection *GetInputList();
52 
54 
55  vtkSetClampMacro(T,double,0.0,VTK_DOUBLE_MAX);
56  vtkGetMacro(T,double);
58 
59 protected:
62 
63  virtual void ReportReferences(vtkGarbageCollector*);
64 
65  int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
66  int FillInputPortInformation(int port, vtkInformation *info);
67 
68  vtkDataSetCollection *InputList; // list of data sets to interpolate
69  double T; // interpolation parameter
70 
71 private:
73  void operator=(const vtkInterpolateDataSetAttributes&); // Not implemented.
74 };
75 
76 #endif
77 
78 
interpolate scalars, vectors, etc. and other dataset attributes