18 #ifndef itkSpatialObjectDuplicator_h
19 #define itkSpatialObjectDuplicator_h
31 template<
typename TInputSpatialObject >
53 static constexpr
unsigned int ObjectDimension = SpatialObjectType::ObjectDimension;
76 #if !defined(ITK_LEGACY_REMOVE)
78 virtual SpatialObjectType * GetModifiedOutput() {
return this->m_DuplicateSpatialObject.GetPointer(); }
86 SpatialObjectDuplicator();
87 ~SpatialObjectDuplicator()
override =
default;
88 void PrintSelf(std::ostream & os, Indent indent)
const override;
91 void CopyObject(
const InternalSpatialObjectType *source,
92 InternalSpatialObjectType *destination);
101 #ifndef ITK_MANUAL_INSTANTIATION
102 #include "itkSpatialObjectDuplicator.hxx"
Light weight base class for most itk classes.
SpatialObjectPointer m_DuplicateSpatialObject
virtual const SpatialObjectType * GetOutput() const
typename TInputSpatialObject::ConstPointer SpatialObjectConstPointer
ModifiedTimeType m_InternalSpatialObjectTime
typename TInputSpatialObject::Pointer SpatialObjectPointer
Implementation of the composite pattern.
unsigned long ModifiedTimeType
virtual SpatialObjectType * GetOutput()
TInputSpatialObject SpatialObjectType
Base class for most ITK classes.
SpatialObjectConstPointer m_Input