43 #ifndef SVK_IMAGE_READER_2_H
44 #define SVK_IMAGE_READER_2_H
47 #include <vtkImageReader2.h>
48 #include <vtkImageData.h>
124 virtual void ReadLine(ifstream* hdr, istringstream* iss);
164 virtual void InitDcmHeader() = 0;
174 #endif //SVK_IMAGE_READER_2_H
virtual svkImageReader2::ReaderType GetReaderType()=0
Definition: svkImageReader2.h:72
Definition: svkImageReader2.h:86
Definition: svkImageReader2.h:77
Definition: svkImageReader2.h:70
void SetupOutputInformation()
Definition: svkImageReader2.cc:265
void SetupOutputScalarData()
Definition: svkImageReader2.cc:355
svkImageData * GetOutput()
Definition: svkImageReader2.cc:416
vtkTypeMacro(svkImageReader2, vtkImageReader2)
Definition: svkImageReader2.h:75
Definition: svkImageReader2.h:60
Definition: svkImageReader2.h:73
Definition: svkImageReader2.h:71
static long GetFileSize(ifstream *fs)
Definition: svkImageReader2.cc:218
static string RemoveDelimFromDate(string *slashDate, char delimChar= '/')
Definition: svkImageReader2.cc:439
Definition: svkImageReader2.h:76
~svkImageReader2()
Definition: svkImageReader2.cc:88
Definition: svkImageReader2.h:78
ReaderType
Definition: svkImageReader2.h:67
Definition: svkImageReader2.h:83
virtual svkDcmHeader::DcmPixelDataFormat GetFileType()=0
static string GetFilePath(const char *fname)
Definition: svkImageReader2.cc:182
static string GetFileExtension(const char *fname)
Definition: svkImageReader2.cc:158
bool onlyReadHeader
Definition: svkImageReader2.h:157
bool readOneInputFile
Definition: svkImageReader2.h:155
Definition: svkImageReader2.h:68
Definition: svkImageReader2.h:88
void OnlyReadOneInputFile()
Definition: svkImageReader2.cc:110
Definition: svkImageReader2.h:84
Definition: svkImageReader2.h:85
int ReadLineKeyValue(ifstream *hdr, istringstream *iss, char delim, string *key, string *value)
Definition: svkImageReader2.cc:530
Definition: svkImageReader2.h:79
Definition: svkImageReader2.h:80
Definition: svkImageReader2.h:87
static string StripWhite(string in)
Definition: svkImageReader2.cc:234
void ReadLineIgnore(ifstream *hdr, istringstream *iss, char delim)
Definition: svkImageReader2.cc:497
Definition: svkImageReader2.h:69
string ReadLineSubstr(ifstream *hdr, istringstream *iss, int start, int stop)
Definition: svkImageReader2.cc:507
Definition: svkImageReader2.h:74
Definition: svkImageReader2.h:89
virtual void SetProvenance()
Definition: svkImageReader2.cc:618
Definition: svkImageReader2.h:81
void SetReadLength(int length)
Definition: svkImageReader2.cc:475
static string GetFileNameWithoutPath(const char *fname)
Definition: svkImageReader2.cc:200
vtkDataArray * dataArray
Definition: svkImageReader2.h:154
void OnlyGlobFiles()
Definition: svkImageReader2.cc:119
string ReadLineValue(ifstream *hdr, istringstream *iss, char delim)
Definition: svkImageReader2.cc:570
Definition: svkImageReader2.h:90
void GlobFileNames()
Definition: svkImageReader2.cc:641
bool onlyGlobFiles
Definition: svkImageReader2.h:156
void OnlyReadHeader(bool onlyReadHeader)
Definition: svkImageReader2.cc:628
svkImageReader2()
Definition: svkImageReader2.cc:64
virtual void ReadLine(ifstream *hdr, istringstream *iss)
Definition: svkImageReader2.cc:483
Definition: svkImageReader2.h:82
svkDcmHeader * GetDcmHeader(const char *fileName)
Definition: svkImageReader2.cc:608
Definition: svkImageData.h:107
void SetupOutputExtent()
Definition: svkImageReader2.cc:323
virtual int FillOutputPortInformation(int port, vtkInformation *info)
Definition: svkImageReader2.cc:406
virtual string GetFileSeriesDescription(string fileName)
Definition: svkImageReader2.cc:752
static string GetFileRoot(const char *fname)
Definition: svkImageReader2.cc:128