11 #ifndef _OrientedPolyLine_h
12 #define _OrientedPolyLine_h
14 #include "DeformableObject.h"
19 #include "vnl/vnl_matrix.h"
21 #include "itkSimpleFastMutexLock.h"
23 #include "vtkPolyData.h"
24 #include "vtkSmartPointer.h"
41 template <
class TScalar,
unsigned int Dimension>
171 #ifndef MU_MANUAL_INSTANTIATION
172 #include "OrientedPolyLine.txx"
Oriented curves.
Definition: OrientedPolyLine.h:42
Superclass::VNLMatrixList VNLMatrixList
List of matrices type.
Definition: OrientedPolyLine.h:61
TScalar m_KernelWidth
Size of the kernel.
Definition: OrientedPolyLine.h:159
virtual OrientedPolyLine * Clone()
Makes a copy of the object.
Definition: OrientedPolyLine.h:76
VNLMatrixType GetTangents() const
Returns the tangents of the cells.
Definition: OrientedPolyLine.h:91
TScalar GetNormSquared() const
Returns the squared RKHS-norm of itself.
Definition: OrientedPolyLine.h:102
TScalar m_NormSquared
Squared RKHS-norm of the oriented curve.
Definition: OrientedPolyLine.h:162
TScalar GetKernelWidth() const
Returns the size of the kernel.
Definition: OrientedPolyLine.h:97
Standard diffeomorphisms.
Definition: Diffeos.h:27
Superclass::VNLVectorType VNLVectorType
Vector type.
Definition: OrientedPolyLine.h:57
virtual void SetPolyData(vtkPolyData *polyData)
Sets the pointer on a VTK object to polyData.
DeformableObject< TScalar, Dimension > Superclass
Deformable object type.
Definition: Landmark.h:51
int m_NumCells
Number of cells (i.e. polygonal lines).
Definition: OrientedPolyLine.h:156
int GetNumberOfCells() const
Returns the number of cells.
Definition: OrientedPolyLine.h:94
Superclass::DiffeosType DiffeosType
Deformation type.
Definition: OrientedPolyLine.h:64
virtual TScalar ComputeMatch(DeformableObjectType *target)
See DeformableObject::ComputeMatch(DeformableObject* target) for details.
Landmarks (i.e. labelled point sets)
Definition: Landmark.h:42
itk::SimpleFastMutexLock m_VTKMutex
See Landmark::m_VTKMutex for details.
Definition: OrientedPolyLine.h:165
virtual VNLMatrixType ComputeMatchGradient(DeformableObjectType *target)
See DeformableObject::ComputeMatchGradient(DeformableObject* target) for details. ...
VNLMatrixType GetCenters() const
Returns the centers of the cells.
Definition: OrientedPolyLine.h:88
Superclass::VNLMatrixType VNLMatrixType
Matrix type.
Definition: Landmark.h:56
Superclass::VNLMatrixType VNLMatrixType
Matrix type.
Definition: OrientedPolyLine.h:59
VNLMatrixType m_Tangents
Matrix coordinates of the tangents of the cells (Size : NumCells x Dimension).
Definition: OrientedPolyLine.h:153
void SetKernelWidth(TScalar h)
Sets the size of the kernel to h.
VNLMatrixType m_Centers
Matrix coordinates of the centers of the cells (Size : NumCells x Dimension).
Definition: OrientedPolyLine.h:150
void ComputeCentersTangents(const VNLMatrixType &Pts, VNLMatrixType &Centers, VNLMatrixType &Tangents)
Computes the centers and the normals from the points.
TScalar ComputeSelfNorm()
Computes the RKHS-norm of itself.
Superclass::Superclass DeformableObjectType
Deformable object type.
Definition: OrientedPolyLine.h:54
Landmark< TScalar, Dimension > Superclass
Landmark type.
Definition: OrientedPolyLine.h:51