00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkVesselTubeSpatialObjectPoint.h,v $ 00005 Language: C++ 00006 Date: $Date: 2005-05-12 16:19:56 $ 00007 Version: $Revision: 1.4 $ 00008 00009 Copyright (c) Insight Software Consortium. All rights reserved. 00010 See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details. 00011 00012 This software is distributed WITHOUT ANY WARRANTY; without even 00013 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00014 PURPOSE. See the above copyright notices for more information. 00015 00016 =========================================================================*/ 00017 00018 #ifndef __itkVesselTubeSpatialObjectPoint_h 00019 #define __itkVesselTubeSpatialObjectPoint_h 00020 00021 #include "itkTubeSpatialObjectPoint.h" 00022 #include "itkCovariantVector.h" 00023 #include "vnl/vnl_vector_fixed.h" 00024 00025 namespace itk 00026 { 00027 00036 template < unsigned int TPointDimension = 3 > 00037 class VesselTubeSpatialObjectPoint 00038 : public TubeSpatialObjectPoint<TPointDimension> 00039 { 00040 00041 public: 00042 00043 typedef VesselTubeSpatialObjectPoint Self; 00044 typedef TubeSpatialObjectPoint<TPointDimension> Superclass; 00045 typedef Point< double, TPointDimension > PointType; 00046 typedef Vector<double, TPointDimension > VectorType; 00047 typedef CovariantVector<double, TPointDimension > CovariantVectorType; 00048 00051 VesselTubeSpatialObjectPoint( void ); 00052 00054 virtual ~VesselTubeSpatialObjectPoint( void ); 00055 00057 float GetMedialness( void ) const; 00058 00060 void SetMedialness(const float newMedialness); 00061 00063 float GetRidgeness( void ) const; 00064 00066 void SetRidgeness(const float newRidgeness); 00067 00069 float GetBranchness( void ) const; 00070 00072 void SetBranchness(const float newBranchness); 00073 00075 bool GetMark( void ) const; 00076 00078 void SetMark(const bool newMark); 00079 00081 float GetAlpha1( void ) const; 00082 00084 void SetAlpha1(const float newAlpha); 00085 00087 float GetAlpha2( void ) const; 00088 00090 void SetAlpha2(const float newAlpha); 00091 00093 float GetAlpha3( void ) const; 00094 00096 void SetAlpha3(const float newAlpha); 00097 00099 Self & operator=(const VesselTubeSpatialObjectPoint & rhs); 00100 00101 protected: 00102 00104 float m_Alpha1; 00105 00107 float m_Alpha2; 00108 00110 float m_Alpha3; 00111 00113 float m_Medialness; 00114 00116 float m_Ridgeness; 00117 00119 float m_Branchness; 00120 00122 bool m_Mark; 00123 00125 void PrintSelf( std::ostream & os, Indent indent) const; 00126 }; 00127 00128 } // end of namespace itk 00129 00130 #ifndef ITK_MANUAL_INSTANTIATION 00131 #include "itkVesselTubeSpatialObjectPoint.txx" 00132 #endif 00133 00134 #endif // __itkVesselTubeSpatialObjectPoint_h 00135