VTK: Filters/General/vtkInterpolateDataSetAttributes.h Source File

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