#include <svkImageReader2.h>
|
enum | ReaderType {
UNDEFINED = -1,
DICOM_MRS =0,
DICOM_MRI,
DICOM_ENHANCED_MRI,
DICOM_SEGMENTATION,
DICOM_RAW,
SIEMENS_RDA,
VARIAN_FID,
VARIAN_FDF,
GE_PFILE,
GE_SDBM,
GE_POSTAGE_STAMP,
GE_SIGNA_LX2,
GE_SIGNA_5X,
LC_MODEL_COORD,
LC_MODEL_CSV,
LC_MODEL_TABLE,
VARIABLE_FLIP_DAT,
BRUKER_MRS,
PHILIPS_S,
DDF,
IDF,
LAST_TYPE = IDF
} |
|
|
| svkImageReader2 () |
|
| ~svkImageReader2 () |
|
virtual int | FillOutputPortInformation (int port, vtkInformation *info) |
|
virtual
svkDcmHeader::DcmPixelDataFormat | GetFileType ()=0 |
|
void | SetupOutputInformation () |
|
void | SetupOutputExtent () |
|
void | SetupOutputScalarData () |
|
virtual void | ReadLine (ifstream *hdr, istringstream *iss) |
|
void | ReadLineIgnore (ifstream *hdr, istringstream *iss, char delim) |
|
string | ReadLineSubstr (ifstream *hdr, istringstream *iss, int start, int stop) |
|
string | ReadLineValue (ifstream *hdr, istringstream *iss, char delim) |
|
int | ReadLineKeyValue (ifstream *hdr, istringstream *iss, char delim, string *key, string *value) |
|
virtual void | SetProvenance () |
|
virtual string | GetFileSeriesDescription (string fileName) |
|
void | SetReadLength (int length) |
|
Enumerator |
---|
UNDEFINED |
|
DICOM_MRS |
|
DICOM_MRI |
|
DICOM_ENHANCED_MRI |
|
DICOM_SEGMENTATION |
|
DICOM_RAW |
|
SIEMENS_RDA |
|
VARIAN_FID |
|
VARIAN_FDF |
|
GE_PFILE |
|
GE_SDBM |
|
GE_POSTAGE_STAMP |
|
GE_SIGNA_LX2 |
|
GE_SIGNA_5X |
|
LC_MODEL_COORD |
|
LC_MODEL_CSV |
|
LC_MODEL_TABLE |
|
VARIABLE_FLIP_DAT |
|
BRUKER_MRS |
|
PHILIPS_S |
|
DDF |
|
IDF |
|
LAST_TYPE |
|
int FillOutputPortInformation |
( |
int |
port, |
|
|
vtkInformation * |
info |
|
) |
| |
|
protectedvirtual |
Reimplemented in svkGEPFileReader, svkSiemensRdaReader, svkIdfVolumeReader, svkGESigna5XReader, svkFdfVolumeReader, svkVarianFidReader, svkPhilipsSReader, svkDcmEnhancedVolumeReader, svkDdfVolumeReader, svkBrukerDCMMRSReader, svkSdbmVolumeReader, svkDcmRawDataReader, svkDcmMriVolumeReader, svkDcmMrsVolumeReader, svkGEPostageStampReader, svkDcmSegmentationVolumeReader, svkLCModelCoordReader, svkLCModelCSVReader, and svkLCModelTableReader.
string GetFileExtension |
( |
const char * |
fname | ) |
|
|
static |
string GetFileNameWithoutPath |
( |
const char * |
fname | ) |
|
|
static |
string GetFilePath |
( |
const char * |
fname | ) |
|
|
static |
string GetFileRoot |
( |
const char * |
fname | ) |
|
|
static |
string GetFileSeriesDescription |
( |
string |
fileName | ) |
|
|
protectedvirtual |
long GetFileSize |
( |
ifstream * |
fs | ) |
|
|
static |
Implemented in svkGEPFileReader, svkVariableFlipDatReader, svkSiemensRdaReader, svkIdfVolumeReader, svkGESigna5XReader, svkFdfVolumeReader, svkDdfVolumeReader, svkSdbmVolumeReader, svkBrukerDCMMRSReader, svkDcmEnhancedVolumeReader, svkDcmMriVolumeReader, svkDcmMrsVolumeReader, svkGEPostageStampReader, svkDcmSegmentationVolumeReader, and svkLCModelReader.
Referenced by svkImageReader2::SetupOutputScalarData().
Referenced by svkGEPFileReader::Deidentify(), svkLCModelCSVReader::ExecuteDataWithInformation(), svkLCModelTableReader::ExecuteDataWithInformation(), svkLCModelCoordReader::ExecuteDataWithInformation(), svkSdbmVolumeReader::ExecuteDataWithInformation(), svkDdfVolumeReader::ExecuteDataWithInformation(), svkPhilipsSReader::ExecuteDataWithInformation(), svkVarianFidReader::ExecuteDataWithInformation(), svkFdfVolumeReader::ExecuteDataWithInformation(), svkIdfVolumeReader::ExecuteDataWithInformation(), svkSiemensRdaReader::ExecuteDataWithInformation(), svkGEPFileReader::ExecuteDataWithInformation(), svkDcmVolumeReader::ExecuteInformation(), svkDcmSegmentationVolumeReader::ExecuteInformation(), svkDdfVolumeReader::ExecuteInformation(), svkDcmEnhancedVolumeReader::ExecuteInformation(), svkGESigna5XReader::ExecuteInformation(), svkDcmRawDataReader::ExtractFiles(), svkImageReader2::GetDcmHeader(), svkImageReader2::GetFileSeriesDescription(), svkDcmMriVolumeReader::GetFileType(), svkF2C::GetIDFHeader(), svkDcmEnhancedVolumeReader::GetPixelTransform(), svkGEPostageStampReader::InitDcmHeader(), svkDcmMriVolumeReader::InitDcmHeader(), svkBrukerDCMMRSReader::InitDcmHeader(), svkDcmVolumeReader::InitDcmHeader(), svkGESigna5XReader::InitDcmHeader(), svkGESigna5XReader::InitEnhancedGeneralEquipmentModule(), svkGESigna5XReader::InitEnhancedMRImageModule(), svkGESigna5XReader::InitGeneralEquipmentModule(), svkGESigna5XReader::InitGeneralSeriesModule(), svkGESigna5XReader::InitGeneralStudyModule(), svkImageAlgorithmPipeline::InitializeAlgorithmForTag(), svkGESigna5XReader::InitMRAveragesMacro(), svkGESigna5XReader::InitMREchoMacro(), svkGESigna5XReader::InitMRFOVGeometryMacro(), svkGESigna5XReader::InitMRImageAndSpectroscopyInstanceMacro(), svkGESigna5XReader::InitMRImageFrameTypeMacro(), svkGESigna5XReader::InitMRImagingModifierMacro(), svkGESigna5XReader::InitMRModifierMacro(), svkGESigna5XReader::InitMRPulseSequenceModule(), svkGESigna5XReader::InitMRReceiveCoilMacro(), svkGESigna5XReader::InitMRTimingAndRelatedParametersMacro(), svkGESigna5XReader::InitMRTransmitCoilMacro(), svkGESigna5XReader::InitMultiFrameFunctionalGroupsModule(), svkGESigna5XReader::InitPatientModule(), svkGESigna5XReader::InitPerFrameFunctionalGroupMacros(), svkGESigna5XReader::InitPixelMeasuresMacro(), svkGESigna5XReader::InitPixelValueTransformationMacro(), svkGESigna5XReader::InitPlaneOrientationMacro(), svkDcmVolumeReader::InitSliceOrder(), svkDcmEnhancedVolumeReader::IsDataFloatingPoint(), svkDataModel::LoadFile(), svkAlgorithmPortMapper::SetMRImageInputPortValue(), svkAlgorithmPortMapper::SetMRSImageInputPortValue(), svkImageReader2::SetProvenance(), svkGEPFileReader::SetProvenance(), svkImageReader2::SetupOutputExtent(), svkImageReader2::SetupOutputInformation(), and svkImageReader2::SetupOutputScalarData().
Implemented in svkGEPFileReader, svkVariableFlipDatReader, svkSiemensRdaReader, svkGESigna5XReader, svkIdfVolumeReader, svkFdfVolumeReader, svkGESignaLX2Reader, svkVarianFidReader, svkPhilipsSReader, svkDdfVolumeReader, svkBrukerDCMMRSReader, svkSdbmVolumeReader, svkDcmEnhancedVolumeReader, svkDcmMriVolumeReader, svkDcmMrsVolumeReader, svkDcmRawDataReader, svkGEPostageStampReader, svkDcmSegmentationVolumeReader, svkLCModelCoordReader, svkLCModelCSVReader, and svkLCModelTableReader.
Referenced by svkImageReader2::GetFileSeriesDescription().
void OnlyReadHeader |
( |
bool |
onlyReadHeader | ) |
|
void OnlyReadOneInputFile |
( |
| ) |
|
void ReadLine |
( |
ifstream * |
hdr, |
|
|
istringstream * |
iss |
|
) |
| |
|
protectedvirtual |
void ReadLineIgnore |
( |
ifstream * |
hdr, |
|
|
istringstream * |
iss, |
|
|
char |
delim |
|
) |
| |
|
protected |
Utility function to read a single line from the volume file. and ignore all characters up to the specified delimiting character.
References svkImageReader2::ReadLine().
int ReadLineKeyValue |
( |
ifstream * |
hdr, |
|
|
istringstream * |
iss, |
|
|
char |
delim, |
|
|
string * |
key, |
|
|
string * |
value |
|
) |
| |
|
protected |
string ReadLineSubstr |
( |
ifstream * |
hdr, |
|
|
istringstream * |
iss, |
|
|
int |
start, |
|
|
int |
stop |
|
) |
| |
|
protected |
string ReadLineValue |
( |
ifstream * |
hdr, |
|
|
istringstream * |
iss, |
|
|
char |
delim |
|
) |
| |
|
protected |
string RemoveDelimFromDate |
( |
string * |
slashDate, |
|
|
char |
delimChar = '/' |
|
) |
| |
|
static |
void SetReadLength |
( |
int |
length | ) |
|
|
protected |
void SetupOutputExtent |
( |
| ) |
|
|
protected |
void SetupOutputInformation |
( |
| ) |
|
|
protected |
Use svkDcmHeader content to set up Output Information about the target svkImageData object.
References svkDcmHeader::GetDataDcos(), svkImageData::GetDcmHeader(), svkDcmHeader::GetOrigin(), svkImageReader2::GetOutput(), svkDcmHeader::GetPixelSize(), svkDcmHeader::GetPixelSpacing(), svkImageReader2::SetupOutputExtent(), and svkImageReader2::SetupOutputScalarData().
Referenced by svkGEPFileReader::ExecuteDataWithInformation(), svkDcmVolumeReader::ExecuteInformation(), svkSdbmVolumeReader::ExecuteInformation(), svkDdfVolumeReader::ExecuteInformation(), svkPhilipsSReader::ExecuteInformation(), svkVarianFidReader::ExecuteInformation(), svkFdfVolumeReader::ExecuteInformation(), svkGESigna5XReader::ExecuteInformation(), svkIdfVolumeReader::ExecuteInformation(), svkSiemensRdaReader::ExecuteInformation(), and svkGEPFileReader::ExecuteInformation().
void SetupOutputScalarData |
( |
| ) |
|
|
protected |
string StripWhite |
( |
string |
in | ) |
|
|
static |
The documentation for this class was generated from the following files: