ITK  5.4.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 
23 #include "itkTubeSpatialObject.h"
25 
26 namespace itk
27 {
41 template <unsigned int TDimension = 3>
42 class ITK_TEMPLATE_EXPORT DTITubeSpatialObject
43  : public TubeSpatialObject<TDimension, DTITubeSpatialObjectPoint<TDimension>>
44 {
45 public:
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 
71 protected:
73  ~DTITubeSpatialObject() override = default;
74 
75  typename LightObject::Pointer
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
itk::DTITubeSpatialObjectPoint
Point used for a tube definition.
Definition: itkDTITubeSpatialObjectPoint.h:61
itk::DTITubeSpatialObject
Representation of a tube based on the spatial object classes.
Definition: itkDTITubeSpatialObject.h:42
itk::TubeSpatialObject
Representation of a tube based on the spatial object classes.
Definition: itkTubeSpatialObject.h:42
itk::GTest::TypedefsAndConstructors::Dimension2::VectorType
ImageBaseType::SpacingType VectorType
Definition: itkGTestTypedefsAndConstructors.h:53
itk::GTest::TypedefsAndConstructors::Dimension2::PointType
ImageBaseType::PointType PointType
Definition: itkGTestTypedefsAndConstructors.h:51
itk::SmartPointer< Self >
itkDTITubeSpatialObjectPoint.h
itk::DTITubeSpatialObject::DTITubePointListType
std::vector< DTITubePointType > DTITubePointListType
Definition: itkDTITubeSpatialObject.h:54
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
itk::VectorContainer
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.
Definition: itkVectorContainer.h:48
itkTubeSpatialObject.h
itk::DataObject
Base class for all data objects in ITK.
Definition: itkDataObject.h:293