43 #ifndef SVK_METABOLITE_MAP_H
44 #define SVK_METABOLITE_MAP_H
47 #include <vtkObject.h>
48 #include <vtkObjectFactory.h>
49 #include <vtkInformation.h>
88 void SetSeriesDescription(vtkstd::string newSeriesDescription);
90 void SetZeroCopy(
bool zeroCopy);
91 void SetPeakPosPPM(
float peak_center_ppm );
92 void SetPeakWidthPPM(
float peak_width_ppm );
93 void SetAlgorithmToIntegrate();
94 void SetAlgorithmToPeakHeight();
95 void SetAlgorithmToMagPeakHeight();
96 void SetAlgorithmToLineWidth();
97 void SetAlgorithmToMagLineWidth();
98 void SetAlgorithmToMagIntegrate();
99 void SetAlgorithm( vtkstd::string algo );
100 void SetVerbose(
bool isVerbose );
101 void LimitToSelectedVolume(
float fraction = 0.5001);
102 short* GetSelectedVolumeMask();
105 static double GetIntegral(
float* specPtr,
int startPt,
int endPt);
106 static double GetMagIntegral(
float* specPtr,
int startPt,
int endPt);
107 static double GetPeakHt(
float* specPtr,
int startPt,
int endPt );
108 static double GetMagPeakHt(
float* specPtr,
int startPt,
int endPt );
116 virtual int RequestInformation(
117 vtkInformation* request,
118 vtkInformationVector** inputVector,
119 vtkInformationVector* outputVector
121 virtual int RequestData(
122 vtkInformation* request,
123 vtkInformationVector** inputVector,
124 vtkInformationVector* outputVector
128 virtual int FillInputPortInformation(
int vtkNotUsed(port), vtkInformation* info );
129 virtual int FillOutputPortInformation(
int vtkNotUsed(port), vtkInformation* info );
135 virtual void UpdateProvenance();
136 void RedimensionData();
137 void GetIntegrationPtRange(
int& startPt,
int& endPt);
139 float GetWidthInHz(
int startPt,
int endPt);
140 double GetMagLineWidth(
float* specPtr,
int startPt,
int endPt );
141 double GetLineWidth(
float* specPtr,
int startPt,
int endPt );
142 double GetMapVoxelValue(
float* specPtr,
int startPt,
int endPt);
146 vtkstd::string newSeriesDescription;
151 float useSelectedVolumeFraction;
152 short* quantificationMask;
161 #endif //SVK_METABOLITE_MAP_H
Definition: svkImageAlgorithm.h:70