#include <rtkPhaseReader.h>
Parses csv file containing the cardiac or respiratory phases of each projection.
Definition at line 35 of file 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 Types inherited from itk::CSVFileReaderBase | |
| using | ConstPointer = SmartPointer<const Self> |
| using | Pointer = SmartPointer<Self> |
| using | Self = CSVFileReaderBase |
| using | Superclass = LightProcessObject |
Public Types inherited from itk::LightProcessObject | |
| using | ConstPointer = SmartPointer<const Self> |
| using | Pointer = SmartPointer<Self> |
| using | Self = LightProcessObject |
| using | Superclass = Object |
Public Types inherited from itk::Object | |
| using | ConstPointer = SmartPointer<const Self> |
| using | Pointer = SmartPointer<Self> |
| using | Self = Object |
| using | Superclass = LightObject |
Public Types inherited from itk::LightObject | |
| using | ConstPointer = SmartPointer<const Self> |
| using | Pointer = SmartPointer<Self> |
| using | Self = LightObject |
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 () |
Public Member Functions inherited from itk::CSVFileReaderBase | |
| template<typename TData> | |
| TData | ConvertStringToValueType (const std::string &str) |
| void | GetDataDimension (SizeValueType &rows, SizeValueType &cols) |
| virtual char | GetFieldDelimiterCharacter () |
| virtual bool | GetHasColumnHeaders () const |
| virtual bool | GetHasRowHeaders () const |
| void | GetNextField (std::string &) |
| virtual char | GetStringDelimiterCharacter () |
| virtual bool | GetUseStringDelimiterCharacter () const |
| virtual void | SetFieldDelimiterCharacter (char _arg) |
| virtual void | SetFileName (const char *_arg) |
| virtual void | SetHasColumnHeaders (bool _arg) |
| virtual void | SetHasRowHeaders (bool _arg) |
| virtual void | SetStringDelimiterCharacter (char _arg) |
| virtual void | SetUseStringDelimiterCharacter (bool _arg) |
| virtual void | HasRowHeadersOn () |
| virtual void | HasRowHeadersOff () |
| virtual void | HasColumnHeadersOn () |
| virtual void | HasColumnHeadersOff () |
| virtual void | UseStringDelimiterCharacterOn () |
| virtual void | UseStringDelimiterCharacterOff () |
Public Member Functions inherited from itk::LightProcessObject | |
| virtual void | AbortGenerateDataOff () |
| virtual void | AbortGenerateDataOn () |
| virtual const bool & | GetAbortGenerateData () const |
| virtual void | SetAbortGenerateData (bool _arg) |
| virtual void | UpdateOutputData () |
| void | UpdateProgress (float amount) |
| virtual void | SetProgress (float _arg) |
| virtual const float & | GetProgress () const |
Public Member Functions inherited from itk::Object | |
| unsigned long | AddObserver (const EventObject &event, Command *cmd) const |
| unsigned long | AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const |
| virtual void | DebugOff () const |
| virtual void | DebugOn () const |
| Command * | GetCommand (unsigned long tag) |
| bool | GetDebug () const |
| MetaDataDictionary & | GetMetaDataDictionary () |
| const MetaDataDictionary & | GetMetaDataDictionary () const |
| virtual ModifiedTimeType | GetMTime () const |
| virtual const TimeStamp & | GetTimeStamp () const |
| bool | HasObserver (const EventObject &event) const |
| void | InvokeEvent (const EventObject &) |
| void | InvokeEvent (const EventObject &) const |
| virtual void | Modified () const |
| void | Register () const override |
| void | RemoveAllObservers () |
| void | RemoveObserver (unsigned long tag) const |
| void | SetDebug (bool debugFlag) const |
| void | SetReferenceCount (int) override |
| void | UnRegister () const noexcept override |
| void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
| void | SetMetaDataDictionary (MetaDataDictionary &&rrhs) |
| virtual void | SetObjectName (std::string _arg) |
| virtual const std::string & | GetObjectName () const |
Public Member Functions inherited from itk::LightObject | |
| Pointer | Clone () const |
| virtual void | Delete () |
| virtual int | GetReferenceCount () const |
| void | Print (std::ostream &os, Indent indent=0) const |
Static Public Member Functions | |
| static Pointer | New () |
Static Public Member Functions inherited from itk::LightProcessObject | |
| static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
| static bool | GetGlobalWarningDisplay () |
| static void | GlobalWarningDisplayOff () |
| static void | GlobalWarningDisplayOn () |
| static Pointer | New () |
| static void | SetGlobalWarningDisplay (bool val) |
Static Public Member Functions inherited from itk::LightObject | |
| static void | BreakOnError () |
| static Pointer | New () |
Protected Member Functions | |
| PhaseReader () | |
| void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
| ~PhaseReader () override=default | |
Protected Member Functions inherited from itk::CSVFileReaderBase | |
| CSVFileReaderBase () | |
| void | PrepareForParsing () |
| ~CSVFileReaderBase () override=default | |
Protected Member Functions inherited from itk::LightProcessObject | |
| virtual void | GenerateData () |
| LightProcessObject () | |
| ~LightProcessObject () override | |
Protected Member Functions inherited from itk::Object | |
| Object () | |
| bool | PrintObservers (std::ostream &os, Indent indent) const |
| virtual void | SetTimeStamp (const TimeStamp &timeStamp) |
| ~Object () override | |
Protected Member Functions inherited from itk::LightObject | |
| virtual LightObject::Pointer | InternalClone () const |
| LightObject () | |
| virtual void | PrintHeader (std::ostream &os, Indent indent) const |
| virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
| virtual | ~LightObject () |
Private Attributes | |
| std::vector< float > | m_Phases |
Additional Inherited Members | |
Protected Attributes inherited from itk::CSVFileReaderBase | |
| std::streamoff | m_EndOfColumnHeadersLine {} |
| char | m_FieldDelimiterCharacter {} |
| std::string | m_FileName {} |
| bool | m_HasColumnHeaders {} |
| bool | m_HasRowHeaders {} |
| std::ifstream | m_InputStream {} |
| std::string | m_Line {} |
| char | m_StringDelimiterCharacter {} |
| bool | m_UseStringDelimiterCharacter {} |
Protected Attributes inherited from itk::LightObject | |
| std::atomic< int > | m_ReferenceCount {} |
| using rtk::PhaseReader::ConstPointer = itk::SmartPointer<const Self> |
Definition at line 44 of file rtkPhaseReader.h.
Definition at line 43 of file rtkPhaseReader.h.
| using rtk::PhaseReader::Self = PhaseReader |
Standard class type alias
Definition at line 41 of file rtkPhaseReader.h.
Definition at line 42 of file rtkPhaseReader.h.
| using rtk::PhaseReader::ValueType = float |
The value type of the dataset.
Definition at line 53 of file rtkPhaseReader.h.
|
protected |
Referenced by GetNameOfClass().
|
overrideprotecteddefault |
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::LightProcessObject.
|
virtual |
Run-time type information (and related methods)
Reimplemented from itk::CSVFileReaderBase.
References PhaseReader().
|
virtual |
Aliased to the GetDataFrameObject() method to be consistent with the rest of the pipeline
|
static |
Standard New method.
|
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.
|
overrideprotectedvirtual |
Print the reader.
Reimplemented from itk::CSVFileReaderBase.
|
virtual |
Aliased to the Parse() method to be consistent with the rest of the pipeline.
|
private |
Definition at line 79 of file rtkPhaseReader.h.