#include <itkPhilipsPAR.h>
Read parameters from a Philips PAR file.
Definition at line 221 of file itkPhilipsPAR.h.
Inheritance diagram for itk::PhilipsPAR:
Collaboration diagram for itk::PhilipsPAR:Public Member Functions | |
| virtual::itk::LightObject::Pointer | CreateAnother () const |
| bool | GetDiffusionGradientOrientationAndBValues (std::string parFile, PARDiffusionValuesContainer *gradientValues, PARBValuesContainer *bValues) |
| PARImageTypeScanSequenceVector | GetImageTypesScanningSequence (std::string parFile) |
| bool | GetLabelTypesASL (std::string parFile, PARLabelTypesASLContainer *labelTypes) |
| std::string | GetLineNumber (std::string file, int lineNum) |
| virtual const char * | GetNameOfClass () const |
| bool | GetRECRescaleValues (std::string parFile, PARRescaleValuesContainer *rescaleValues, int scan_sequence) |
| PARSliceIndexImageTypeVector | GetRECSliceIndexImageTypes (std::string parFile) |
| PARSliceIndexScanSequenceVector | GetRECSliceIndexScanningSequence (std::string parFile) |
| void | ReadPAR (std::string parFile, struct par_parameter *pPar) |
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 | |
| PhilipsPAR () | |
| void | PrintSelf (std::ostream &os, Indent indent) const override |
| ~PhilipsPAR () override | |
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 Member Functions | |
| std::string | GetGeneralInfoString (std::string file, int lineNum) |
| int | GetPARVersion (std::string parFile) |
Private Attributes | |
| std::string | m_FileName {} |
| std::vector< std::string > | m_PARFileLines {} |
Additional Inherited Members | |
Protected Attributes inherited from itk::LightObject | |
| std::atomic< int > | m_ReferenceCount {} |
| using itk::PhilipsPAR::PARBValuesContainer = VectorContainer<unsigned int, double> |
Definition at line 289 of file itkPhilipsPAR.h.
| using itk::PhilipsPAR::PARDiffusionValues = vnl_vector_fixed<double, PAR_DIFFUSION_VALUES_SIZE> |
Definition at line 287 of file itkPhilipsPAR.h.
| using itk::PhilipsPAR::PARDiffusionValuesContainer = VectorContainer<unsigned int, PARDiffusionValues> |
Definition at line 288 of file itkPhilipsPAR.h.
| using itk::PhilipsPAR::PARImageTypeScanSequence = std::pair<int, int> |
Definition at line 263 of file itkPhilipsPAR.h.
| using itk::PhilipsPAR::PARImageTypeScanSequenceVector = std::vector<PARImageTypeScanSequence> |
Definition at line 264 of file itkPhilipsPAR.h.
| using itk::PhilipsPAR::PARLabelTypesASLContainer = VectorContainer<unsigned int, int> |
Definition at line 296 of file itkPhilipsPAR.h.
| using itk::PhilipsPAR::PARRescaleValues = vnl_vector_fixed<double, PAR_RESCALE_VALUES_SIZE> |
Definition at line 273 of file itkPhilipsPAR.h.
| using itk::PhilipsPAR::PARRescaleValuesContainer = VectorContainer<unsigned int, PARRescaleValues> |
Definition at line 274 of file itkPhilipsPAR.h.
| using itk::PhilipsPAR::PARSliceIndexImageType = std::pair<int, int> |
Definition at line 247 of file itkPhilipsPAR.h.
| using itk::PhilipsPAR::PARSliceIndexImageTypeVector = std::vector<PARSliceIndexImageType> |
Definition at line 248 of file itkPhilipsPAR.h.
| using itk::PhilipsPAR::PARSliceIndexScanSequence = std::pair<int, int> |
Definition at line 255 of file itkPhilipsPAR.h.
| using itk::PhilipsPAR::PARSliceIndexScanSequenceVector = std::vector<PARSliceIndexScanSequence> |
Definition at line 256 of file itkPhilipsPAR.h.
| using itk::PhilipsPAR::Pointer = SmartPointer<Self> |
Definition at line 229 of file itkPhilipsPAR.h.
| using itk::PhilipsPAR::Self = PhilipsPAR |
Standard class type aliases.
Definition at line 227 of file itkPhilipsPAR.h.
Definition at line 228 of file itkPhilipsPAR.h.
|
protected |
Referenced by GetNameOfClass().
|
overrideprotected |
|
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.
| bool itk::PhilipsPAR::GetDiffusionGradientOrientationAndBValues | ( | std::string | parFile, |
| PARDiffusionValuesContainer * | gradientValues, | ||
| PARBValuesContainer * | bValues ) |
|
private |
Function used internally to get info string at top of PAR.
| PARImageTypeScanSequenceVector itk::PhilipsPAR::GetImageTypesScanningSequence | ( | std::string | parFile | ) |
| bool itk::PhilipsPAR::GetLabelTypesASL | ( | std::string | parFile, |
| PARLabelTypesASLContainer * | labelTypes ) |
| std::string itk::PhilipsPAR::GetLineNumber | ( | std::string | file, |
| int | lineNum ) |
|
virtual |
Reimplemented from itk::LightProcessObject.
References PhilipsPAR().
|
private |
Function used internally to get PAR version.
| bool itk::PhilipsPAR::GetRECRescaleValues | ( | std::string | parFile, |
| PARRescaleValuesContainer * | rescaleValues, | ||
| int | scan_sequence ) |
| PARSliceIndexImageTypeVector itk::PhilipsPAR::GetRECSliceIndexImageTypes | ( | std::string | parFile | ) |
| PARSliceIndexScanSequenceVector itk::PhilipsPAR::GetRECSliceIndexScanningSequence | ( | std::string | parFile | ) |
|
static |
Method for creation through the object factory.
|
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::LightProcessObject.
| void itk::PhilipsPAR::ReadPAR | ( | std::string | parFile, |
| struct par_parameter * | pPar ) |
|
private |
Filename to read.
Definition at line 320 of file itkPhilipsPAR.h.
|
private |
Vector of strings for storing each line of PAR file.
Definition at line 323 of file itkPhilipsPAR.h.