Go to the documentation of this file.
43 #ifndef vtkPNrrdReader_h
44 #define vtkPNrrdReader_h
46 #include "vtkIOMPIImageModule.h"
51 class vtkMPIOpaqueFileHandle;
135 #endif //vtkPNrrdReader_h
virtual void SetupFileView(vtkMPIOpaqueFileHandle &file, const int extent[6])
Set up a "view" on the open file that will allow you to read the 2D or 3D subarray from the file in o...
vtkMultiProcessController * GroupedController
virtual void TransformData(vtkImageData *data)
Transform the data from the order read from a file to the order to place in the output data (as defin...
virtual void PartitionController(const int extent[6])
Break up the controller based on the files each process reads.
virtual void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Read nrrd files efficiently from parallel file systems (and reasonably well elsewhere).
virtual int ReadHeader() override
virtual int ReadHeader(vtkCharArray *headerBuffer) override
void SetGroupedController(vtkMultiProcessController *)
A group of processes that are reading the same file (as determined by PartitionController.
dynamic, self-adjusting array of char
vtkMultiProcessController * Controller
Multiprocessing communication superclass.
virtual unsigned long GetHeaderSize(vtkMPIOpaqueFileHandle &file)
Get the header size of the given open file.
topologically and geometrically regular array of data
a simple class to control print indentation
Read nrrd files file system.
int GetDataScalarTypeSize()
Returns the size, in bytes of the scalar data type (GetDataScalarType).
static vtkPNrrdReader * New()
virtual void SetController(vtkMultiProcessController *)
general representation of visualization data
virtual void ExecuteDataWithInformation(vtkDataObject *data, vtkInformation *outInfo) override
This is a convenience method that is implemented in many subclasses instead of RequestData.
virtual void ReadSlice(int slice, const int extent[6], void *buffer)
Given a slice of the data, open the appropriate file, read the data into given buffer,...