VTK
|
Read VTK XML ImageData files. More...
#include <vtkXMLImageDataReader.h>
Public Types | |
typedef vtkXMLStructuredDataReader | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkXMLImageDataReader * | NewInstance () const |
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 (vtkObjectBase *o) |
static vtkXMLImageDataReader * | New () |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () 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] |
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.
Definition at line 42 of file vtkXMLImageDataReader.h.
Reimplemented from vtkXMLStructuredDataReader.
Definition at line 45 of file vtkXMLImageDataReader.h.
vtkXMLImageDataReader::vtkXMLImageDataReader | ( | ) | [protected] |
vtkXMLImageDataReader::~vtkXMLImageDataReader | ( | ) | [protected] |
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.
static vtkXMLImageDataReader* vtkXMLImageDataReader::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
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.
static vtkXMLImageDataReader* vtkXMLImageDataReader::New | ( | ) | [static] |
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] |
Implements vtkXMLStructuredDataReader.
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.
double vtkXMLImageDataReader::Origin[3] [protected] |
Definition at line 63 of file vtkXMLImageDataReader.h.
double vtkXMLImageDataReader::Spacing[3] [protected] |
Definition at line 64 of file vtkXMLImageDataReader.h.
int vtkXMLImageDataReader::PieceExtent[6] [protected] |
Definition at line 65 of file vtkXMLImageDataReader.h.