VTK
vtkDeformPointSet.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: $RCSfile$
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 =========================================================================*/
64 #ifndef vtkDeformPointSet_h
65 #define vtkDeformPointSet_h
66 
67 #include "vtkFiltersGeneralModule.h" // For export macro
68 #include "vtkPointSetAlgorithm.h"
69 
70 #include "vtkSmartPointer.h" // For protected ivars
71 
72 class vtkDoubleArray;
73 class vtkPolyData;
74 
75 
77 {
78 public:
80 
81  static vtkDeformPointSet *New();
83  void PrintSelf(ostream& os, vtkIndent indent);
85 
87 
89  void SetControlMeshData(vtkPolyData *controlMesh);
90  vtkPolyData *GetControlMeshData();
92 
95  void SetControlMeshConnection(vtkAlgorithmOutput* algOutput);
96 
98 
104  vtkSetMacro(InitializeWeights, int);
105  vtkGetMacro(InitializeWeights, int);
106  vtkBooleanMacro(InitializeWeights, int);
108 
109 protected:
112 
114 
115  // Keep track of information between execution passes
121 
124 
125 private:
126  vtkDeformPointSet(const vtkDeformPointSet&); // Not implemented.
127  void operator=(const vtkDeformPointSet&); // Not implemented.
128 
129 };
130 
131 #endif
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Store vtkAlgorithm input/output information.
int vtkIdType
Definition: vtkType.h:275
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:83
Proxy object to connect input/output ports.
dynamic, self-adjusting array of double
vtkIdType InitialNumberOfControlMeshCells
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkIdType InitialNumberOfControlMeshPoints
Superclass for algorithms that produce output of the same type as input.
#define VTKFILTERSGENERAL_EXPORT
use a control polyhedron to deform an input vtkPointSet
vtkSmartPointer< vtkDoubleArray > Weights
static vtkPointSetAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
Store zero or more vtkInformation instances.
vtkIdType InitialNumberOfPointSetPoints
vtkIdType InitialNumberOfPointSetCells