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();
311 const DataObjectIdentifierType & GetSourceOutputName()
const;
315 DataObjectPointerArraySizeType GetSourceOutputIndex()
const;
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;
522 bool ConnectSource(
ProcessObject *s,
const DataObjectIdentifierType & name);
532 bool DisconnectSource(
ProcessObject *s,
const DataObjectIdentifierType & name);
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...
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
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
RealTimeStamp m_RealTimeStamp
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()
WeakPointer< ProcessObject > m_Source
virtual void SetRequestedRegion(const DataObject *)
bool GetDataReleased() const
virtual void CopyInformation(const DataObject *)
static bool m_GlobalReleaseDataFlag
virtual void PrepareForNewData()
Control indentation during Print() invocation.
DataObjectIdentifierType m_SourceOutputName
virtual bool VerifyRequestedRegion()
DataObject * m_DataObject
Base class for most ITK classes.
ModifiedTimeType m_PipelineMTime
Implements transparent reference counting in situations where forward references / cyclic include dep...
virtual void SetRequestedRegionToLargestPossibleRegion()
Base class for all data objects in ITK.