VTK  9.3.20240425
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
72#ifndef vtkDeformPointSet_h
73#define vtkDeformPointSet_h
74
75#include "vtkFiltersGeneralModule.h" // For export macro
77
78#include "vtkSmartPointer.h" // For protected ivars
79
80VTK_ABI_NAMESPACE_BEGIN
81class vtkDoubleArray;
82class vtkPolyData;
83
84class VTKFILTERSGENERAL_EXPORT vtkDeformPointSet : public vtkPointSetAlgorithm
85{
86public:
88
93 void PrintSelf(ostream& os, vtkIndent indent) override;
95
97
101 void SetControlMeshData(vtkPolyData* controlMesh);
104
110
112
120 vtkSetMacro(InitializeWeights, vtkTypeBool);
121 vtkGetMacro(InitializeWeights, vtkTypeBool);
122 vtkBooleanMacro(InitializeWeights, vtkTypeBool);
124
125protected:
128
130
131 // Keep track of information between execution passes
137
139
140private:
141 vtkDeformPointSet(const vtkDeformPointSet&) = delete;
142 void operator=(const vtkDeformPointSet&) = delete;
143};
144
145VTK_ABI_NAMESPACE_END
146#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.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instantiable (i.e., concrete) class.
vtkPolyData * GetControlMeshData()
Specify the control mesh to deform the input vtkPointSet.
vtkSmartPointer< vtkDoubleArray > Weights
~vtkDeformPointSet() override
static vtkDeformPointSet * New()
Standard methods for instantiable (i.e., concrete) class.
vtkIdType InitialNumberOfControlMeshPoints
vtkIdType InitialNumberOfPointSetCells
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:108
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
Hold a reference to a vtkObjectBase instance.
int vtkTypeBool
Definition vtkABI.h:64
int vtkIdType
Definition vtkType.h:315