18#ifndef itkSpatialObjectDuplicator_h
19#define itkSpatialObjectDuplicator_h
32template <
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();
115#ifndef ITK_MANUAL_INSTANTIATION
116# include "itkSpatialObjectDuplicator.hxx"
Control indentation during Print() invocation.
Light weight base class for most itk classes.
Base class for most ITK classes.
typename TInputSpatialObject::Pointer SpatialObjectPointer
SpatialObjectDuplicator()
TInputSpatialObject SpatialObjectType
void CopyObject(const InternalSpatialObjectType *source, InternalSpatialObjectType *destination)
virtual const SpatialObjectType * GetOutput() const
~SpatialObjectDuplicator() override=default
typename TInputSpatialObject::ConstPointer SpatialObjectConstPointer
virtual SpatialObjectType * GetOutput()
void PrintSelf(std::ostream &os, Indent indent) const override
Implementation of the composite pattern.
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
SizeValueType ModifiedTimeType