18 #ifndef __itkPCAShapeSignedDistanceFunction_h
19 #define __itkPCAShapeSignedDistanceFunction_h
65 template<
typename TCoordRep,
66 unsigned int VSpaceDimension,
67 typename TImage = Image< double, VSpaceDimension > >
87 itkStaticConstMacro(SpaceDimension,
unsigned int, Superclass::SpaceDimension);
111 itkGetStaticConstMacro(SpaceDimension),
131 void SetNumberOfPrincipalComponents(
unsigned int n);
133 itkGetConstMacro(NumberOfPrincipalComponents,
unsigned int);
142 { m_PrincipalComponentImages = v; }
149 itkSetMacro(PrincipalComponentStandardDeviations, ParametersType);
150 itkGetConstMacro(PrincipalComponentStandardDeviations, ParametersType);
159 virtual void SetParameters(
const ParametersType &);
161 virtual unsigned int GetNumberOfShapeParameters(
void)
const
162 {
return m_NumberOfPrincipalComponents; }
163 virtual unsigned int GetNumberOfPoseParameters(
void)
const
164 {
return m_Transform ? m_Transform->GetNumberOfParameters() : 0; }
167 virtual OutputType Evaluate(
const PointType & point)
const;
171 virtual void Initialize()
176 ~PCAShapeSignedDistanceFunction(){}
178 void PrintSelf(std::ostream & os,
Indent indent)
const;
182 void operator=(
const Self &);
206 #define ITK_TEMPLATE_PCAShapeSignedDistanceFunction(_, EXPORT, TypeX, TypeY) \
209 _( 3 ( class EXPORT PCAShapeSignedDistanceFunction< ITK_TEMPLATE_3 TypeX > ) ) \
210 namespace Templates \
212 typedef PCAShapeSignedDistanceFunction< ITK_TEMPLATE_3 TypeX > \
213 PCAShapeSignedDistanceFunction##TypeY; \
217 #if ITK_TEMPLATE_EXPLICIT
218 #include "Templates/itkPCAShapeSignedDistanceFunction+-.h"
222 #include "itkPCAShapeSignedDistanceFunction.hxx"