ITK  5.0.0
Insight Segmentation and Registration Toolkit
itkSegmentationBorder.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 itkSegmentationBorder_h
19 #define itkSegmentationBorder_h
20 
21 #include "itkObject.h"
22 #include "itkObjectFactory.h"
23 #include "ITKKLMRegionGrowingExport.h"
24 
25 namespace itk
26 {
46 class ITKKLMRegionGrowing_EXPORT SegmentationBorder:public Object
47 {
48 public:
49  ITK_DISALLOW_COPY_AND_ASSIGN(SegmentationBorder);
50 
53  using Superclass = Object;
56 
58  itkNewMacro(Self);
59 
61  itkTypeMacro(SegmentationBorder, Object);
62 
64  itkSetMacro(BorderLength, double);
65  itkGetConstReferenceMacro(BorderLength, double);
67 
72  virtual void ApplySegmentationBorder(){}
73 
74 protected:
76  ~SegmentationBorder() override;
77  void PrintSelf(std::ostream & os, Indent indent) const override;
78 
79 private:
80  double m_BorderLength{0};
81 };
82 } // end namespace itk
83 
84 #endif
Light weight base class for most itk classes.
virtual void ApplySegmentationBorder()
Control indentation during Print() invocation.
Definition: itkIndent.h:49
Base class for SegmentationBorder object.
Base class for most ITK classes.
Definition: itkObject.h:60