VTK
|
Read nrrd files file system. More...
#include <vtkNrrdReader.h>
Public Types | |
typedef vtkImageReader | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkNrrdReader * | NewInstance () const |
virtual void | PrintSelf (ostream &os, vtkIndent indent) |
virtual int | CanReadFile (const char *filename) |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkNrrdReader * | SafeDownCast (vtkObjectBase *o) |
static vtkNrrdReader * | New () |
Protected Types | |
enum | { ENCODING_RAW, ENCODING_ASCII } |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkNrrdReader () | |
~vtkNrrdReader () | |
virtual int | RequestInformation (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
virtual int | RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
int | ReadHeaderInternal (vtkCharArray *headerBuffer) |
virtual int | ReadHeader () |
virtual int | ReadHeader (vtkCharArray *headerBuffer) |
virtual int | ReadDataAscii (vtkImageData *output) |
Protected Attributes | |
vtkStringArray * | DataFiles |
int | Encoding |
Read nrrd files file system.
@par Tests: @ref c2_vtk_t_vtkNrrdReader "vtkNrrdReader (Tests)"
Definition at line 46 of file vtkNrrdReader.h.
Reimplemented from vtkImageReader.
Reimplemented in vtkPNrrdReader.
Definition at line 49 of file vtkNrrdReader.h.
anonymous enum [protected] |
Definition at line 75 of file vtkNrrdReader.h.
vtkNrrdReader::vtkNrrdReader | ( | ) | [protected] |
vtkNrrdReader::~vtkNrrdReader | ( | ) | [protected] |
static int vtkNrrdReader::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 vtkImageReader.
Reimplemented in vtkPNrrdReader.
virtual int vtkNrrdReader::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 vtkImageReader.
Reimplemented in vtkPNrrdReader.
static vtkNrrdReader* vtkNrrdReader::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkImageReader.
Reimplemented in vtkPNrrdReader.
virtual vtkObjectBase* vtkNrrdReader::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkImageReader.
Reimplemented in vtkPNrrdReader.
vtkNrrdReader* vtkNrrdReader::NewInstance | ( | ) | const |
Reimplemented from vtkImageReader.
Reimplemented in vtkPNrrdReader.
static vtkNrrdReader* vtkNrrdReader::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkImageReader.
Reimplemented in vtkPNrrdReader.
virtual void vtkNrrdReader::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 vtkImageReader.
Reimplemented in vtkPNrrdReader.
virtual int vtkNrrdReader::CanReadFile | ( | const char * | filename | ) | [virtual] |
virtual int vtkNrrdReader::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 vtkImageReader.
virtual int vtkNrrdReader::RequestData | ( | vtkInformation * | request, |
vtkInformationVector ** | inputVector, | ||
vtkInformationVector * | outputVector | ||
) | [protected, virtual] |
This is called in response to a REQUEST_DATA request from the executive. Subclasses should override either this method or the ExecuteDataWithInformation method in order to generate data for their outputs. For images, the output arrays will already be allocated, so all that is necessary is to fill in the voxel values.
Reimplemented from vtkImageAlgorithm.
int vtkNrrdReader::ReadHeaderInternal | ( | vtkCharArray * | headerBuffer | ) | [protected] |
virtual int vtkNrrdReader::ReadHeader | ( | ) | [protected, virtual] |
Reimplemented in vtkPNrrdReader.
virtual int vtkNrrdReader::ReadHeader | ( | vtkCharArray * | headerBuffer | ) | [protected, virtual] |
Reimplemented in vtkPNrrdReader.
virtual int vtkNrrdReader::ReadDataAscii | ( | vtkImageData * | output | ) | [protected, virtual] |
vtkStringArray* vtkNrrdReader::DataFiles [protected] |
Definition at line 73 of file vtkNrrdReader.h.
int vtkNrrdReader::Encoding [protected] |
Definition at line 80 of file vtkNrrdReader.h.