VTK  9.3.1
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
53 #ifndef vtkDeformPointSet_h
54 #define vtkDeformPointSet_h
55 
56 #include "vtkFiltersGeneralModule.h" // For export macro
57 #include "vtkPointSetAlgorithm.h"
58 
59 #include "vtkSmartPointer.h" // For protected ivars
60 
61 VTK_ABI_NAMESPACE_BEGIN
62 class vtkDoubleArray;
63 class vtkPolyData;
64 
65 class VTKFILTERSGENERAL_EXPORT vtkDeformPointSet : public vtkPointSetAlgorithm
66 {
67 public:
69 
72  static vtkDeformPointSet* New();
74  void PrintSelf(ostream& os, vtkIndent indent) override;
76 
78 
82  void SetControlMeshData(vtkPolyData* controlMesh);
83  vtkPolyData* GetControlMeshData();
85 
90  void SetControlMeshConnection(vtkAlgorithmOutput* algOutput);
91 
93 
101  vtkSetMacro(InitializeWeights, vtkTypeBool);
102  vtkGetMacro(InitializeWeights, vtkTypeBool);
103  vtkBooleanMacro(InitializeWeights, vtkTypeBool);
105 
106 protected:
108  ~vtkDeformPointSet() override;
109 
111 
112  // Keep track of information between execution passes
118 
120 
121 private:
122  vtkDeformPointSet(const vtkDeformPointSet&) = delete;
123  void operator=(const vtkDeformPointSet&) = delete;
124 };
125 
126 VTK_ABI_NAMESPACE_END
127 #endif
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Store vtkAlgorithm input/output information.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int vtkIdType
Definition: vtkType.h:315
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:79
Proxy object to connect input/output ports.
dynamic, self-adjusting array of double
vtkIdType InitialNumberOfControlMeshCells
int vtkTypeBool
Definition: vtkABI.h:64
vtkTypeBool InitializeWeights
a simple class to control print indentation
Definition: vtkIndent.h:28
vtkIdType InitialNumberOfControlMeshPoints
Superclass for algorithms that produce output of the same type as input.
use a control polyhedron to deform an input vtkPointSet
vtkSmartPointer< vtkDoubleArray > Weights
static vtkPointSetAlgorithm * New()
Store zero or more vtkInformation instances.
vtkIdType InitialNumberOfPointSetPoints
vtkIdType InitialNumberOfPointSetCells