ITK  6.0.0
Insight Toolkit
itkDTITubeSpatialObject.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 itkDTITubeSpatialObject_h
19#define itkDTITubeSpatialObject_h
20
21#include <list>
22
25
26namespace itk
27{
41template <unsigned int TDimension = 3>
42class ITK_TEMPLATE_EXPORT DTITubeSpatialObject
43 : public TubeSpatialObject<TDimension, DTITubeSpatialObjectPoint<TDimension>>
44{
45public:
46 ITK_DISALLOW_COPY_AND_MOVE(DTITubeSpatialObject);
47
52
54 using DTITubePointListType = std::vector<DTITubePointType>;
55
56 using typename Superclass::PointType;
57 using typename Superclass::TransformType;
58 using typename Superclass::SpatialObjectPointType;
61 using typename Superclass::VectorType;
62 using typename Superclass::CovariantVectorType;
63 using typename Superclass::BoundingBoxType;
64
66 itkNewMacro(Self);
67
69 itkOverrideGetNameOfClassMacro(DTITubeSpatialObject);
70
71protected:
73 ~DTITubeSpatialObject() override = default;
74
76 InternalClone() const override;
77};
78} // end namespace itk
79
80#ifndef ITK_MANUAL_INSTANTIATION
81# include "itkDTITubeSpatialObject.hxx"
82#endif
83
84#endif // itkDTITubeSpatialObject_h
Point used for a tube definition.
Representation of a tube based on the spatial object classes.
std::vector< DTITubePointType > DTITubePointListType
LightObject::Pointer InternalClone() const override
~DTITubeSpatialObject() override=default
Base class for all data objects in ITK.
Base class for most ITK classes.
Definition: itkObject.h:62
Representation of a tube based on the spatial object classes.
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....