ITK  5.4.0
Insight Toolkit
itkLandmarkSpatialObject.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 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 : public PointBasedSpatialObject<TDimension>
39 {
40 public:
41  ITK_DISALLOW_COPY_AND_MOVE(LandmarkSpatialObject);
42 
47 
48  using ScalarType = double;
49 
51  using LandmarkPointListType = std::vector<LandmarkPointType>;
52 
53  using typename Superclass::SpatialObjectPointType;
54  using typename Superclass::PointType;
55  using typename Superclass::TransformType;
56  using typename Superclass::BoundingBoxType;
59 
61  itkNewMacro(Self);
62 
64  itkOverrideGetNameOfClassMacro(LandmarkSpatialObject);
65 
66 protected:
68  ~LandmarkSpatialObject() override = default;
69 
70  typename LightObject::Pointer
71  InternalClone() const override;
72 };
73 } // end namespace itk
74 
75 #ifndef ITK_MANUAL_INSTANTIATION
76 # include "itkLandmarkSpatialObject.hxx"
77 #endif
78 
79 #endif // itkLandmarkSpatialObject_h
itk::PointBasedSpatialObject
This class serves as the base class for point-based spatial objects.
Definition: itkPointBasedSpatialObject.h:37
itk::GTest::TypedefsAndConstructors::Dimension2::PointType
ImageBaseType::PointType PointType
Definition: itkGTestTypedefsAndConstructors.h:51
itk::SmartPointer< Self >
itk::LandmarkSpatialObject
Representation of a Landmark based on the spatial object classes.
Definition: itkLandmarkSpatialObject.h:38
itk::LandmarkSpatialObject::LandmarkPointListType
std::vector< LandmarkPointType > LandmarkPointListType
Definition: itkLandmarkSpatialObject.h:51
itk::LandmarkSpatialObject::ScalarType
double ScalarType
Definition: itkLandmarkSpatialObject.h:48
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition: itkAnnulusOperator.h:24
itk::Object
Base class for most ITK classes.
Definition: itkObject.h:61
itkPointBasedSpatialObject.h
itk::VectorContainer
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.
Definition: itkVectorContainer.h:48
itk::DataObject
Base class for all data objects in ITK.
Definition: itkDataObject.h:293
itk::SpatialObjectPoint
Point used for spatial objects.
Definition: itkSpatialObjectPoint.h:44