ITK  5.0.0
Insight Segmentation and Registration Toolkit
itkLandmarkSpatialObject.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 itkLandmarkSpatialObject_h
19 #define itkLandmarkSpatialObject_h
20 
21 #include <list>
22 
24 
25 namespace itk
26 {
37 template< unsigned int TDimension = 3 >
38 class ITK_TEMPLATE_EXPORT LandmarkSpatialObject:
39  public PointBasedSpatialObject< TDimension >
40 {
41 public:
42  ITK_DISALLOW_COPY_AND_ASSIGN(LandmarkSpatialObject);
43 
48 
49  using ScalarType = double;
50 
52  using LandmarkPointListType = std::vector< LandmarkPointType >;
53 
54  using SpatialObjectPointType = typename Superclass::SpatialObjectPointType;
55  using PointType = typename Superclass::PointType;
56  using TransformType = typename Superclass::TransformType;
57  using BoundingBoxType = typename Superclass::BoundingBoxType;
60 
62  itkNewMacro(Self);
63 
66 
67 protected:
68 
70  ~LandmarkSpatialObject() override = default;
71 
73  void PrintSelf(std::ostream & os, Indent indent) const override;
74 
75  typename LightObject::Pointer InternalClone() const override;
76 
77 };
78 } // end namespace itk
79 
80 #ifndef ITK_MANUAL_INSTANTIATION
81 #include "itkLandmarkSpatialObject.hxx"
82 #endif
83 
84 #endif // itkLandmarkSpatialObject_h
std::vector< LandmarkPointType > LandmarkPointListType
This class serves as the base class for point-based spatial objects.
Representation of a Landmark based on the spatial object classes.
typename Superclass::BoundingBoxType BoundingBoxType
typename Superclass::SpatialObjectPointType SpatialObjectPointType
Point used for spatial objets.
Define a front-end to the STL &quot;vector&quot; container that conforms to the IndexedContainerInterface.
typename Superclass::PointType PointType
Control indentation during Print() invocation.
Definition: itkIndent.h:49
typename Superclass::TransformType TransformType
Base class for most ITK classes.
Definition: itkObject.h:60
Base class for all data objects in ITK.