18 #ifndef __itkBalloonForceFilter_h
19 #define __itkBalloonForceFilter_h
22 #include "vnl/vnl_matrix_fixed.h"
23 #include "vnl/vnl_math.h"
55 template<
class TInputMesh,
class TOutputMesh >
76 typedef typename InputMeshType::PointsContainerPointer
78 typedef typename InputMeshType::PointsContainer::Iterator
80 typedef typename InputMeshType::PointsContainerConstPointer
82 typedef typename InputMeshType::PointsContainer::ConstIterator
84 typedef typename InputMeshType::PointDataContainerPointer
86 typedef typename InputMeshType::PointDataContainer::Iterator
88 typedef typename InputMeshType::CellsContainerPointer
90 typedef typename InputMeshType::CellsContainer::Iterator
92 typedef typename InputMeshType::CellDataContainerPointer
94 typedef typename InputMeshType::CellDataContainer::Iterator
96 typedef typename InputMeshType::CellsContainerConstPointer
98 typedef typename InputMeshType::CellsContainer::ConstIterator
100 typedef typename InputMeshType::CellDataContainerConstPointer
102 typedef typename InputMeshType::CellDataContainer::ConstIterator
105 typedef typename OutputMeshType::PointsContainerPointer
107 typedef typename OutputMeshType::PointsContainer::Iterator
134 typedef::itk::TriangleCell< CellInterface >
TriCell;
141 void SetStiffnessMatrix();
149 void ComputeOutput();
151 void NodeAddition(
int i,
int res,
IPixelType z);
155 void NodesRearrange();
161 void ComputeNormals();
173 itkSetMacro(TimeStep,
double);
174 itkSetMacro(GradientBegin,
int);
175 itkSetMacro(Resolution,
int);
178 itkSetMacro(DistanceForGradient,
float);
179 itkSetMacro(DistanceToStop,
float);
188 void PrintSelf(std::ostream & os,
Indent indent)
const;
191 virtual void GenerateData();
195 void operator=(
const Self &);
210 vnl_matrix_fixed< double, 4, 4 > **
m_K;
262 #ifndef ITK_MANUAL_INSTANTIATION
263 #include "itkBalloonForceFilter.hxx"