ITK  4.13.0
Insight Segmentation and Registration Toolkit
itkVesselTubeSpatialObjectPoint.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright Insight Software Consortium
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0.txt
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  *=========================================================================*/
18 #ifndef itkVesselTubeSpatialObjectPoint_h
19 #define itkVesselTubeSpatialObjectPoint_h
20 
22 #include "vnl/vnl_vector_fixed.h"
23 
24 namespace itk
25 {
36 template< unsigned int TPointDimension = 3 >
37 class ITK_TEMPLATE_EXPORT VesselTubeSpatialObjectPoint:
38  public TubeSpatialObjectPoint< TPointDimension >
39 {
40 public:
41 
47 
51 
53  virtual ~VesselTubeSpatialObjectPoint() ITK_OVERRIDE;
54 
56  float GetMedialness() const;
57 
59  void SetMedialness(const float newMedialness);
60 
62  float GetRidgeness() const;
63 
65  void SetRidgeness(const float newRidgeness);
66 
68  float GetBranchness() const;
69 
71  void SetBranchness(const float newBranchness);
72 
74  bool GetMark() const;
75 
77  void SetMark(const bool newMark);
78 
80  float GetAlpha1() const;
81 
83  void SetAlpha1(const float newAlpha);
84 
86  float GetAlpha2() const;
87 
89  void SetAlpha2(const float newAlpha);
90 
92  float GetAlpha3() const;
93 
95  void SetAlpha3(const float newAlpha);
96 
98  Self & operator=(const VesselTubeSpatialObjectPoint & rhs);
99 
100 protected:
101 
103  float m_Alpha1;
104 
106  float m_Alpha2;
107 
109  float m_Alpha3;
110 
112  float m_Medialness;
113 
115  float m_Ridgeness;
116 
118  float m_Branchness;
119 
121  bool m_Mark;
122 
124  void PrintSelf(std::ostream & os, Indent indent) const ITK_OVERRIDE;
125 };
126 } // end of namespace itk
127 
128 #ifndef ITK_MANUAL_INSTANTIATION
129 #include "itkVesselTubeSpatialObjectPoint.hxx"
130 #endif
131 
132 #endif // itkVesselTubeSpatialObjectPoint_h
Point used for a tube definition.
CovariantVector< double, TPointDimension > CovariantVectorType
Point< double, TPointDimension > PointType
Vector< double, TPointDimension > VectorType
TubeSpatialObjectPoint< TPointDimension > Superclass
Point used for a tube definition.
Point used for spatial objets.
Control indentation during Print() invocation.
Definition: itkIndent.h:49