#include <vtkXMLImageDataReader.h>
vtkXMLImageDataReader reads the VTK XML ImageData file format. One image data file can be read to produce one output. Streaming is supported. The standard extension for this reader's file format is "vti". This reader is also used to read a single piece of the parallel file format.
Definition at line 38 of file vtkXMLImageDataReader.h.
Public Types | |
typedef vtkXMLStructuredDataReader | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | CopyOutputInformation (vtkInformation *outInfo, int port) |
vtkImageData * | GetOutput () |
vtkImageData * | GetOutput (int idx) |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkXMLImageDataReader * | SafeDownCast (vtkObject *o) |
static vtkXMLImageDataReader * | New () |
Protected Member Functions | |
vtkXMLImageDataReader () | |
~vtkXMLImageDataReader () | |
const char * | GetDataSetName () |
void | SetOutputExtent (int *extent) |
virtual void | SetupUpdateExtentInformation (vtkInformation *outInfo) |
int | ReadPrimaryElement (vtkXMLDataElement *ePrimary) |
void | SetupOutputInformation (vtkInformation *outInfo) |
virtual int | FillOutputPortInformation (int, vtkInformation *) |
Protected Attributes | |
double | Origin [3] |
double | Spacing [3] |
int | PieceExtent [6] |
Reimplemented from vtkXMLStructuredDataReader.
Definition at line 41 of file vtkXMLImageDataReader.h.
vtkXMLImageDataReader::vtkXMLImageDataReader | ( | ) | [protected] |
vtkXMLImageDataReader::~vtkXMLImageDataReader | ( | ) | [protected] |
virtual const char* vtkXMLImageDataReader::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkXMLStructuredDataReader.
static int vtkXMLImageDataReader::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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkXMLStructuredDataReader.
virtual int vtkXMLImageDataReader::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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkXMLStructuredDataReader.
static vtkXMLImageDataReader* vtkXMLImageDataReader::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkXMLStructuredDataReader.
void vtkXMLImageDataReader::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 vtkXMLStructuredDataReader.
static vtkXMLImageDataReader* vtkXMLImageDataReader::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkAlgorithm.
vtkImageData* vtkXMLImageDataReader::GetOutput | ( | ) |
Get the reader's output.
vtkImageData* vtkXMLImageDataReader::GetOutput | ( | int | idx | ) |
Get the reader's output.
virtual void vtkXMLImageDataReader::CopyOutputInformation | ( | vtkInformation * | outInfo, | |
int | port | |||
) | [virtual] |
For the specified port, copy the information this reader sets up in SetupOutputInformation to outInfo
Reimplemented from vtkXMLStructuredDataReader.
const char* vtkXMLImageDataReader::GetDataSetName | ( | ) | [protected, virtual] |
Implements vtkXMLReader.
void vtkXMLImageDataReader::SetOutputExtent | ( | int * | extent | ) | [protected, virtual] |
Implements vtkXMLStructuredDataReader.
virtual void vtkXMLImageDataReader::SetupUpdateExtentInformation | ( | vtkInformation * | outInfo | ) | [protected, virtual] |
Reimplemented from vtkXMLDataReader.
int vtkXMLImageDataReader::ReadPrimaryElement | ( | vtkXMLDataElement * | ePrimary | ) | [protected, virtual] |
Reimplemented from vtkXMLStructuredDataReader.
void vtkXMLImageDataReader::SetupOutputInformation | ( | vtkInformation * | outInfo | ) | [protected, virtual] |
Reimplemented from vtkXMLDataReader.
virtual int vtkXMLImageDataReader::FillOutputPortInformation | ( | int | port, | |
vtkInformation * | info | |||
) | [protected, virtual] |
Fill the output port information objects for this algorithm. This is invoked by the first call to GetOutputPortInformation for each port so subclasses can specify what they can handle.
Reimplemented from vtkAlgorithm.
double vtkXMLImageDataReader::Origin[3] [protected] |
Definition at line 59 of file vtkXMLImageDataReader.h.
double vtkXMLImageDataReader::Spacing[3] [protected] |
Definition at line 60 of file vtkXMLImageDataReader.h.
int vtkXMLImageDataReader::PieceExtent[6] [protected] |
Definition at line 61 of file vtkXMLImageDataReader.h.