ITK  5.0.0
Insight Segmentation and Registration Toolkit
itkDTITubeSpatialObject.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 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,
44  DTITubeSpatialObjectPoint< TDimension > >
45 {
46 public:
47  ITK_DISALLOW_COPY_AND_ASSIGN(DTITubeSpatialObject);
48 
50  using Superclass = TubeSpatialObject< TDimension,
54 
56  using DTITubePointListType = std::vector< DTITubePointType >;
57 
58  using PointType = typename Superclass::PointType;
59  using TransformType = typename Superclass::TransformType;
60  using SpatialObjectPointType = typename Superclass::SpatialObjectPointType;
64  using CovariantVectorType = typename Superclass::CovariantVectorType;
65  using BoundingBoxType = typename Superclass::BoundingBoxType;
66 
68  itkNewMacro(Self);
69 
72 
73 protected:
74 
76  ~DTITubeSpatialObject() override = default;
77 
79  void PrintSelf(std::ostream & os, Indent indent) const override;
80 
81  typename LightObject::Pointer InternalClone() const override;
82 
83 };
84 } // end namespace itk
85 
86 #ifndef ITK_MANUAL_INSTANTIATION
87 #include "itkDTITubeSpatialObject.hxx"
88 #endif
89 
90 #endif // itkDTITubeSpatialObject_h
typename Superclass::BoundingBoxType BoundingBoxType
typename Superclass::PointType PointType
typename Superclass::SpatialObjectPointType SpatialObjectPointType
typename Superclass::CovariantVectorType CovariantVectorType
std::vector< DTITubePointType > DTITubePointListType
Point used for a tube definition.
typename Superclass::VectorType VectorType
Representation of a tube based on the spatial object classes.
typename Superclass::TransformType TransformType
Define a front-end to the STL &quot;vector&quot; container that conforms to the IndexedContainerInterface.
Control indentation during Print() invocation.
Definition: itkIndent.h:49
Representation of a tube based on the spatial object classes.
Base class for most ITK classes.
Definition: itkObject.h:60
Base class for all data objects in ITK.