RTK  2.0.1
Reconstruction Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected 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

using ConstPointer = itk::SmartPointer< const Self >
using Pointer = itk::SmartPointer< Self >
using Self = PhaseReader
using Superclass = CSVFileReaderBase
using ValueType = float

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
 ~PhaseReader () override=default

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 43 of file rtkPhaseReader.h.

Definition at line 42 of file rtkPhaseReader.h.

Standard class type alias

Definition at line 40 of file rtkPhaseReader.h.

Definition at line 41 of file rtkPhaseReader.h.

The value type of the dataset.

Definition at line 52 of file rtkPhaseReader.h.

Constructor & Destructor Documentation

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

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::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 76 of file rtkPhaseReader.h.

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