#include <vtkXMLReader.h>
Inheritance diagram for vtkXMLReader:
vtkXMLReader uses vtkXMLDataParser to parse a VTK XML input file. Concrete subclasses then traverse the parsed file structure and extract data.
Definition at line 40 of file vtkXMLReader.h.
Public Types | |
typedef vtkSource | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual int | CanReadFile (const char *name) |
vtkDataSet * | GetOutputAsDataSet () |
virtual void | SetFileName (const char *) |
virtual char * | GetFileName () |
virtual vtkDataArraySelection * | GetPointDataArraySelection () |
virtual vtkDataArraySelection * | GetCellDataArraySelection () |
int | GetNumberOfPointArrays () |
int | GetNumberOfCellArrays () |
const char * | GetPointArrayName (int index) |
const char * | GetCellArrayName (int index) |
int | GetPointArrayStatus (const char *name) |
int | GetCellArrayStatus (const char *name) |
void | SetPointArrayStatus (const char *name, int status) |
void | SetCellArrayStatus (const char *name, int status) |
Static Public Member Functions | |
int | IsTypeOf (const char *type) |
vtkXMLReader * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkXMLReader () | |
~vtkXMLReader () | |
void | ExecuteInformation () |
void | ExecuteData (vtkDataObject *output) |
virtual void | ReadXMLInformation () |
virtual void | ReadXMLData () |
virtual const char * | GetDataSetName ()=0 |
virtual int | CanReadFileVersion (int major, int minor) |
virtual void | SetupEmptyOutput ()=0 |
virtual void | SetupOutputInformation () |
virtual void | SetupOutputData () |
virtual int | ReadPrimaryElement (vtkXMLDataElement *ePrimary) |
int | ReadVTKFile (vtkXMLDataElement *eVTKFile) |
vtkDataArray * | CreateDataArray (vtkXMLDataElement *da) |
int | OpenVTKFile () |
void | CloseVTKFile () |
void | CreateXMLParser () |
void | DestroyXMLParser () |
void | SetupCompressor (const char *type) |
int | CanReadFileVersionString (const char *version) |
int | IntersectExtents (int *extent1, int *extent2, int *result) |
int | Min (int a, int b) |
int | Max (int a, int b) |
void | ComputeDimensions (int *extent, int *dimensions, int isPoint) |
void | ComputeIncrements (int *extent, int *increments, int isPoint) |
unsigned int | GetStartTuple (int *extent, int *increments, int i, int j, int k) |
void | ReadAttributeIndices (vtkXMLDataElement *eDSA, vtkDataSetAttributes *dsa) |
char ** | CreateStringArray (int numStrings) |
void | DestroyStringArray (int numStrings, char **strings) |
void | SetDataArraySelections (vtkXMLDataElement *eDSA, vtkDataArraySelection *sel) |
int | PointDataArrayIsEnabled (vtkXMLDataElement *ePDA) |
int | CellDataArrayIsEnabled (vtkXMLDataElement *eCDA) |
Static Protected Member Functions | |
void | SelectionModifiedCallback (vtkObject *caller, unsigned long eid, void *clientdata, void *calldata) |
Protected Attributes | |
vtkXMLDataParser * | XMLParser |
char * | FileName |
ifstream * | FileStream |
vtkDataArraySelection * | PointDataArraySelection |
vtkDataArraySelection * | CellDataArraySelection |
vtkCallbackCommand * | SelectionObserver |
int | InformationError |
int | DataError |
|
|
|
|
|
|
|
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 vtkSource.
Reimplemented in vtkXMLDataReader, vtkXMLImageDataReader, vtkXMLPDataReader, vtkXMLPImageDataReader, vtkXMLPolyDataReader, vtkXMLPPolyDataReader, vtkXMLPRectilinearGridReader, vtkXMLPStructuredDataReader, vtkXMLPStructuredGridReader, vtkXMLPUnstructuredDataReader, vtkXMLPUnstructuredGridReader, vtkXMLRectilinearGridReader, vtkXMLStructuredDataReader, vtkXMLStructuredGridReader, vtkXMLUnstructuredDataReader, and vtkXMLUnstructuredGridReader.
|
|
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 vtkSource.
Reimplemented in vtkXMLDataReader, vtkXMLImageDataReader, vtkXMLPDataReader, vtkXMLPImageDataReader, vtkXMLPolyDataReader, vtkXMLPPolyDataReader, vtkXMLPRectilinearGridReader, vtkXMLPStructuredDataReader, vtkXMLPStructuredGridReader, vtkXMLPUnstructuredDataReader, vtkXMLPUnstructuredGridReader, vtkXMLRectilinearGridReader, vtkXMLStructuredDataReader, vtkXMLStructuredGridReader, vtkXMLUnstructuredDataReader, and vtkXMLUnstructuredGridReader.
|
|
|
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 vtkSource.
Reimplemented in vtkXMLDataReader, vtkXMLImageDataReader, vtkXMLPDataReader, vtkXMLPImageDataReader, vtkXMLPolyDataReader, vtkXMLPPolyDataReader, vtkXMLPRectilinearGridReader, vtkXMLPStructuredDataReader, vtkXMLPStructuredGridReader, vtkXMLPUnstructuredDataReader, vtkXMLPUnstructuredGridReader, vtkXMLRectilinearGridReader, vtkXMLStructuredDataReader, vtkXMLStructuredGridReader, vtkXMLUnstructuredDataReader, and vtkXMLUnstructuredGridReader.
|
|
Get/Set the name of the input file. |
|
Get/Set the name of the input file. |
|
Test whether the file with the given name can be read by this reader. |
|
Get the output as a vtkDataSet pointer. |
|
Get the data array selection tables used to configure which data arrays are loaded by the reader. |
|
Get the data array selection tables used to configure which data arrays are loaded by the reader. |
|
Get the number of point or cell arrays available in the input. |
|
Get the number of point or cell arrays available in the input. |
|
Get the name of the point or cell array with the given index in the input. |
|
Get the name of the point or cell array with the given index in the input. |
|
Get/Set whether the point or cell array with the given name is to be read. |
|
Get/Set whether the point or cell array with the given name is to be read. |
|
Get/Set whether the point or cell array with the given name is to be read. |
|
Get/Set whether the point or cell array with the given name is to be read. |
|
Reimplemented from vtkSource.
|
|
|
|
Reimplemented in vtkXMLPDataReader.
|
|
Reimplemented in vtkXMLPStructuredDataReader, vtkXMLPUnstructuredDataReader, vtkXMLStructuredDataReader, and vtkXMLUnstructuredDataReader.
|
|
|
|
|
Implemented in vtkXMLPStructuredDataReader, vtkXMLPUnstructuredDataReader, vtkXMLStructuredDataReader, and vtkXMLUnstructuredDataReader.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 162 of file vtkXMLReader.h. |
|
Definition at line 165 of file vtkXMLReader.h. |
|
Definition at line 168 of file vtkXMLReader.h. |
|
Definition at line 171 of file vtkXMLReader.h. |
|
Definition at line 172 of file vtkXMLReader.h. |
|
Definition at line 176 of file vtkXMLReader.h. |
|
Definition at line 179 of file vtkXMLReader.h. |
|
Definition at line 182 of file vtkXMLReader.h. |