VTK  9.0.20210725
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 "vtkDataSetAlgorithm.h"
37 #include "vtkFiltersGeneralModule.h" // For export macro
38 
40 
41 class VTKFILTERSGENERAL_EXPORT vtkInterpolateDataSetAttributes : public vtkDataSetAlgorithm
42 {
43 public:
46  void PrintSelf(ostream& os, vtkIndent indent) override;
47 
52 
54 
57  vtkSetClampMacro(T, double, 0.0, VTK_DOUBLE_MAX);
58  vtkGetMacro(T, double);
60 
61 protected:
64 
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
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:36
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:71
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:34
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:74
vtkX3D::info
@ info
Definition: vtkX3D.h:382
vtkDataSetAlgorithm.h
vtkInterpolateDataSetAttributes
interpolate scalars, vectors, etc.
Definition: vtkInterpolateDataSetAttributes.h:42
vtkDataSetCollection
maintain an unordered list of dataset objects
Definition: vtkDataSetCollection.h:32
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:70