RTK  2.0.0
Reconstruction Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
rtk::PhaseReader Class Reference

#include <rtkPhaseReader.h>

+ Inheritance diagram for rtk::PhaseReader:
+ Collaboration diagram for rtk::PhaseReader:

Public Types

typedef itk::SmartPointer< const SelfConstPointer
typedef itk::SmartPointer< SelfPointer
typedef PhaseReader Self
typedef CSVFileReaderBase Superclass
typedef float ValueType

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother () const
virtual const char * GetNameOfClass () const
virtual std::vector< float > GetOutput ()
void Parse () override
virtual void Update ()

Static Public Member Functions

static Pointer New ()

Protected Member Functions

 PhaseReader ()
void PrintSelf (std::ostream &os, itk::Indent indent) const override
virtual ~PhaseReader () override

Private Member Functions

void operator= (const Self &)
 PhaseReader (const Self &)

Private Attributes

std::vector< float > m_Phases

Detailed Description

Parses csv file containing the cardiac or respiratory phases of each projection.

Cyril Mory

Definition at line 34 of file rtkPhaseReader.h.

Member Typedef Documentation

Definition at line 41 of file rtkPhaseReader.h.

Definition at line 40 of file rtkPhaseReader.h.

Standard class typedefs

Definition at line 38 of file rtkPhaseReader.h.

Definition at line 39 of file rtkPhaseReader.h.

The value type of the dataset.

Definition at line 50 of file rtkPhaseReader.h.

Constructor & Destructor Documentation

rtk::PhaseReader::PhaseReader ( )
virtual rtk::PhaseReader::~PhaseReader ( )

Definition at line 67 of file rtkPhaseReader.h.

rtk::PhaseReader::PhaseReader ( const Self )

Member Function Documentation

virtual::itk::LightObject::Pointer rtk::PhaseReader::CreateAnother ( ) const
virtual const char* rtk::PhaseReader::GetNameOfClass ( ) const

Run-time type information (and related methods)

Reimplemented from itk::CSVFileReaderBase.

virtual std::vector<float> rtk::PhaseReader::GetOutput ( )

Aliased to the GetDataFrameObject() method to be consistent with the rest of the pipeline

static Pointer rtk::PhaseReader::New ( )

Standard New method.

void rtk::PhaseReader::operator= ( const Self )
void rtk::PhaseReader::Parse ( )

Parses the data from the file. Gets the phases of the projections into a vector, then generate an Array2D object containing the interpolation weights

Implements itk::CSVFileReaderBase.

void rtk::PhaseReader::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const

Print the reader.

virtual void rtk::PhaseReader::Update ( )

Aliased to the Parse() method to be consistent with the rest of the pipeline.

Member Data Documentation

std::vector<float> rtk::PhaseReader::m_Phases

Definition at line 74 of file rtkPhaseReader.h.

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