dox/IO/vtkSLCReader.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00030
#ifndef __vtkSLCReader_h
00031
#define __vtkSLCReader_h
00032
00033
#include "vtkImageReader2.h"
00034
00035 class VTK_IO_EXPORT vtkSLCReader :
public vtkImageReader2
00036 {
00037
public:
00038
static vtkSLCReader *
New();
00039 vtkTypeRevisionMacro(vtkSLCReader,
vtkImageReader2);
00040
void PrintSelf(ostream& os,
vtkIndent indent);
00041
00043
00044 vtkSetStringMacro(FileName);
00045 vtkGetStringMacro(FileName);
00047
00049
00050 vtkGetMacro(Error,
int);
00052
00054
00055
int CanReadFile(
const char* fname);
00056
00057
00058 virtual const char*
GetFileExtensions()
00059 {
00060
return ".slc";
00061 }
00063
00065
00066 virtual const char*
GetDescriptiveName()
00067 {
00068
return "SLC";
00069 }
00071
00072
protected:
00073 vtkSLCReader();
00074 ~vtkSLCReader();
00075
00076
00077
virtual void ExecuteData(
vtkDataObject*);
00078
00079
00080
00081
00082
00083
void ExecuteInformation();
00084
00085
00086
unsigned char *Decode8BitData(
unsigned char *in_ptr,
int size );
00087 int Error;
00088
private:
00089 vtkSLCReader(
const vtkSLCReader&);
00090
void operator=(
const vtkSLCReader&);
00091 };
00092
00093
#endif
00094
00095