VTK  9.3.0
vtkDeformPointSet.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
62 #ifndef vtkDeformPointSet_h
63 #define vtkDeformPointSet_h
64 
65 #include "vtkFiltersGeneralModule.h" // For export macro
66 #include "vtkPointSetAlgorithm.h"
67 
68 #include "vtkSmartPointer.h" // For protected ivars
69 
70 VTK_ABI_NAMESPACE_BEGIN
71 class vtkDoubleArray;
72 class vtkPolyData;
73 
74 class VTKFILTERSGENERAL_EXPORT vtkDeformPointSet : public vtkPointSetAlgorithm
75 {
76 public:
78 
83  void PrintSelf(ostream& os, vtkIndent indent) override;
85 
87 
91  void SetControlMeshData(vtkPolyData* controlMesh);
94 
100 
102 
110  vtkSetMacro(InitializeWeights, vtkTypeBool);
111  vtkGetMacro(InitializeWeights, vtkTypeBool);
112  vtkBooleanMacro(InitializeWeights, vtkTypeBool);
114 
115 protected:
117  ~vtkDeformPointSet() override;
118 
120 
121  // Keep track of information between execution passes
127 
129 
130 private:
131  vtkDeformPointSet(const vtkDeformPointSet&) = delete;
132  void operator=(const vtkDeformPointSet&) = delete;
133 };
134 
135 VTK_ABI_NAMESPACE_END
136 #endif
Proxy object to connect input/output ports.
use a control polyhedron to deform an input vtkPointSet
vtkTypeBool InitializeWeights
vtkIdType InitialNumberOfPointSetPoints
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
static vtkDeformPointSet * New()
Standard methods for instantiable (i.e., concrete) class.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instantiable (i.e., concrete) class.
vtkSmartPointer< vtkDoubleArray > Weights
~vtkDeformPointSet() override
vtkIdType InitialNumberOfControlMeshPoints
vtkIdType InitialNumberOfPointSetCells
vtkPolyData * GetControlMeshData()
Specify the control mesh to deform the input vtkPointSet.
vtkIdType InitialNumberOfControlMeshCells
void SetControlMeshData(vtkPolyData *controlMesh)
Specify the control mesh to deform the input vtkPointSet.
void SetControlMeshConnection(vtkAlgorithmOutput *algOutput)
Specify the point locations used to probe input.
dynamic, self-adjusting array of double
a simple class to control print indentation
Definition: vtkIndent.h:38
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce output of the same type as input.
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:89
int vtkTypeBool
Definition: vtkABI.h:64
int vtkIdType
Definition: vtkType.h:315