VTK
|
read an SLC volume file. More...
#include <vtkSLCReader.h>
Public Types | |
typedef vtkImageReader2 | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkSLCReader * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
int | CanReadFile (const char *fname) |
virtual void | SetFileName (const char *) |
virtual char * | GetFileName () |
virtual int | GetError () |
virtual const char * | GetFileExtensions () |
virtual const char * | GetDescriptiveName () |
Static Public Member Functions | |
static vtkSLCReader * | New () |
static int | IsTypeOf (const char *type) |
static vtkSLCReader * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkSLCReader () | |
~vtkSLCReader () | |
virtual void | ExecuteDataWithInformation (vtkDataObject *, vtkInformation *) |
virtual int | RequestInformation (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
unsigned char * | Decode8BitData (unsigned char *in_ptr, int size) |
Protected Attributes | |
int | Error |
read an SLC volume file.
vtkSLCReader reads an SLC file and creates a structured point dataset. The size of the volume and the data spacing is set from the SLC file header.
Definition at line 36 of file vtkSLCReader.h.
Reimplemented from vtkImageReader2.
Definition at line 40 of file vtkSLCReader.h.
vtkSLCReader::vtkSLCReader | ( | ) | [protected] |
vtkSLCReader::~vtkSLCReader | ( | ) | [protected] |
static vtkSLCReader* vtkSLCReader::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkImageReader2.
static int vtkSLCReader::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkImageReader2.
virtual int vtkSLCReader::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkImageReader2.
static vtkSLCReader* vtkSLCReader::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkImageReader2.
virtual vtkObjectBase* vtkSLCReader::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkImageReader2.
vtkSLCReader* vtkSLCReader::NewInstance | ( | ) | const |
Reimplemented from vtkImageReader2.
void vtkSLCReader::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkImageReader2.
virtual void vtkSLCReader::SetFileName | ( | const char * | ) | [virtual] |
Set/Get the name of the file to read.
Reimplemented from vtkImageReader2.
virtual char* vtkSLCReader::GetFileName | ( | ) | [virtual] |
Set/Get the name of the file to read.
Reimplemented from vtkImageReader2.
virtual int vtkSLCReader::GetError | ( | ) | [virtual] |
Was there an error on the last read performed?
int vtkSLCReader::CanReadFile | ( | const char * | fname | ) |
Is the given file an SLC file?
virtual const char* vtkSLCReader::GetFileExtensions | ( | ) | [inline, virtual] |
virtual const char* vtkSLCReader::GetDescriptiveName | ( | ) | [inline, virtual] |
virtual void vtkSLCReader::ExecuteDataWithInformation | ( | vtkDataObject * | output, |
vtkInformation * | outInfo | ||
) | [protected, virtual] |
This is a convenience method that is implemented in many subclasses instead of RequestData. It is called by RequestData.
Reimplemented from vtkImageReader2.
virtual int vtkSLCReader::RequestInformation | ( | vtkInformation * | request, |
vtkInformationVector ** | inputVector, | ||
vtkInformationVector * | outputVector | ||
) | [protected, virtual] |
Subclasses can reimplement this method to collect information from their inputs and set information for their outputs.
Reimplemented from vtkImageReader2.
unsigned char* vtkSLCReader::Decode8BitData | ( | unsigned char * | in_ptr, |
int | size | ||
) | [protected] |
int vtkSLCReader::Error [protected] |
Definition at line 85 of file vtkSLCReader.h.