18 #ifndef itkTemporalRegion_h 19 #define itkTemporalRegion_h 26 #include "ITKVideoCoreExport.h" 29 #define ITK_INFINITE_FRAME_DURATION itk::NumericTraits<itk::SizeValueType>::max() 30 #define ITK_INFINITE_REAL_DURATION RealTimeInterval(ITK_INFINITE_FRAME_DURATION, 0) 66 void SetFrameStart(
const FrameOffsetType s);
67 FrameOffsetType GetFrameStart()
const;
71 void SetFrameDuration(
const FrameOffsetType d);
72 FrameOffsetType GetFrameDuration()
const;
76 virtual RegionType GetRegionType() const ITK_OVERRIDE;
85 virtual
bool IsEqualInFrames(const Self & region) const;
88 bool IsEqualInRealTime(const Self & region) const;
91 bool operator==(const Self & region) const;
93 bool operator!=(const Self & region) const;
97 virtual
void PrintSelf(
std::ostream & os,
Indent indent) const ITK_OVERRIDE;
102 FrameOffsetType m_FrameStart;
103 FrameOffsetType m_FrameDuration;
108 ITKVideoCore_EXPORT
std::ostream & operator<<(
std::ostream & os, const TemporalRegion & region);
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
unsigned long SizeValueType
The RealTimeStamp is a data structure for representing time with high precision and a large dynamic r...
A data structure for representing the time span between two RealTimeStamps, with similar high precisi...
Region subclass that holds a region in time.
A region represents some portion or piece of data.
::itk::SizeValueType FrameOffsetType
Control indentation during Print() invocation.