VTK  9.1.0
vtkDeformPointSet.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkDeformPointSet.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=========================================================================*/
81#ifndef vtkDeformPointSet_h
82#define vtkDeformPointSet_h
83
84#include "vtkFiltersGeneralModule.h" // For export macro
86
87#include "vtkSmartPointer.h" // For protected ivars
88
89class vtkDoubleArray;
90class vtkPolyData;
91
92class VTKFILTERSGENERAL_EXPORT vtkDeformPointSet : public vtkPointSetAlgorithm
93{
94public:
96
101 void PrintSelf(ostream& os, vtkIndent indent) override;
103
105
109 void SetControlMeshData(vtkPolyData* controlMesh);
112
118
120
128 vtkSetMacro(InitializeWeights, vtkTypeBool);
129 vtkGetMacro(InitializeWeights, vtkTypeBool);
130 vtkBooleanMacro(InitializeWeights, vtkTypeBool);
132
133protected:
136
138
139 // Keep track of information between execution passes
145
147
148private:
149 vtkDeformPointSet(const vtkDeformPointSet&) = delete;
150 void operator=(const vtkDeformPointSet&) = delete;
151};
152
153#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:113
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:195
int vtkTypeBool
Definition: vtkABI.h:69
int vtkIdType
Definition: vtkType.h:332