VTK
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 
74 class VTKFILTERSGENERAL_EXPORT vtkDeformPointSet : public vtkPointSetAlgorithm
75 {
76 public:
78 
81  static vtkDeformPointSet *New();
83  void PrintSelf(ostream& os, vtkIndent indent) override;
85 
87 
91  void SetControlMeshData(vtkPolyData *controlMesh);
92  vtkPolyData *GetControlMeshData();
94 
99  void SetControlMeshConnection(vtkAlgorithmOutput* algOutput);
100 
102 
110  vtkSetMacro(InitializeWeights, vtkTypeBool);
111  vtkGetMacro(InitializeWeights, vtkTypeBool);
112  vtkBooleanMacro(InitializeWeights, vtkTypeBool);
114 
115 protected:
117  ~vtkDeformPointSet() override;
118 
120 
121  // Keep track of information between execution passes
127 
129  vtkInformationVector *) override;
130 
131 private:
132  vtkDeformPointSet(const vtkDeformPointSet&) = delete;
133  void operator=(const vtkDeformPointSet&) = delete;
134 
135 };
136 
137 #endif
vtkPointSetAlgorithm
Superclass for algorithms that produce output of the same type as input.
Definition: vtkPointSetAlgorithm.h:43
vtkIdType
int vtkIdType
Definition: vtkType.h:347
vtkDeformPointSet
use a control polyhedron to deform an input vtkPointSet
Definition: vtkDeformPointSet.h:74
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:35
vtkSmartPointer< vtkDoubleArray >
vtkPointSetAlgorithm.h
vtkDeformPointSet::InitializeWeights
vtkTypeBool InitializeWeights
Definition: vtkDeformPointSet.h:119
vtkPointSetAlgorithm::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Definition: vtkPointSetAlgorithm.h:132
vtkDeformPointSet::InitialNumberOfControlMeshCells
vtkIdType InitialNumberOfControlMeshCells
Definition: vtkDeformPointSet.h:123
vtkDeformPointSet::InitialNumberOfControlMeshPoints
vtkIdType InitialNumberOfControlMeshPoints
Definition: vtkDeformPointSet.h:122
vtkPointSetAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkSmartPointer.h
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:80
vtkAlgorithmOutput
Proxy object to connect input/output ports.
Definition: vtkAlgorithmOutput.h:36
vtkPolyData
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:79
vtkDeformPointSet::InitialNumberOfPointSetPoints
vtkIdType InitialNumberOfPointSetPoints
Definition: vtkDeformPointSet.h:124
vtkDoubleArray
dynamic, self-adjusting array of double
Definition: vtkDoubleArray.h:35
vtkDeformPointSet::Weights
vtkSmartPointer< vtkDoubleArray > Weights
Definition: vtkDeformPointSet.h:126
vtkDeformPointSet::InitialNumberOfPointSetCells
vtkIdType InitialNumberOfPointSetCells
Definition: vtkDeformPointSet.h:125
vtkPointSetAlgorithm::New
static vtkPointSetAlgorithm * New()
vtkTypeBool
int vtkTypeBool
Definition: vtkABI.h:69