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 
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkDataSetAlgorithm::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
Definition: vtkDataSetAlgorithm.h:180
vtkDataSetAlgorithm
Superclass for algorithms that produce output of the same type as input.
Definition: vtkDataSetAlgorithm.h:48
vtkX3D::port
Definition: vtkX3D.h:447
vtkInterpolateDataSetAttributes::T
double T
Definition: vtkInterpolateDataSetAttributes.h:74
vtkDataSetAlgorithm::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkDataSetAlgorithm::New
static vtkDataSetAlgorithm * New()
vtkGarbageCollector
Detect and break reference loops.
Definition: vtkGarbageCollector.h:99
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkX3D::info
Definition: vtkX3D.h:376
vtkAlgorithm::ReportReferences
void ReportReferences(vtkGarbageCollector *) override
vtkDataSetAlgorithm.h
vtkInterpolateDataSetAttributes
interpolate scalars, vectors, etc. and other dataset attributes
Definition: vtkInterpolateDataSetAttributes.h:44
vtkDataSetAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkDataSetCollection
maintain an unordered list of dataset objects
Definition: vtkDataSetCollection.h:31
VTK_DOUBLE_MAX
#define VTK_DOUBLE_MAX
Definition: vtkType.h:169
vtkInterpolateDataSetAttributes::InputList
vtkDataSetCollection * InputList
Definition: vtkInterpolateDataSetAttributes.h:73