VTK  9.1.0
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 =========================================================================*/
62 #ifndef vtkInterpolateDataSetAttributes_h
63 #define vtkInterpolateDataSetAttributes_h
64 
65 #include "vtkDataSetAlgorithm.h"
66 #include "vtkFiltersGeneralModule.h" // For export macro
67 
69 
70 class VTKFILTERSGENERAL_EXPORT vtkInterpolateDataSetAttributes : public vtkDataSetAlgorithm
71 {
72 public:
75  void PrintSelf(ostream& os, vtkIndent indent) override;
76 
81 
83 
86  vtkSetClampMacro(T, double, 0.0, VTK_DOUBLE_MAX);
87  vtkGetMacro(T, double);
89 
90 protected:
93 
95 
98 
99  vtkDataSetCollection* InputList; // list of data sets to interpolate
100  double T; // interpolation parameter
101 
102 private:
104  void operator=(const vtkInterpolateDataSetAttributes&) = delete;
105 };
106 
107 #endif
vtkInterpolateDataSetAttributes::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:145
vtkInterpolateDataSetAttributes::New
static vtkInterpolateDataSetAttributes * New()
vtkInterpolateDataSetAttributes::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkDataSetAlgorithm
Superclass for algorithms that produce output of the same type as input.
Definition: vtkDataSetAlgorithm.h:49
vtkX3D::port
@ port
Definition: vtkX3D.h:453
vtkInterpolateDataSetAttributes::T
double T
Definition: vtkInterpolateDataSetAttributes.h:100
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:113
vtkInterpolateDataSetAttributes::GetInputList
vtkDataSetCollection * GetInputList()
Return the list of inputs to this filter.
vtkInterpolateDataSetAttributes::~vtkInterpolateDataSetAttributes
~vtkInterpolateDataSetAttributes() override
vtkGarbageCollector
Detect and break reference loops.
Definition: vtkGarbageCollector.h:95
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:183
vtkX3D::info
@ info
Definition: vtkX3D.h:382
vtkDataSetAlgorithm.h
vtkInterpolateDataSetAttributes
interpolate scalars, vectors, etc.
Definition: vtkInterpolateDataSetAttributes.h:71
vtkDataSetCollection
maintain an unordered list of dataset objects
Definition: vtkDataSetCollection.h:61
vtkInterpolateDataSetAttributes::ReportReferences
void ReportReferences(vtkGarbageCollector *) override
vtkInterpolateDataSetAttributes::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
VTK_DOUBLE_MAX
#define VTK_DOUBLE_MAX
Definition: vtkType.h:165
vtkInterpolateDataSetAttributes::vtkInterpolateDataSetAttributes
vtkInterpolateDataSetAttributes()
vtkInterpolateDataSetAttributes::InputList
vtkDataSetCollection * InputList
Definition: vtkInterpolateDataSetAttributes.h:99