vtkXMLImageDataReader Class Reference

#include <vtkXMLImageDataReader.h>

Inheritance diagram for vtkXMLImageDataReader:

Inheritance graph
[legend]
Collaboration diagram for vtkXMLImageDataReader:

Collaboration graph
[legend]

List of all members.


Detailed Description

Read VTK XML ImageData files.

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.

See also:
vtkXMLPImageDataReader
Tests:
vtkXMLImageDataReader (Tests)

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)
void SetOutput (vtkImageData *output)
vtkImageDataGetOutput ()
vtkImageDataGetOutput (int idx)

Static Public Member Functions

static int IsTypeOf (const char *type)
static vtkXMLImageDataReaderSafeDownCast (vtkObject *o)
static vtkXMLImageDataReaderNew ()

Protected Member Functions

 vtkXMLImageDataReader ()
 ~vtkXMLImageDataReader ()
const char * GetDataSetName ()
void SetOutputExtent (int *extent)
int ReadPrimaryElement (vtkXMLDataElement *ePrimary)
void SetupOutputInformation (vtkInformation *outInfo)
virtual int FillOutputPortInformation (int, vtkInformation *)

Protected Attributes

double Origin [3]
double Spacing [3]

Member Typedef Documentation

Reimplemented from vtkXMLStructuredDataReader.

Definition at line 41 of file vtkXMLImageDataReader.h.


Constructor & Destructor Documentation

vtkXMLImageDataReader::vtkXMLImageDataReader (  )  [protected]

vtkXMLImageDataReader::~vtkXMLImageDataReader (  )  [protected]


Member Function Documentation

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.

void vtkXMLImageDataReader::SetOutput ( vtkImageData output  ) 

Get/Set the reader's output.

vtkImageData* vtkXMLImageDataReader::GetOutput (  ) 

Get/Set the reader's output.

vtkImageData* vtkXMLImageDataReader::GetOutput ( int  idx  ) 

Get/Set 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]

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.


Member Data Documentation

double vtkXMLImageDataReader::Origin[3] [protected]

Definition at line 60 of file vtkXMLImageDataReader.h.

double vtkXMLImageDataReader::Spacing[3] [protected]

Definition at line 61 of file vtkXMLImageDataReader.h.


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

Generated on Sat Dec 27 14:00:39 2008 for VTK by  doxygen 1.5.6