43 #ifndef SVK_QUANTIFY_METABOLITES_H
44 #define SVK_QUANTIFY_METABOLITES_H
47 #include <vtkObject.h>
48 #include <vtkObjectFactory.h>
49 #include <vtkInformation.h>
82 void SetXMLFileName( vtkstd::string xmlFileName );
83 vtkstd::string GetXMLFileName( );
85 void SetVerbose(
bool isVerbose );
86 vtkstd::vector< svkMriImageData* >* GetMetMaps();
87 void LimitToSelectedVolume(
float fraction = 0.5001);
88 vtkstd::vector< vtkstd::vector< vtkstd::string > > GetRegionNameVector();
89 int GetIntFromString(vtkstd::string stringVal );
90 float GetFloatFromString(vtkstd::string stringVal );
91 void ModifyRegion(
int regionID,
float peakPPM,
float widthPPM );
92 static void WriteDefaultXMLTemplate(
string fileName,
bool clobber =
false );
93 static string GetDefaultXMLFileName();
95 static bool ShouldUpgradeXML();
96 static string GetOldVersionName();
97 static void SaveOldVersion();
105 virtual int RequestInformation(
106 vtkInformation* request,
107 vtkInformationVector** inputVector,
108 vtkInformationVector* outputVector
110 virtual int RequestData(
111 vtkInformation* request,
112 vtkInformationVector** inputVector,
113 vtkInformationVector* outputVector
117 virtual int FillInputPortInformation(
int vtkNotUsed(port), vtkInformation* info );
118 virtual int FillOutputPortInformation(
int vtkNotUsed(port), vtkInformation* info );
119 static void GetCurrentXMLVersion(
string* v1,
string* v2,
string* v3);
125 virtual void UpdateProvenance();
127 void GenerateRegionMaps();
128 void GenerateRatioMaps();
129 void GenerateZScoreMaps();
130 string ReplaceSlashesAndWhiteSpace( vtkstd::string inString);
131 void GetNumeratorAndDenominatorImages(
132 vtkXMLDataElement* ratioXML,
140 vtkstd::string xmlFileName;
141 vtkstd::vector< svkMriImageData* > metMapVector;
142 float useSelectedVolumeFraction;
143 short* selectedVolumeMask;
144 vtkXMLDataElement* mrsXML;
145 vtkXMLDataElement* applicationXML;
150 vtkstd::vector < vtkstd::vector< vtkstd::string > > regionVector;
160 #endif //SVK_QUANTIFY_METABOLITES_H
AnatomyType
Definition: svkTypes.h:63
Definition: svkImageAlgorithm.h:70
Definition: svkImageData.h:107