ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkBlobSpatialObject.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 itkBlobSpatialObject_h
19#define itkBlobSpatialObject_h
20
21#include <list>
22
24
25namespace itk
26{
27
47template <unsigned int TDimension = 3>
48class ITK_TEMPLATE_EXPORT BlobSpatialObject : public PointBasedSpatialObject<TDimension, SpatialObjectPoint<TDimension>>
49{
50public:
51 ITK_DISALLOW_COPY_AND_MOVE(BlobSpatialObject);
52
57
58 using ScalarType = double;
59
61 using BlobPointListType = std::vector<BlobPointType>;
62
63 using typename Superclass::PointType;
65 using typename Superclass::TransformType;
66 using typename Superclass::BoundingBoxType;
69
71 itkNewMacro(Self);
72
74 itkOverrideGetNameOfClassMacro(BlobSpatialObject);
75
76protected:
78 ~BlobSpatialObject() override = default;
79
81 InternalClone() const override;
82};
83} // end namespace itk
84
85#ifndef ITK_MANUAL_INSTANTIATION
86# include "itkBlobSpatialObject.hxx"
87#endif
88
89#endif // itkBlobSpatialObject_h
std::vector< BlobPointType > BlobPointListType
PointBasedSpatialObject< TDimension, SpatialObjectPoint< TDimension > > Superclass
VectorContainer< PointType > PointContainerType
SmartPointer< Self > Pointer
SmartPointer< const Self > ConstPointer
~BlobSpatialObject() override=default
SpatialObjectPoint< TDimension > BlobPointType
LightObject::Pointer InternalClone() const override
SmartPointer< PointContainerType > PointContainerPointer
SmartPointer< Self > Pointer
BoundingBox< IdentifierType, VDimension, ScalarType, VectorContainerType > BoundingBoxType
Implements transparent reference counting.
Point used for spatial objects.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
detail::VectorContainer< std::conditional_t< std::is_void_v< T2 >, SizeValueType, T1 >, std::conditional_t< std::is_void_v< T2 >, T1, T2 > > VectorContainer