SIVIC API  0.9.26
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
svkLCModelCoordReader Class Reference

#include <svkLCModelCoordReader.h>

Inheritance diagram for svkLCModelCoordReader:
svkLCModelReader svkImageReader2

Public Member Functions

 vtkTypeMacro (svkLCModelCoordReader, svkLCModelReader)
 
virtual svkImageReader2::ReaderType GetReaderType ()
 
virtual int CanReadFile (const char *fname)
 
void SetDataStartDelimiter (string delimiterString)
 
- Public Member Functions inherited from svkLCModelReader
 vtkTypeMacro (svkLCModelReader, svkImageReader2)
 
virtual const char * GetDescriptiveName ()
 
void SetMRSFileName (string mrsFileName)
 
void SetMetName (string metName)
 
- Public Member Functions inherited from svkImageReader2
 vtkTypeMacro (svkImageReader2, vtkImageReader2)
 
svkImageDataGetOutput ()
 
svkImageDataGetOutput (int)
 
svkDcmHeaderGetDcmHeader (const char *fileName)
 
void OnlyReadOneInputFile ()
 
void OnlyGlobFiles ()
 
void GlobFileNames ()
 
void OnlyReadHeader (bool onlyReadHeader)
 

Static Public Member Functions

static svkLCModelCoordReaderNew ()
 
- Static Public Member Functions inherited from svkImageReader2
static string StripWhite (string in)
 
static string RemoveDelimFromDate (string *slashDate, char delimChar= '/')
 
static string GetFileRoot (const char *fname)
 
static string GetFileExtension (const char *fname)
 
static string GetFilePath (const char *fname)
 
static string GetFileNameWithoutPath (const char *fname)
 
static long GetFileSize (ifstream *fs)
 

Protected Member Functions

 svkLCModelCoordReader ()
 
 ~svkLCModelCoordReader ()
 
virtual int FillOutputPortInformation (int port, vtkInformation *info)
 
virtual void ExecuteDataWithInformation (vtkDataObject *output, vtkInformation *outInfo)
 
- Protected Member Functions inherited from svkLCModelReader
 svkLCModelReader ()
 
 ~svkLCModelReader ()
 
virtual int FillInputPortInformation (int port, vtkInformation *info)
 
virtual void ExecuteInformation ()
 
virtual
svkDcmHeader::DcmPixelDataFormat 
GetFileType ()
 
string GetSeriesDescription ()
 
void GetVoxelIndexFromFileName (string lcmodelFileName, int *col, int *row, int *slice)
 
virtual string GetFileSeriesDescription (string fileName)
 
- Protected Member Functions inherited from svkImageReader2
 svkImageReader2 ()
 
 ~svkImageReader2 ()
 
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 ()
 
void SetReadLength (int length)
 

Additional Inherited Members

- Public Types inherited from svkImageReader2
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
}
 
- Protected Attributes inherited from svkLCModelReader
string metName
 
- Protected Attributes inherited from svkImageReader2
vtkDataArray * dataArray
 
bool readOneInputFile
 
bool onlyGlobFiles
 
bool onlyReadHeader
 

Constructor & Destructor Documentation

svkLCModelCoordReader ( )
protected
~svkLCModelCoordReader ( )
protected

Member Function Documentation

int CanReadFile ( const char *  fname)
virtual

Check to see if the extension indicates a UCSF IDF file. If so, try to open the file for reading. If that works, then return a success code. Return Values: 1 if can read the file, 0 otherwise.

void ExecuteDataWithInformation ( vtkDataObject *  output,
vtkInformation *  outInfo 
)
protectedvirtual
int FillOutputPortInformation ( int  port,
vtkInformation *  info 
)
protectedvirtual

Output is fitted spectra

Reimplemented from svkImageReader2.

virtual svkImageReader2::ReaderType GetReaderType ( )
inlinevirtual
static svkLCModelCoordReader* New ( )
static
void SetDataStartDelimiter ( string  delimiterString)

Set the string to search for within the output "coord" files. The data to load will follow the specfied string, e.g. "phased data points follow" "fit to the data follow"

vtkTypeMacro ( svkLCModelCoordReader  ,
svkLCModelReader   
)

The documentation for this class was generated from the following files: