VTK  9.2.6
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 =========================================================================*/
65 #ifndef vtkDeformPointSet_h
66 #define vtkDeformPointSet_h
67 
68 #include "vtkFiltersGeneralModule.h" // For export macro
69 #include "vtkPointSetAlgorithm.h"
70 
71 #include "vtkSmartPointer.h" // For protected ivars
72 
73 class vtkDoubleArray;
74 class vtkPolyData;
75 
76 class VTKFILTERSGENERAL_EXPORT vtkDeformPointSet : public vtkPointSetAlgorithm
77 {
78 public:
80 
83  static vtkDeformPointSet* New();
85  void PrintSelf(ostream& os, vtkIndent indent) override;
87 
89 
93  void SetControlMeshData(vtkPolyData* controlMesh);
94  vtkPolyData* GetControlMeshData();
96 
101  void SetControlMeshConnection(vtkAlgorithmOutput* algOutput);
102 
104 
112  vtkSetMacro(InitializeWeights, vtkTypeBool);
113  vtkGetMacro(InitializeWeights, vtkTypeBool);
114  vtkBooleanMacro(InitializeWeights, vtkTypeBool);
116 
117 protected:
119  ~vtkDeformPointSet() override;
120 
122 
123  // Keep track of information between execution passes
129 
131 
132 private:
133  vtkDeformPointSet(const vtkDeformPointSet&) = delete;
134  void operator=(const vtkDeformPointSet&) = delete;
135 };
136 
137 #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:332
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:90
Proxy object to connect input/output ports.
dynamic, self-adjusting array of double
vtkIdType InitialNumberOfControlMeshCells
int vtkTypeBool
Definition: vtkABI.h:69
vtkTypeBool InitializeWeights
a simple class to control print indentation
Definition: vtkIndent.h:39
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