18 #ifndef itkSpatialObjectDuplicator_h
19 #define itkSpatialObjectDuplicator_h
32 template <
typename TInputSpatialObject>
54 static constexpr
unsigned int ObjectDimension = SpatialObjectType::ObjectDimension;
75 return this->m_DuplicateSpatialObject.GetPointer();
77 virtual SpatialObjectType *
80 return this->m_DuplicateSpatialObject.GetPointer();
84 #if !defined(ITK_LEGACY_REMOVE)
86 virtual SpatialObjectType *
89 return this->m_DuplicateSpatialObject.GetPointer();
99 SpatialObjectDuplicator();
100 ~SpatialObjectDuplicator()
override =
default;
102 PrintSelf(std::ostream & os, Indent indent)
const override;
106 CopyObject(
const InternalSpatialObjectType * source, InternalSpatialObjectType * destination);
115 #ifndef ITK_MANUAL_INSTANTIATION
116 # include "itkSpatialObjectDuplicator.hxx"