42 #ifndef SVK_GE_PFILE_MAPPER_H
43 #define SVK_GE_PFILE_MAPPER_H
46 #include <vtkImageData.h>
47 #include <vtkCallbackCommand.h>
56 #include <vtkStringArray.h>
94 map <
string, vector< string > >
pfMap,
135 virtual void InitSatBand(
float satRAS[3],
float translation);
149 void GetFOV(
float fov[3] );
155 bool AddDummy(
int offset,
int coilNum,
int timePt );
156 void GetDcos(
double dcos[3][3] );
161 virtual void GetXYZIndices(
int dataIndex,
int* x,
int* y,
int* z);
181 virtual void InitSpecTuple(
int numFreqPts,
int freqPt,
float* tuple, vtkDataArray* dataArray );
192 map <string, vector< string > >
pfMap;
219 #endif //SVK_GE_PFILE_MAPPER_H
virtual void GetNumVoxels(int numVoxels[3])
Definition: svkGEPFileMapper.cc:673
virtual void InitPerFrameFunctionalGroupMacros()
Definition: svkGEPFileMapper.cc:442
Definition: svkGEPFileMapper.h:90
virtual float GetPPMRef()
Definition: svkGEPFileMapper.cc:1845
virtual int GetNumTimePoints()
Definition: svkGEPFileMapper.cc:2140
virtual void GetVoxelSpacing(double voxelSpacing[3])
Definition: svkGEPFileMapper.cc:568
svkDcmHeader * dcmHeader
Definition: svkGEPFileMapper.h:194
svkGEPFileMapper()
Definition: svkGEPFileMapper.cc:63
Definition: svkMrsImageData.h:66
virtual void InitMREchoMacro()
Definition: svkGEPFileMapper.cc:1305
void RedimensionModifiedSVData(svkImageData *data)
Definition: svkGEPFileMapper.cc:2863
void InitEnhancedGeneralEquipmentModule()
Definition: svkGEPFileMapper.cc:377
int swapBytes
Definition: svkGEPFileMapper.h:200
virtual bool WasIndexSampled(int xIndex, int yIndex, int zIndex)
Definition: svkGEPFileMapper.cc:2326
virtual void InitPlaneOrientationMacro()
Definition: svkGEPFileMapper.cc:869
void SetPfileName(string pfileName)
Definition: svkGEPFileMapper.cc:3043
Definition: svkGEPFileMapper.h:83
virtual int GetNumDummyScans()
Definition: svkGEPFileMapper.cc:2233
virtual void InitK0Sampled(svkDcmHeader *hdr)
Definition: svkGEPFileMapper.cc:1988
virtual void InitializeDcmHeader(map< string, vector< string > > pfMap, svkDcmHeader *header, float pfileVersion, int swapBytes, map< string, void * > inputArgs)
Definition: svkGEPFileMapper.cc:92
float pfileVersion
Definition: svkGEPFileMapper.h:195
void UpdateProgress(double amount)
Definition: svkGEPFileMapper.cc:3037
float GetHeaderValueAsFloat(string key)
Definition: svkGEPFileMapper.cc:2081
virtual void InitMRSpectroscopyModule()
Definition: svkGEPFileMapper.cc:1638
string GetProgressText()
Definition: svkGEPFileMapper.cc:3031
virtual void InitMRTransmitCoilMacro()
Definition: svkGEPFileMapper.cc:1426
map< string, vector< string > > pfMap
Definition: svkGEPFileMapper.h:192
virtual void InitMRSpatialSaturationMacro()
Definition: svkGEPFileMapper.cc:1472
virtual void InitMRAveragesMacro()
Definition: svkGEPFileMapper.cc:1441
virtual int GetNumberSuppressedAcquisitions()
Definition: svkGEPFileMapper.cc:2945
virtual void InitSatBandsFromXML()
Definition: svkGEPFileMapper.cc:1528
void SetCellSpectrum(vtkImageData *data, bool wasSampled, int offset, int index, int x, int y, int z, int timePoint=0, int channel=0)
Definition: svkGEPFileMapper.cc:2507
virtual float GetFrequencyOffset()
Definition: svkGEPFileMapper.cc:1830
svkMRSIOD * iod
Definition: svkGEPFileMapper.h:201
virtual void InitSharedFunctionalGroupMacros()
Definition: svkGEPFileMapper.cc:423
virtual void InitSpecTuple(int numFreqPts, int freqPt, float *tuple, vtkDataArray *dataArray)
Definition: svkGEPFileMapper.cc:2562
void GetDcos(double dcos[3][3])
Definition: svkGEPFileMapper.cc:697
Definition: svkGEPFileMapper.h:85
bool AddDummy(int offset, int coilNum, int timePt)
Definition: svkGEPFileMapper.cc:2188
virtual void InitMRSpectroscopyFOVGeometryMacro()
Definition: svkGEPFileMapper.cc:998
svkDcmHeader::DcmDataOrderingDirection dataSliceOrder
Definition: svkGEPFileMapper.h:197
virtual void InitSatBand(float satRAS[3], float translation)
Definition: svkGEPFileMapper.cc:1541
virtual void ReadData(vtkStringArray *pFileNames, svkImageData *data)
Definition: svkGEPFileMapper.cc:2338
virtual void InitMRReceiveCoilMacro()
Definition: svkGEPFileMapper.cc:1328
void InitGeneralSeriesModule()
Definition: svkGEPFileMapper.cc:304
void ModifyForPatientEntry(double dcos[3][3])
Definition: svkGEPFileMapper.cc:750
void InitFrameOfReferenceModule()
Definition: svkGEPFileMapper.cc:338
int GetNumFrames()
Definition: svkGEPFileMapper.cc:2270
virtual void ReorderEPSI(svkMrsImageData *data)
Definition: svkGEPFileMapper.cc:2709
virtual void InitMRSpectroscopyPulseSequenceModule()
Definition: svkGEPFileMapper.cc:1886
Definition: svkGEPFileMapper.h:79
static svkGEPFileMapper * New()
virtual string GetVolumeLocalizationTechnique()
Definition: svkGEPFileMapper.cc:1810
virtual void InitVolumeLocalizationSeq()
Definition: svkGEPFileMapper.cc:125
string GetNucleus()
Definition: svkGEPFileMapper.cc:1786
virtual void InitMRTimingAndRelatedParametersMacro()
Definition: svkGEPFileMapper.cc:985
void SetProgressText(string progressText)
Definition: svkGEPFileMapper.cc:3022
virtual void InitPixelMeasuresMacro()
Definition: svkGEPFileMapper.cc:489
static string ConvertGEDateToDICOM(string geDate)
Definition: svkGEPFileMapper.cc:542
virtual void ModifyBehavior(svkImageData *data)
Definition: svkGEPFileMapper.cc:2572
bool GetInputArgStringValue(string argName, string *argValue)
Definition: svkGEPFileMapper.cc:2976
bool Is2D()
Definition: svkGEPFileMapper.cc:819
Definition: svkGEPFileMapper.h:87
Definition: svkGEPFileMapper.h:77
virtual bool IsChopOn()
Definition: svkGEPFileMapper.cc:848
virtual void InitMRModifierMacro()
Definition: svkGEPFileMapper.cc:1316
bool GetInputArgBoolValue(string argName, bool *argValue)
Definition: svkGEPFileMapper.cc:2999
string GetHeaderValueAsString(string key)
Definition: svkGEPFileMapper.cc:2097
virtual void InitMultiFrameFunctionalGroupsModule()
Definition: svkGEPFileMapper.cc:400
int GetNumCoils()
Definition: svkGEPFileMapper.cc:2106
bool IsSwapOn()
Definition: svkGEPFileMapper.cc:804
int GetHeaderValueAsInt(string key)
Definition: svkGEPFileMapper.cc:2048
int GetNumVoxelsInVol()
Definition: svkGEPFileMapper.cc:2288
Definition: svkGEPFileMapper.h:81
bool isInputArgSet(string argName)
Definition: svkGEPFileMapper.cc:2957
void GetFOV(float fov[3])
Definition: svkGEPFileMapper.cc:599
int * specData
Definition: svkGEPFileMapper.h:196
vtkTypeMacro(svkGEPFileMapper, vtkObject)
string pfileName
Definition: svkGEPFileMapper.h:212
~svkGEPFileMapper()
Definition: svkGEPFileMapper.cc:81
map< string, void * > inputArgs
Definition: svkGEPFileMapper.h:199
virtual void InitMRSpectroscopyFrameTypeMacro()
Definition: svkGEPFileMapper.cc:926
virtual void InitMRSpectroscopyDataModule()
Definition: svkGEPFileMapper.cc:1933
virtual int GetNumKSpacePoints()
Definition: svkGEPFileMapper.cc:2306
virtual void GetSelBoxCenter(double selBoxCenter[3])
Definition: svkGEPFileMapper.cc:194
MapperBehavior
Definition: svkGEPFileMapper.h:76
virtual int GetNumberUnsuppressedAcquisitions()
Definition: svkGEPFileMapper.cc:2933
Definition: svkImageData.h:107
Definition: svkGEPFileMapper.h:65
Definition: svkMRSIOD.h:61
virtual int GetNumEPSIAcquisitions()
Definition: svkGEPFileMapper.cc:2159
void InitGeneralEquipmentModule()
Definition: svkGEPFileMapper.cc:355
string progressText
Definition: svkGEPFileMapper.h:191
virtual void GetSelBoxSize(double selBoxSize[3])
Definition: svkGEPFileMapper.cc:211
void InitPatientModule()
Definition: svkGEPFileMapper.cc:260
virtual void GetCenterFromRawFile(double *center)
Definition: svkGEPFileMapper.cc:2031
virtual void GetXYZIndices(int dataIndex, int *x, int *y, int *z)
Definition: svkGEPFileMapper.cc:2481
void InitGeneralStudyModule()
Definition: svkGEPFileMapper.cc:284
int chopVal
Definition: svkGEPFileMapper.h:198
long long int GetHeaderValueAsLongInt(string key)
Definition: svkGEPFileMapper.cc:2065
double progress
Definition: svkGEPFileMapper.h:202
virtual void InitAcquisitionContextModule()
Definition: svkGEPFileMapper.cc:1630