RTK  2.6.0
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 std::vector< float > GetOutput ()
 
void Parse () override
 
virtual void Update ()
 
virtual const char * GetNameOfClass () const
 

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.

Author
Cyril Mory

Definition at line 35 of file rtkPhaseReader.h.

Member Typedef Documentation

◆ ConstPointer

Definition at line 44 of file rtkPhaseReader.h.

◆ Pointer

Definition at line 43 of file rtkPhaseReader.h.

◆ Self

Standard class type alias

Definition at line 41 of file rtkPhaseReader.h.

◆ Superclass

Definition at line 42 of file rtkPhaseReader.h.

◆ ValueType

The value type of the dataset.

Definition at line 58 of file rtkPhaseReader.h.

Constructor & Destructor Documentation

◆ PhaseReader()

rtk::PhaseReader::PhaseReader ( )
protected

◆ ~PhaseReader()

rtk::PhaseReader::~PhaseReader ( )
overrideprotecteddefault

Member Function Documentation

◆ CreateAnother()

virtual::itk::LightObject::Pointer rtk::PhaseReader::CreateAnother ( ) const
virtual

Reimplemented from itk::Object.

◆ GetNameOfClass()

virtual const char* rtk::PhaseReader::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods)

Reimplemented from itk::CSVFileReaderBase.

◆ GetOutput()

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

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

◆ New()

static Pointer rtk::PhaseReader::New ( )
static

Standard New method.

◆ Parse()

void rtk::PhaseReader::Parse ( )
overridevirtual

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.

◆ PrintSelf()

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

Print the reader.

Reimplemented from itk::CSVFileReaderBase.

◆ Update()

virtual void rtk::PhaseReader::Update ( )
virtual

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

Member Data Documentation

◆ m_Phases

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

Definition at line 84 of file rtkPhaseReader.h.


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