ITK  4.1.0
Insight Segmentation and Registration Toolkit
itkVesselTubeSpatialObjectPoint.h
Go to the documentation of this file.
00001 /*=========================================================================
00002  *
00003  *  Copyright Insight Software Consortium
00004  *
00005  *  Licensed under the Apache License, Version 2.0 (the "License");
00006  *  you may not use this file except in compliance with the License.
00007  *  You may obtain a copy of the License at
00008  *
00009  *         http://www.apache.org/licenses/LICENSE-2.0.txt
00010  *
00011  *  Unless required by applicable law or agreed to in writing, software
00012  *  distributed under the License is distributed on an "AS IS" BASIS,
00013  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00014  *  See the License for the specific language governing permissions and
00015  *  limitations under the License.
00016  *
00017  *=========================================================================*/
00018 #ifndef __itkVesselTubeSpatialObjectPoint_h
00019 #define __itkVesselTubeSpatialObjectPoint_h
00020 
00021 #include "itkTubeSpatialObjectPoint.h"
00022 #include "vnl/vnl_vector_fixed.h"
00023 
00024 namespace itk
00025 {
00036 template< unsigned int TPointDimension = 3 >
00037 class ITK_EXPORT VesselTubeSpatialObjectPoint:
00038   public TubeSpatialObjectPoint< TPointDimension >
00039 {
00040 public:
00041 
00042   typedef VesselTubeSpatialObjectPoint               Self;
00043   typedef TubeSpatialObjectPoint< TPointDimension >  Superclass;
00044   typedef Point< double, TPointDimension >           PointType;
00045   typedef Vector< double, TPointDimension >          VectorType;
00046   typedef CovariantVector< double, TPointDimension > CovariantVectorType;
00047 
00050   VesselTubeSpatialObjectPoint(void);
00051 
00053   virtual ~VesselTubeSpatialObjectPoint(void);
00054 
00056   float GetMedialness(void) const;
00057 
00059   void SetMedialness(const float newMedialness);
00060 
00062   float GetRidgeness(void) const;
00063 
00065   void SetRidgeness(const float newRidgeness);
00066 
00068   float GetBranchness(void) const;
00069 
00071   void SetBranchness(const float newBranchness);
00072 
00074   bool GetMark(void) const;
00075 
00077   void SetMark(const bool newMark);
00078 
00080   float GetAlpha1(void) const;
00081 
00083   void SetAlpha1(const float newAlpha);
00084 
00086   float GetAlpha2(void) const;
00087 
00089   void SetAlpha2(const float newAlpha);
00090 
00092   float GetAlpha3(void) const;
00093 
00095   void SetAlpha3(const float newAlpha);
00096 
00098   Self & operator=(const VesselTubeSpatialObjectPoint & rhs);
00099 
00100 protected:
00101 
00103   float m_Alpha1;
00104 
00106   float m_Alpha2;
00107 
00109   float m_Alpha3;
00110 
00112   float m_Medialness;
00113 
00115   float m_Ridgeness;
00116 
00118   float m_Branchness;
00119 
00121   bool m_Mark;
00122 
00124   void PrintSelf(std::ostream & os, Indent indent) const;
00125 };
00126 } // end of namespace itk
00127 
00128 #ifndef ITK_MANUAL_INSTANTIATION
00129 #include "itkVesselTubeSpatialObjectPoint.hxx"
00130 #endif
00131 
00132 #endif // __itkVesselTubeSpatialObjectPoint_h
00133