18#ifndef itkSpatialObjectDuplicator_h
19#define itkSpatialObjectDuplicator_h
32template <
typename TInputSpatialObject>
54 static constexpr unsigned int ObjectDimension = SpatialObjectType::ObjectDimension;
77 virtual SpatialObjectType *
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.
Implements transparent reference counting.
typename TInputSpatialObject::Pointer SpatialObjectPointer
SpatialObject< Self::ObjectDimension > InternalSpatialObjectType
SpatialObjectPointer m_DuplicateSpatialObject
SpatialObjectDuplicator()
ModifiedTimeType m_InternalSpatialObjectTime
SmartPointer< Self > Pointer
TInputSpatialObject SpatialObjectType
SmartPointer< const Self > ConstPointer
void CopyObject(const InternalSpatialObjectType *source, InternalSpatialObjectType *destination)
virtual const SpatialObjectType * GetOutput() const
~SpatialObjectDuplicator() override=default
typename TInputSpatialObject::ConstPointer SpatialObjectConstPointer
virtual SpatialObjectType * GetOutput()
SpatialObjectDuplicator Self
void PrintSelf(std::ostream &os, Indent indent) const override
SpatialObjectConstPointer m_Input
static constexpr unsigned int ObjectDimension
Implementation of the composite pattern.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
SizeValueType ModifiedTimeType