VTK  9.0.20210725
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 =========================================================================*/
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 class vtkDoubleArray;
71 class vtkPolyData;
72 
73 class VTKFILTERSGENERAL_EXPORT vtkDeformPointSet : public vtkPointSetAlgorithm
74 {
75 public:
77 
82  void PrintSelf(ostream& os, vtkIndent indent) override;
84 
86 
90  void SetControlMeshData(vtkPolyData* controlMesh);
93 
99 
101 
109  vtkSetMacro(InitializeWeights, vtkTypeBool);
110  vtkGetMacro(InitializeWeights, vtkTypeBool);
111  vtkBooleanMacro(InitializeWeights, vtkTypeBool);
113 
114 protected:
116  ~vtkDeformPointSet() override;
117 
119 
120  // Keep track of information between execution passes
126 
128 
129 private:
130  vtkDeformPointSet(const vtkDeformPointSet&) = delete;
131  void operator=(const vtkDeformPointSet&) = delete;
132 };
133 
134 #endif
vtkDeformPointSet::SetControlMeshConnection
void SetControlMeshConnection(vtkAlgorithmOutput *algOutput)
Specify the point locations used to probe input.
vtkPointSetAlgorithm
Superclass for algorithms that produce output of the same type as input.
Definition: vtkPointSetAlgorithm.h:44
vtkIdType
int vtkIdType
Definition: vtkType.h:332
vtkDeformPointSet
use a control polyhedron to deform an input vtkPointSet
Definition: vtkDeformPointSet.h:74
vtkDeformPointSet::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:36
vtkSmartPointer< vtkDoubleArray >
vtkPointSetAlgorithm.h
vtkDeformPointSet::InitializeWeights
vtkTypeBool InitializeWeights
Definition: vtkDeformPointSet.h:118
vtkDeformPointSet::~vtkDeformPointSet
~vtkDeformPointSet() override
vtkDeformPointSet::InitialNumberOfControlMeshCells
vtkIdType InitialNumberOfControlMeshCells
Definition: vtkDeformPointSet.h:122
vtkDeformPointSet::InitialNumberOfControlMeshPoints
vtkIdType InitialNumberOfControlMeshPoints
Definition: vtkDeformPointSet.h:121
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:34
vtkDeformPointSet::vtkDeformPointSet
vtkDeformPointSet()
vtkSmartPointer.h
vtkDeformPointSet::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instantiable (i.e., concrete) class.
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:74
vtkDeformPointSet::SetControlMeshData
void SetControlMeshData(vtkPolyData *controlMesh)
Specify the control mesh to deform the input vtkPointSet.
vtkDeformPointSet::New
static vtkDeformPointSet * New()
Standard methods for instantiable (i.e., concrete) class.
vtkAlgorithmOutput
Proxy object to connect input/output ports.
Definition: vtkAlgorithmOutput.h:37
vtkDeformPointSet::GetControlMeshData
vtkPolyData * GetControlMeshData()
Specify the control mesh to deform the input vtkPointSet.
vtkPolyData
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:86
vtkDeformPointSet::InitialNumberOfPointSetPoints
vtkIdType InitialNumberOfPointSetPoints
Definition: vtkDeformPointSet.h:123
vtkDoubleArray
dynamic, self-adjusting array of double
Definition: vtkDoubleArray.h:36
vtkDeformPointSet::Weights
vtkSmartPointer< vtkDoubleArray > Weights
Definition: vtkDeformPointSet.h:125
vtkDeformPointSet::InitialNumberOfPointSetCells
vtkIdType InitialNumberOfPointSetCells
Definition: vtkDeformPointSet.h:124
vtkTypeBool
int vtkTypeBool
Definition: vtkABI.h:69