ITK  5.0.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
itk::TemporalRegion Class Reference

#include <itkTemporalRegion.h>

+ Inheritance diagram for itk::TemporalRegion:
+ Collaboration diagram for itk::TemporalRegion:

Detailed Description

Region subclass that holds a region in time.

A temporal region is represented using a starting point and a duration. Here time can be measured both in frame numbers or real time (or both).

Definition at line 42 of file itkTemporalRegion.h.

Public Types

using FrameOffsetType = ::itk::SizeValueType
 
using Self = TemporalRegion
 
using Superclass = Region
 
- Public Types inherited from itk::Region
enum  RegionType {
  ITK_UNSTRUCTURED_REGION,
  ITK_STRUCTURED_REGION
}
 
using Self = Region
 

Public Member Functions

virtual const char * GetNameOfClass () const
 
RegionType GetRegionType () const override
 
virtual bool IsEqualInFrames (const Self &region) const
 
bool IsEqualInRealTime (const Self &region) const
 
bool operator!= (const Self &region) const
 
bool operator== (const Self &region) const
 
 TemporalRegion ()
 
 ~TemporalRegion () override
 
void SetRealStart (const RealTimeStamp s)
 
RealTimeStamp GetRealStart () const
 
void SetRealDuration (const RealTimeInterval d)
 
RealTimeInterval GetRealDuration () const
 
void SetFrameStart (const FrameOffsetType s)
 
FrameOffsetType GetFrameStart () const
 
void SetFrameDuration (const FrameOffsetType d)
 
FrameOffsetType GetFrameDuration () const
 
- Public Member Functions inherited from itk::Region
 itkTypeMacroNoParent (Region)
 
virtual void Print (std::ostream &os, Indent indent=0) const
 
 Region ()=default
 
virtual ~Region ()=default
 

Protected Member Functions

void PrintSelf (std::ostream &os, Indent indent) const override
 
- Protected Member Functions inherited from itk::Region
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 

Protected Attributes

FrameOffsetType m_FrameDuration {0}
 
FrameOffsetType m_FrameStart {0}
 
RealTimeInterval m_RealDuration
 
RealTimeStamp m_RealStart
 

Member Typedef Documentation

Typedef for frame offsets

Definition at line 53 of file itkTemporalRegion.h.

Standard class type aliases

Definition at line 47 of file itkTemporalRegion.h.

Definition at line 48 of file itkTemporalRegion.h.

Constructor & Destructor Documentation

itk::TemporalRegion::TemporalRegion ( )

Constructor

itk::TemporalRegion::~TemporalRegion ( )
override

Destructor

Member Function Documentation

FrameOffsetType itk::TemporalRegion::GetFrameDuration ( ) const

Get/Set FrameDuration

FrameOffsetType itk::TemporalRegion::GetFrameStart ( ) const

Get/Set FrameStart

virtual const char* itk::TemporalRegion::GetNameOfClass ( ) const
virtual
RealTimeInterval itk::TemporalRegion::GetRealDuration ( ) const

Get/Set RealDuration

RealTimeStamp itk::TemporalRegion::GetRealStart ( ) const

Get/Set RealStart

RegionType itk::TemporalRegion::GetRegionType ( ) const
overridevirtual

Return RegionType (SRUCTURED_REGION)

Implements itk::Region.

virtual bool itk::TemporalRegion::IsEqualInFrames ( const Self region) const
virtual

Compare two temporal regions in Frame space

bool itk::TemporalRegion::IsEqualInRealTime ( const Self region) const

Compare two temporal regions in Frame space

bool itk::TemporalRegion::operator!= ( const Self region) const
bool itk::TemporalRegion::operator== ( const Self region) const

Compare two temporal regions. (Both Frame and RealTime)

void itk::TemporalRegion::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotectedvirtual

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from itk::Region.

void itk::TemporalRegion::SetFrameDuration ( const FrameOffsetType  d)

Get/Set FrameDuration

void itk::TemporalRegion::SetFrameStart ( const FrameOffsetType  s)

Get/Set FrameStart

void itk::TemporalRegion::SetRealDuration ( const RealTimeInterval  d)

Get/Set RealDuration

void itk::TemporalRegion::SetRealStart ( const RealTimeStamp  s)

Get/Set RealStart

Member Data Documentation

FrameOffsetType itk::TemporalRegion::m_FrameDuration {0}
protected

Definition at line 103 of file itkTemporalRegion.h.

FrameOffsetType itk::TemporalRegion::m_FrameStart {0}
protected

Definition at line 102 of file itkTemporalRegion.h.

RealTimeInterval itk::TemporalRegion::m_RealDuration
protected

Definition at line 101 of file itkTemporalRegion.h.

RealTimeStamp itk::TemporalRegion::m_RealStart
protected

Time boundaries

Definition at line 100 of file itkTemporalRegion.h.


The documentation for this class was generated from the following file: