ITK  6.0.0
Insight Toolkit
itkSegmentationBorder.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright NumFOCUS
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  * https://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 {
47 class ITKKLMRegionGrowing_EXPORT SegmentationBorder : public Object
48 {
49 public:
50  ITK_DISALLOW_COPY_AND_MOVE(SegmentationBorder);
51 
54  using Superclass = Object;
57 
59  itkNewMacro(Self);
60 
62  itkOverrideGetNameOfClassMacro(SegmentationBorder);
63 
65  itkSetMacro(BorderLength, double);
66  itkGetConstReferenceMacro(BorderLength, double);
73  virtual void
75  {}
76 
77 protected:
79  ~SegmentationBorder() override;
80  void
81  PrintSelf(std::ostream & os, Indent indent) const override;
82 
83 private:
84  double m_BorderLength{ 0 };
85 };
86 } // end namespace itk
87 
88 #endif
itkObjectFactory.h
itk::SmartPointer< Self >
itk::Indent
Control indentation during Print() invocation.
Definition: itkIndent.h:49
itk::LightObject
Light weight base class for most itk classes.
Definition: itkLightObject.h:55
itk::SegmentationBorder
Base class for SegmentationBorder object.
Definition: itkSegmentationBorder.h:47
itkObject.h
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition: itkAnatomicalOrientation.h:29
itk::Object
Base class for most ITK classes.
Definition: itkObject.h:61
itk::SegmentationBorder::ApplySegmentationBorder
virtual void ApplySegmentationBorder()
Definition: itkSegmentationBorder.h:74