vtkPNrrdReader Class Reference

#include <vtkPNrrdReader.h>

Inheritance diagram for vtkPNrrdReader:

Inheritance graph
[legend]
Collaboration diagram for vtkPNrrdReader:

Collaboration graph
[legend]

List of all members.


Detailed Description

Read nrrd files efficiently from parallel file systems (and reasonably well elsewhere).

vtkPNrrdReader is a subclass of vtkMPIImageReader that will read Nrrd format header information of the image before reading the data. This means that the reader will automatically set information like file dimensions.

Bug:
There are several limitations on what type of nrrd files we can read. This reader only supports nrrd files in raw format. Other encodings like ascii and hex will result in errors. When reading in detached headers, this only supports reading one file that is detached.
Tests:
vtkPNrrdReader (Tests)

Definition at line 49 of file vtkPNrrdReader.h.


Public Types

typedef vtkMPIImageReader Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
virtual void PrintSelf (ostream &os, vtkIndent indent)
virtual int CanReadFile (const char *filename)

Static Public Member Functions

static int IsTypeOf (const char *type)
static vtkPNrrdReaderSafeDownCast (vtkObject *o)
static vtkPNrrdReaderNew ()

Protected Member Functions

 vtkPNrrdReader ()
 ~vtkPNrrdReader ()
virtual int RequestInformation (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
virtual int RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
virtual int ReadHeader ()
virtual int ReadHeader (vtkCharArray *headerBuffer)

Protected Attributes

vtkStringArrayDataFiles

Member Typedef Documentation

Reimplemented from vtkMPIImageReader.

Definition at line 52 of file vtkPNrrdReader.h.


Constructor & Destructor Documentation

vtkPNrrdReader::vtkPNrrdReader (  )  [protected]

vtkPNrrdReader::~vtkPNrrdReader (  )  [protected]


Member Function Documentation

virtual const char* vtkPNrrdReader::GetClassName (  )  [virtual]

Reimplemented from vtkMPIImageReader.

static int vtkPNrrdReader::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 vtkMPIImageReader.

virtual int vtkPNrrdReader::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 vtkMPIImageReader.

static vtkPNrrdReader* vtkPNrrdReader::SafeDownCast ( vtkObject o  )  [static]

Reimplemented from vtkMPIImageReader.

static vtkPNrrdReader* vtkPNrrdReader::New (  )  [static]

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkMPIImageReader.

virtual void vtkPNrrdReader::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 vtkMPIImageReader.

virtual int vtkPNrrdReader::CanReadFile ( const char *  filename  )  [virtual]

virtual int vtkPNrrdReader::RequestInformation ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

Reimplemented from vtkImageReader.

virtual int vtkPNrrdReader::RequestData ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

This is called by the superclass. This is the method you should override.

Reimplemented from vtkImageAlgorithm.

virtual int vtkPNrrdReader::ReadHeader (  )  [protected, virtual]

virtual int vtkPNrrdReader::ReadHeader ( vtkCharArray headerBuffer  )  [protected, virtual]


Member Data Documentation

Definition at line 73 of file vtkPNrrdReader.h.


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

Generated on Mon Sep 27 18:41:18 2010 for VTK by  doxygen 1.5.6