ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkLabelOverlapLabelSetMeasures.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 itkLabelOverlapLabelSetMeasures_h
19#define itkLabelOverlapLabelSetMeasures_h
20
21#include "itkIntTypes.h"
22
23namespace itk
24{
30{
37
38 // ITK's igenerator wrapping pipeline does not expose public data members of
39 // a struct to Python. Provide explicit getters so wrapped consumers (Python
40 // tests, downstream bindings) can read these fields. Also provide
41 // descriptively-named aliases for the m_-prefixed forms; the m_Foo names
42 // remain accessible from C++ for backward compatibility with consumers that
43 // construct or mutate these values directly.
45 GetSource() const
46 {
47 return m_Source;
48 }
50 GetTarget() const
51 {
52 return m_Target;
53 }
55 GetUnion() const
56 {
57 return m_Union;
58 }
61 {
62 return m_Intersection;
63 }
66 {
67 return m_SourceComplement;
68 }
71 {
72 return m_TargetComplement;
73 }
74};
75} // namespace itk
76#endif // itkLabelOverlapLabelSetMeasures_h
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
unsigned long SizeValueType
Definition itkIntTypes.h:86