ITK  5.2.0
Insight Toolkit
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  * 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 itkBlobSpatialObject_h
19 #define itkBlobSpatialObject_h
20 
21 #include <list>
22 
24 
25 namespace itk
26 {
27 
47 template <unsigned int TDimension = 3>
48 class ITK_TEMPLATE_EXPORT BlobSpatialObject : public PointBasedSpatialObject<TDimension, SpatialObjectPoint<TDimension>>
49 {
50 public:
51  ITK_DISALLOW_COPY_AND_MOVE(BlobSpatialObject);
52 
57 
58  using ScalarType = double;
59 
61  using BlobPointListType = std::vector<BlobPointType>;
62 
63  using PointType = typename Superclass::PointType;
64  using SpatialObjectPointType = typename Superclass::SpatialObjectPointType;
65  using TransformType = typename Superclass::TransformType;
66  using BoundingBoxType = typename Superclass::BoundingBoxType;
69 
71  itkNewMacro(Self);
72 
74  itkTypeMacro(BlobSpatialObject, SpatialObject);
75 
76 protected:
78  ~BlobSpatialObject() override = default;
79 
81  void
82  PrintSelf(std::ostream & os, Indent indent) const override;
83 
84  typename LightObject::Pointer
85  InternalClone() const override;
86 };
87 } // end namespace itk
88 
89 #ifndef ITK_MANUAL_INSTANTIATION
90 # include "itkBlobSpatialObject.hxx"
91 #endif
92 
93 #endif // itkBlobSpatialObject_h
itk::PointBasedSpatialObject
This class serves as the base class for point-based spatial objects.
Definition: itkPointBasedSpatialObject.h:37
itk::GTest::TypedefsAndConstructors::Dimension2::PointType
ImageBaseType::PointType PointType
Definition: itkGTestTypedefsAndConstructors.h:51
itk::SmartPointer< Self >
itk::Indent
Control indentation during Print() invocation.
Definition: itkIndent.h:49
itk::BlobSpatialObject::TransformType
typename Superclass::TransformType TransformType
Definition: itkBlobSpatialObject.h:65
itk::BlobSpatialObject
Spatial object representing a potentially amorphous object.
Definition: itkBlobSpatialObject.h:48
itk::BlobSpatialObject::ScalarType
double ScalarType
Definition: itkBlobSpatialObject.h:58
itk::SpatialObject
Implementation of the composite pattern.
Definition: itkSpatialObject.h:57
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition: itkAnnulusOperator.h:24
itk::BlobSpatialObject::SpatialObjectPointType
typename Superclass::SpatialObjectPointType SpatialObjectPointType
Definition: itkBlobSpatialObject.h:64
itk::Object
Base class for most ITK classes.
Definition: itkObject.h:62
itkPointBasedSpatialObject.h
itk::BlobSpatialObject::BoundingBoxType
typename Superclass::BoundingBoxType BoundingBoxType
Definition: itkBlobSpatialObject.h:66
itk::BlobSpatialObject::BlobPointListType
std::vector< BlobPointType > BlobPointListType
Definition: itkBlobSpatialObject.h:61
itk::VectorContainer
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.
Definition: itkVectorContainer.h:48
itk::DataObject
Base class for all data objects in ITK.
Definition: itkDataObject.h:293
itk::BlobSpatialObject::PointType
typename Superclass::PointType PointType
Definition: itkBlobSpatialObject.h:63
itk::SpatialObjectPoint
Point used for spatial objets.
Definition: itkSpatialObjectPoint.h:44