VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkXMLImageDataReader Class Reference

Read VTK XML ImageData files. More...

#include <vtkXMLImageDataReader.h>

Inheritance diagram for vtkXMLImageDataReader:
Inheritance graph
[legend]
Collaboration diagram for vtkXMLImageDataReader:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkXMLStructuredDataReader Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkXMLImageDataReaderNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual void CopyOutputInformation (vtkInformation *outInfo, int port)
vtkImageDataGetOutput ()
vtkImageDataGetOutput (int idx)

Static Public Member Functions

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

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 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]
int PieceExtent [6]

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
Examples:
vtkXMLImageDataReader (Examples)
Tests:
vtkXMLImageDataReader (Tests)

Definition at line 42 of file vtkXMLImageDataReader.h.


Member Typedef Documentation

Reimplemented from vtkXMLStructuredDataReader.

Definition at line 45 of file vtkXMLImageDataReader.h.


Constructor & Destructor Documentation


Member Function Documentation

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 vtkTypeMacro 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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkXMLStructuredDataReader.

Reimplemented from vtkXMLStructuredDataReader.

virtual vtkObjectBase* vtkXMLImageDataReader::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkXMLStructuredDataReader.

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.

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

Reimplemented from vtkAlgorithm.

Get the reader's output.

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]
int vtkXMLImageDataReader::ReadPrimaryElement ( vtkXMLDataElement ePrimary) [protected, virtual]

Reimplemented from vtkXMLStructuredDataReader.

void vtkXMLImageDataReader::SetupOutputInformation ( vtkInformation outInfo) [protected, virtual]

Reimplemented from vtkXMLStructuredDataReader.

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

Definition at line 63 of file vtkXMLImageDataReader.h.

Definition at line 64 of file vtkXMLImageDataReader.h.

Definition at line 65 of file vtkXMLImageDataReader.h.


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