VTK  9.3.1
vtkInterpolateDataSetAttributes.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
24 #ifndef vtkInterpolateDataSetAttributes_h
25 #define vtkInterpolateDataSetAttributes_h
26 
27 #include "vtkDataSetAlgorithm.h"
28 #include "vtkFiltersGeneralModule.h" // For export macro
29 
30 VTK_ABI_NAMESPACE_BEGIN
32 
33 class VTKFILTERSGENERAL_EXPORT vtkInterpolateDataSetAttributes : public vtkDataSetAlgorithm
34 {
35 public:
38  void PrintSelf(ostream& os, vtkIndent indent) override;
39 
43  vtkDataSetCollection* GetInputList();
44 
46 
49  vtkSetClampMacro(T, double, 0.0, VTK_DOUBLE_MAX);
50  vtkGetMacro(T, double);
52 
53 protected:
56 
57  void ReportReferences(vtkGarbageCollector*) override;
58 
61 
62  vtkDataSetCollection* InputList; // list of data sets to interpolate
63  double T; // interpolation parameter
64 
65 private:
67  void operator=(const vtkInterpolateDataSetAttributes&) = delete;
68 };
69 
70 VTK_ABI_NAMESPACE_END
71 #endif
maintain an unordered list of dataset objects
#define VTK_DOUBLE_MAX
Definition: vtkType.h:154
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:28
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.