VTK
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 =========================================================================*/
33 #ifndef vtkInterpolateDataSetAttributes_h
34 #define vtkInterpolateDataSetAttributes_h
35 
36 #include "vtkFiltersGeneralModule.h" // For export macro
37 #include "vtkDataSetAlgorithm.h"
38 
40 
41 class VTKFILTERSGENERAL_EXPORT vtkInterpolateDataSetAttributes : public vtkDataSetAlgorithm
42 {
43 public:
46  void PrintSelf(ostream& os, vtkIndent indent) override;
47 
51  vtkDataSetCollection *GetInputList();
52 
54 
57  vtkSetClampMacro(T,double,0.0,VTK_DOUBLE_MAX);
58  vtkGetMacro(T,double);
60 
61 protected:
64 
65  void ReportReferences(vtkGarbageCollector*) override;
66 
69 
70  vtkDataSetCollection *InputList; // list of data sets to interpolate
71  double T; // interpolation parameter
72 
73 private:
75  void operator=(const vtkInterpolateDataSetAttributes&) = delete;
76 };
77 
78 #endif
79 
80 
maintain an unordered list of dataset objects
#define VTK_DOUBLE_MAX
Definition: vtkType.h:169
Store vtkAlgorithm input/output information.
void ReportReferences(vtkGarbageCollector *) override
Detect and break reference loops.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Definition: vtkIndent.h:33
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
interpolate scalars, vectors, etc.
Store zero or more vtkInformation instances.
Superclass for algorithms that produce output of the same type as input.
static vtkDataSetAlgorithm * New()
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.