ITK  5.2.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  * 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, DTITubeSpatialObjectPoint<TDimension>>
44 {
45 public:
46  ITK_DISALLOW_COPY_AND_ASSIGN(DTITubeSpatialObject);
47 
52 
54  using DTITubePointListType = std::vector<DTITubePointType>;
55 
56  using PointType = typename Superclass::PointType;
57  using TransformType = typename Superclass::TransformType;
58  using SpatialObjectPointType = typename Superclass::SpatialObjectPointType;
62  using CovariantVectorType = typename Superclass::CovariantVectorType;
63  using BoundingBoxType = typename Superclass::BoundingBoxType;
64 
66  itkNewMacro(Self);
67 
70 
71 protected:
73  ~DTITubeSpatialObject() override = default;
74 
76  void
77  PrintSelf(std::ostream & os, Indent indent) const override;
78 
79  typename LightObject::Pointer
80  InternalClone() const override;
81 };
82 } // end namespace itk
83 
84 #ifndef ITK_MANUAL_INSTANTIATION
85 # include "itkDTITubeSpatialObject.hxx"
86 #endif
87 
88 #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::DTITubeSpatialObject::CovariantVectorType
typename Superclass::CovariantVectorType CovariantVectorType
Definition: itkDTITubeSpatialObject.h:62
itk::DTITubeSpatialObject::VectorType
typename Superclass::VectorType VectorType
Definition: itkDTITubeSpatialObject.h:61
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::DTITubeSpatialObject::TransformType
typename Superclass::TransformType TransformType
Definition: itkDTITubeSpatialObject.h:57
itk::SmartPointer< Self >
itk::Indent
Control indentation during Print() invocation.
Definition: itkIndent.h:49
itk::DTITubeSpatialObject::PointType
typename Superclass::PointType PointType
Definition: itkDTITubeSpatialObject.h:56
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::DTITubeSpatialObject::SpatialObjectPointType
typename Superclass::SpatialObjectPointType SpatialObjectPointType
Definition: itkDTITubeSpatialObject.h:58
itk::Object
Base class for most ITK classes.
Definition: itkObject.h:60
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
itk::DTITubeSpatialObject::BoundingBoxType
typename Superclass::BoundingBoxType BoundingBoxType
Definition: itkDTITubeSpatialObject.h:63