18 #ifndef itkTubeSpatialObjectPoint_h
19 #define itkTubeSpatialObjectPoint_h
23 #include "vnl/vnl_vector_fixed.h"
37 template<
unsigned int TPo
intDimension = 3>
58 {
return m_RadiusInObjectSpace; }
61 double GetRadiusInWorldSpace()
const;
65 { m_RadiusInObjectSpace = newR; }
68 void SetRadiusInWorldSpace(
double newR);
72 {
return m_TangentInObjectSpace; }
75 const VectorType GetTangentInWorldSpace()
const;
79 { m_TangentInObjectSpace = newT; }
82 void SetTangentInWorldSpace(
const VectorType & newT);
86 {
return m_Normal1InObjectSpace; }
89 const CovariantVectorType GetNormal1InWorldSpace()
const;
93 { m_Normal1InObjectSpace = newV1; }
96 void SetNormal1InWorldSpace(
const CovariantVectorType & newV1);
100 {
return m_Normal2InObjectSpace; }
103 const CovariantVectorType GetNormal2InWorldSpace()
const;
107 { m_Normal2InObjectSpace = newV2; }
110 void SetNormal2InWorldSpace(
const CovariantVectorType & newV2);
113 { m_Ridgeness = ridgeness; }
116 {
return m_Ridgeness; }
119 { m_Medialness = medialness; }
122 {
return m_Medialness; }
125 { m_Branchness = branchness; }
128 {
return m_Branchness; }
131 { m_Alpha1 = alpha1; }
137 { m_Alpha2 = alpha2; }
143 { m_Alpha3 = alpha3; }
168 void PrintSelf(std::ostream & os,
Indent indent)
const override;
174 #ifndef ITK_MANUAL_INSTANTIATION
175 #include "itkTubeSpatialObjectPoint.hxx"
178 #endif // itkTubeSpatialObjectPoint_h
const CovariantVectorType & GetNormal2InObjectSpace() const
double GetBranchness() const
Point used for a tube definition.
void SetNormal2InObjectSpace(const CovariantVectorType &newV2)
void SetMedialness(double medialness)
VectorType m_TangentInObjectSpace
void SetTangentInObjectSpace(const VectorType &newT)
void SetNormal1InObjectSpace(const CovariantVectorType &newV1)
double GetMedialness() const
double m_RadiusInObjectSpace
void SetAlpha3(double alpha3)
const CovariantVectorType & GetNormal1InObjectSpace() const
vnl_vector< double > VectorType
void SetRidgeness(double ridgeness)
double GetRadiusInObjectSpace() const
void SetRadiusInObjectSpace(double newR)
void SetBranchness(double branchness)
CovariantVectorType m_Normal1InObjectSpace
Point used for spatial objets.
void SetAlpha1(double alpha1)
Control indentation during Print() invocation.
double GetRidgeness() const
CovariantVectorType m_Normal2InObjectSpace
ImageBaseType::SpacingType VectorType
const VectorType & GetTangentInObjectSpace() const
void SetAlpha2(double alpha2)