#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 37 of file vtkXMLReader.h.
Public Types | |
typedef vtkAlgorithm | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetFileName (const char *) |
virtual char * | GetFileName () |
virtual int | CanReadFile (const char *name) |
vtkDataSet * | GetOutputAsDataSet () |
vtkDataSet * | GetOutputAsDataSet (int index) |
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) |
virtual void | CopyOutputInformation (vtkInformation *vtkNotUsed(outInfo), int vtkNotUsed(port)) |
virtual void | SetTimeStep (int) |
virtual int | GetTimeStep () |
virtual int | GetNumberOfTimeSteps () |
virtual int * | GetTimeStepRange () |
virtual void | GetTimeStepRange (int &, int &) |
virtual void | GetTimeStepRange (int[2]) |
virtual void | SetTimeStepRange (int, int) |
void | SetTimeStepRange (int[2]) |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkXMLReader * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkXMLReader () | |
~vtkXMLReader () | |
virtual int | ReadXMLInformation () |
virtual void | ReadXMLData () |
virtual const char * | GetDataSetName ()=0 |
virtual int | CanReadFileVersion (int major, int minor) |
virtual void | SetupEmptyOutput ()=0 |
virtual void | SetupOutputInformation (vtkInformation *vtkNotUsed(outInfo)) |
virtual void | SetupOutputData () |
virtual int | ReadPrimaryElement (vtkXMLDataElement *ePrimary) |
int | ReadVTKFile (vtkXMLDataElement *eVTKFile) |
vtkDataArray * | CreateDataArray (vtkXMLDataElement *da) |
int | OpenVTKFile () |
void | CloseVTKFile () |
virtual void | CreateXMLParser () |
virtual 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 | ComputePointDimensions (int *extent, int *dimensions) |
void | ComputePointIncrements (int *extent, vtkIdType *increments) |
void | ComputeCellDimensions (int *extent, int *dimensions) |
void | ComputeCellIncrements (int *extent, vtkIdType *increments) |
vtkIdType | GetStartTuple (int *extent, vtkIdType *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 | SetFieldDataInfo (vtkXMLDataElement *eDSA, int association, int numTuples, vtkInformationVector *(&infoVector)) |
int | PointDataArrayIsEnabled (vtkXMLDataElement *ePDA) |
int | CellDataArrayIsEnabled (vtkXMLDataElement *eCDA) |
virtual void | GetProgressRange (float *range) |
virtual void | SetProgressRange (float *range, int curStep, int numSteps) |
virtual void | SetProgressRange (float *range, int curStep, float *fractions) |
virtual void | UpdateProgressDiscrete (float progress) |
virtual int | ProcessRequest (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
virtual int | RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
virtual int | RequestDataObject (vtkInformation *vtkNotUsed(request), vtkInformationVector **vtkNotUsed(inputVector), vtkInformationVector *vtkNotUsed(outputVector)) |
virtual int | RequestInformation (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
void | SetNumberOfTimeSteps (int num) |
Static Protected Member Functions | |
static void | SelectionModifiedCallback (vtkObject *caller, unsigned long eid, void *clientdata, void *calldata) |
static int | IsTimeStepInArray (int timestep, int *timesteps, int length) |
Protected Attributes | |
vtkXMLDataParser * | XMLParser |
vtkXMLDataElement * | FieldDataElement |
char * | FileName |
istream * | Stream |
vtkDataArraySelection * | PointDataArraySelection |
vtkDataArraySelection * | CellDataArraySelection |
vtkCallbackCommand * | SelectionObserver |
int | InformationError |
int | DataError |
int | CurrentOutput |
float | ProgressRange [2] |
vtkTimeStamp | ReadMTime |
int | ReadError |
int | AxesEmpty [3] |
int | TimeStep |
int | CurrentTimeStep |
int | NumberOfTimeSteps |
int * | TimeSteps |
int | TimeStepRange [2] |
|
|
|
|
|
|
|
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 vtkAlgorithm. 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 vtkAlgorithm. 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 vtkAlgorithm. 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. |
|
|
|
Test whether the file with the given name can be read by this reader. |
|
Get the output as a vtkDataSet pointer. |
|
Test whether the file with the given name can be read by this reader. |
|
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. |
|
Definition at line 89 of file vtkXMLReader.h. |
|
Which TimeStep to read. |
|
|
|
|
|
Which TimeStepRange to read |
|
|
|
|
|
|
|
|
|
Reimplemented in vtkXMLPDataReader. |
|
Reimplemented in vtkXMLDataReader, vtkXMLPStructuredDataReader, vtkXMLPUnstructuredDataReader, vtkXMLStructuredDataReader, and vtkXMLUnstructuredDataReader. |
|
|
|
|
Implemented in vtkXMLPStructuredDataReader, vtkXMLPUnstructuredDataReader, vtkXMLStructuredDataReader, and vtkXMLUnstructuredDataReader. |
|
Definition at line 125 of file vtkXMLReader.h. |
|
|
|
|
|
|
|
|
|
|
|
Reimplemented in vtkXMLDataReader. |
|
Reimplemented in vtkXMLDataReader. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Upstream/Downstream requests form the generalized interface through which executives invoke a algorithm's functionality. Upstream requests correspond to information flow from the algorithm's outputs to its inputs. Downstream requests correspond to information flow from the algorithm's inputs to its outputs. A downstream request is defined by the contents of the request information object. The input to the request is stored in the input information vector passed to ProcessRequest. The results of an downstream request are stored in the output information vector passed to ProcessRequest. An upstream request is defined by the contents of the request information object. The input to the request is stored in the output information vector passed to ProcessRequest. The results of an upstream request are stored in the input information vector passed to ProcessRequest. It returns the boolean status of the pipeline (false means failure). Reimplemented from vtkAlgorithm. |
|
|
|
Definition at line 226 of file vtkXMLReader.h. |
|
|
|
|
|
|
|
Definition at line 183 of file vtkXMLReader.h. |
|
Definition at line 186 of file vtkXMLReader.h. |
|
Definition at line 189 of file vtkXMLReader.h. |
|
Definition at line 192 of file vtkXMLReader.h. |
|
Definition at line 195 of file vtkXMLReader.h. |
|
Definition at line 196 of file vtkXMLReader.h. |
|
Definition at line 200 of file vtkXMLReader.h. |
|
Definition at line 203 of file vtkXMLReader.h. |
|
Definition at line 206 of file vtkXMLReader.h. |
|
Definition at line 210 of file vtkXMLReader.h. |
|
Definition at line 218 of file vtkXMLReader.h. |
|
Definition at line 234 of file vtkXMLReader.h. |
|
Definition at line 237 of file vtkXMLReader.h. |
|
Definition at line 242 of file vtkXMLReader.h. |
|
Definition at line 245 of file vtkXMLReader.h. |
|
Definition at line 246 of file vtkXMLReader.h. |
|
Definition at line 247 of file vtkXMLReader.h. |
|
Definition at line 251 of file vtkXMLReader.h. |
|
Definition at line 253 of file vtkXMLReader.h. |