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 =========================================================================*/
36 #ifndef vtkInterpolateDataSetAttributes_h
37 #define vtkInterpolateDataSetAttributes_h
38 
39 #include "vtkFiltersGeneralModule.h" // For export macro
40 #include "vtkDataSetAlgorithm.h"
41 
43 
44 class VTKFILTERSGENERAL_EXPORT vtkInterpolateDataSetAttributes : public vtkDataSetAlgorithm
45 {
46 public:
49  void PrintSelf(ostream& os, vtkIndent indent) override;
50 
54  vtkDataSetCollection *GetInputList();
55 
57 
60  vtkSetClampMacro(T,double,0.0,VTK_DOUBLE_MAX);
61  vtkGetMacro(T,double);
63 
64 protected:
67 
68  void ReportReferences(vtkGarbageCollector*) override;
69 
72 
73  vtkDataSetCollection *InputList; // list of data sets to interpolate
74  double T; // interpolation parameter
75 
76 private:
78  void operator=(const vtkInterpolateDataSetAttributes&) = delete;
79 };
80 
81 #endif
82 
83 
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:39
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.