28 #ifndef itkDataObject_h
29 #define itkDataObject_h
84 virtual void PrintSelf(std::ostream & os,
Indent indent)
const;
127 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
294 void DisconnectPipeline();
319 virtual void Initialize();
325 m_ReleaseDataFlag = flag;
328 itkGetConstReferenceMacro(ReleaseDataFlag,
bool);
329 itkBooleanMacro(ReleaseDataFlag);
334 static void SetGlobalReleaseDataFlag(
bool val);
336 static bool GetGlobalReleaseDataFlag();
339 { Self::SetGlobalReleaseDataFlag(
true); }
341 { Self::SetGlobalReleaseDataFlag(
false); }
351 bool ShouldIReleaseData()
const;
355 {
return m_DataReleased; }
367 virtual void Update();
378 virtual void UpdateOutputInformation();
382 virtual void PropagateRequestedRegion();
384 virtual void UpdateOutputData();
389 virtual void ResetPipeline();
394 { m_PipelineMTime = time; }
419 { this->Initialize(); }
425 virtual void DataHasBeenGenerated();
486 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
489 virtual void PropagateResetPipeline();
493 void operator=(const Self &) ITK_DELETE_FUNCTION;
508 bool m_ReleaseDataFlag;
516 static
bool m_GlobalReleaseDataFlag;
void SetPipelineMTime(ModifiedTimeType time)
std::string DataObjectIdentifierType
virtual bool RequestedRegionIsOutsideOfTheBufferedRegion()
unsigned long ModifiedTimeType
std::vector< Pointer >::size_type DataObjectPointerArraySizeType
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
SmartPointer< Self > Pointer
Implements a weak reference to an object.
virtual void Graft(const DataObject *)
virtual ~InvalidRequestedRegionError() noexcept
The RealTimeStamp is a data structure for representing time with high precision and a large dynamic r...
static void GlobalReleaseDataFlagOn()
SmartPointer< const Self > ConstPointer
void SetReleaseDataFlag(bool flag)
Standard exception handling object.
virtual ~DataObjectError() noexcept
Generate a unique, increasing time value.
Exception object for DataObject exceptions.
static void GlobalReleaseDataFlagOff()
virtual void SetRequestedRegion(const DataObject *)
bool GetDataReleased() const
virtual void CopyInformation(const DataObject *)
virtual void PrepareForNewData()
Control indentation during Print() invocation.
virtual bool VerifyRequestedRegion()
DataObject * m_DataObject
Base class for most ITK classes.
Implements transparent reference counting in situations where forward references / cyclic include dep...
virtual void SetRequestedRegionToLargestPossibleRegion()
Base class for all data objects in ITK.