28#ifndef itkDataObject_h
29#define itkDataObject_h
85 GetDataObject() const noexcept;
86#if !defined(ITK_LEGACY_REMOVE)
88 GetDataObject() noexcept;
144 PrintSelf(
std::ostream & os,
Indent indent) const override;
353 m_ReleaseDataFlag = flag;
356 itkGetConstReferenceMacro(ReleaseDataFlag,
bool);
357 itkBooleanMacro(ReleaseDataFlag);
371 Self::SetGlobalReleaseDataFlag(
true);
376 Self::SetGlobalReleaseDataFlag(
false);
395 return m_DataReleased;
442 m_PipelineMTime = time;
576 bool m_ReleaseDataFlag{};
577 bool m_DataReleased{};
Exception object for DataObject exceptions.
virtual void PrintSelf(std::ostream &os, Indent indent) const
DataObjectError() noexcept
Base class for all data objects in ITK.
std::vector< Pointer >::size_type DataObjectPointerArraySizeType
virtual void Graft(const DataObject *)
virtual void SetRequestedRegion(const DataObject *)
virtual void PropagateRequestedRegion()
void UpdateSource() const
bool DisconnectSource(ProcessObject *arg, const DataObjectIdentifierType &name)
virtual ModifiedTimeType GetUpdateMTime() const
virtual void PropagateResetPipeline()
virtual void ResetPipeline()
DataObjectPointerArraySizeType GetSourceOutputIndex() const
virtual void UpdateOutputInformation()
virtual void PrepareForNewData()
void SetPipelineMTime(ModifiedTimeType time)
bool ConnectSource(ProcessObject *arg, const DataObjectIdentifierType &name)
static void GlobalReleaseDataFlagOn()
virtual void DataHasBeenGenerated()
bool GetDataReleased() const
SmartPointer< ProcessObject > GetSource() const
static void SetGlobalReleaseDataFlag(bool val)
virtual void SetRequestedRegionToLargestPossibleRegion()
virtual void CopyInformation(const DataObject *)
virtual bool VerifyRequestedRegion()
void DisconnectPipeline()
const DataObjectIdentifierType & GetSourceOutputName() const
virtual void UpdateOutputData()
bool ShouldIReleaseData() const
void SetReleaseDataFlag(bool flag)
void PrintSelf(std::ostream &os, Indent indent) const override
static bool * m_GlobalReleaseDataFlag
itkGetGlobalDeclarationMacro(bool, GlobalReleaseDataFlag)
static void GlobalReleaseDataFlagOff()
std::string DataObjectIdentifierType
virtual void Initialize()
static bool GetGlobalReleaseDataFlag()
virtual bool RequestedRegionIsOutsideOfTheBufferedRegion()
Control indentation during Print() invocation.
InvalidRequestedRegionError() noexcept
Base class for most ITK classes.
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
The RealTimeStamp is a data structure for representing time with high precision and a large dynamic r...
Generate a unique, increasing time value.
Implements a weak reference to an object.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
class ITK_FORWARD_EXPORT DataObject
SizeValueType ModifiedTimeType