VTK
|
Superclass for VTK's XML format readers. More...
#include <vtkXMLReader.h>
Superclass for VTK's XML format readers.
vtkXMLReader uses vtkXMLDataParser to parse a VTK XML input file. Concrete subclasses then traverse the parsed file structure and extract data.
Definition at line 39 of file vtkXMLReader.h.
typedef vtkAlgorithm vtkXMLReader::Superclass |
Reimplemented from vtkAlgorithm.
Reimplemented in vtkXMLUniformGridAMRReader, vtkXMLHyperOctreeReader, vtkXMLGenericDataObjectReader, vtkXMLUnstructuredGridReader, vtkXMLHierarchicalBoxDataReader, vtkXMLImageDataReader, vtkXMLPolyDataReader, vtkXMLRectilinearGridReader, vtkXMLStructuredGridReader, vtkXMLCompositeDataReader, vtkXMLMultiBlockDataReader, vtkXMLHierarchicalDataReader, vtkXMLPStructuredDataReader, vtkXMLPDataReader, vtkXMLPImageDataReader, vtkXMLPPolyDataReader, vtkXMLPRectilinearGridReader, vtkXMLPStructuredGridReader, vtkXMLPUnstructuredGridReader, vtkXMLUnstructuredDataReader, vtkXMLPUnstructuredDataReader, vtkXMLStructuredDataReader, vtkXMLDataReader, vtkRTXMLPolyDataReader, and vtkXMLMultiGroupDataReader.
Definition at line 42 of file vtkXMLReader.h.
vtkXMLReader::vtkXMLReader | ( | ) | [protected] |
vtkXMLReader::~vtkXMLReader | ( | ) | [protected] |
static int vtkXMLReader::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 vtkAlgorithm.
Reimplemented in vtkXMLUniformGridAMRReader, vtkXMLHyperOctreeReader, vtkXMLGenericDataObjectReader, vtkXMLUnstructuredGridReader, vtkXMLHierarchicalBoxDataReader, vtkXMLImageDataReader, vtkXMLPolyDataReader, vtkXMLRectilinearGridReader, vtkXMLStructuredGridReader, vtkXMLCompositeDataReader, vtkXMLMultiBlockDataReader, vtkXMLHierarchicalDataReader, vtkXMLPStructuredDataReader, vtkXMLPDataReader, vtkXMLPImageDataReader, vtkXMLPPolyDataReader, vtkXMLPRectilinearGridReader, vtkXMLPStructuredGridReader, vtkXMLPUnstructuredGridReader, vtkXMLUnstructuredDataReader, vtkXMLPUnstructuredDataReader, vtkXMLStructuredDataReader, vtkXMLDataReader, vtkRTXMLPolyDataReader, and vtkXMLMultiGroupDataReader.
virtual int vtkXMLReader::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 vtkAlgorithm.
Reimplemented in vtkXMLUniformGridAMRReader, vtkXMLHyperOctreeReader, vtkXMLGenericDataObjectReader, vtkXMLUnstructuredGridReader, vtkXMLHierarchicalBoxDataReader, vtkXMLImageDataReader, vtkXMLPolyDataReader, vtkXMLRectilinearGridReader, vtkXMLStructuredGridReader, vtkXMLCompositeDataReader, vtkXMLMultiBlockDataReader, vtkXMLHierarchicalDataReader, vtkXMLPStructuredDataReader, vtkXMLPDataReader, vtkXMLPImageDataReader, vtkXMLPPolyDataReader, vtkXMLPRectilinearGridReader, vtkXMLPStructuredGridReader, vtkXMLPUnstructuredGridReader, vtkXMLUnstructuredDataReader, vtkXMLPUnstructuredDataReader, vtkXMLStructuredDataReader, vtkXMLDataReader, vtkRTXMLPolyDataReader, and vtkXMLMultiGroupDataReader.
static vtkXMLReader* vtkXMLReader::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkAlgorithm.
Reimplemented in vtkXMLUniformGridAMRReader, vtkXMLHyperOctreeReader, vtkXMLGenericDataObjectReader, vtkXMLUnstructuredGridReader, vtkXMLHierarchicalBoxDataReader, vtkXMLImageDataReader, vtkXMLPolyDataReader, vtkXMLRectilinearGridReader, vtkXMLStructuredGridReader, vtkXMLCompositeDataReader, vtkXMLMultiBlockDataReader, vtkXMLHierarchicalDataReader, vtkXMLPStructuredDataReader, vtkXMLPDataReader, vtkXMLPImageDataReader, vtkXMLPPolyDataReader, vtkXMLPRectilinearGridReader, vtkXMLPStructuredGridReader, vtkXMLPUnstructuredGridReader, vtkXMLUnstructuredDataReader, vtkXMLPUnstructuredDataReader, vtkXMLStructuredDataReader, vtkXMLDataReader, vtkRTXMLPolyDataReader, and vtkXMLMultiGroupDataReader.
virtual vtkObjectBase* vtkXMLReader::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkAlgorithm.
Reimplemented in vtkXMLUniformGridAMRReader, vtkXMLHyperOctreeReader, vtkXMLGenericDataObjectReader, vtkXMLUnstructuredGridReader, vtkXMLHierarchicalBoxDataReader, vtkXMLImageDataReader, vtkXMLPolyDataReader, vtkXMLRectilinearGridReader, vtkXMLStructuredGridReader, vtkXMLCompositeDataReader, vtkXMLMultiBlockDataReader, vtkXMLHierarchicalDataReader, vtkXMLPStructuredDataReader, vtkXMLPDataReader, vtkXMLPImageDataReader, vtkXMLPPolyDataReader, vtkXMLPRectilinearGridReader, vtkXMLPStructuredGridReader, vtkXMLPUnstructuredGridReader, vtkXMLUnstructuredDataReader, vtkXMLPUnstructuredDataReader, vtkXMLStructuredDataReader, vtkXMLDataReader, vtkRTXMLPolyDataReader, and vtkXMLMultiGroupDataReader.
vtkXMLReader* vtkXMLReader::NewInstance | ( | ) | const |
Reimplemented from vtkAlgorithm.
Reimplemented in vtkXMLUniformGridAMRReader, vtkXMLHyperOctreeReader, vtkXMLGenericDataObjectReader, vtkXMLUnstructuredGridReader, vtkXMLHierarchicalBoxDataReader, vtkXMLImageDataReader, vtkXMLPolyDataReader, vtkXMLRectilinearGridReader, vtkXMLStructuredGridReader, vtkXMLCompositeDataReader, vtkXMLMultiBlockDataReader, vtkXMLHierarchicalDataReader, vtkXMLPStructuredDataReader, vtkXMLPDataReader, vtkXMLPImageDataReader, vtkXMLPPolyDataReader, vtkXMLPRectilinearGridReader, vtkXMLPStructuredGridReader, vtkXMLPUnstructuredGridReader, vtkXMLUnstructuredDataReader, vtkXMLPUnstructuredDataReader, vtkXMLStructuredDataReader, vtkXMLDataReader, vtkRTXMLPolyDataReader, and vtkXMLMultiGroupDataReader.
void vtkXMLReader::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 vtkAlgorithm.
Reimplemented in vtkXMLUniformGridAMRReader, vtkXMLHyperOctreeReader, vtkXMLGenericDataObjectReader, vtkXMLUnstructuredGridReader, vtkXMLHierarchicalBoxDataReader, vtkXMLImageDataReader, vtkXMLPolyDataReader, vtkXMLRectilinearGridReader, vtkXMLStructuredGridReader, vtkXMLCompositeDataReader, vtkXMLMultiBlockDataReader, vtkXMLHierarchicalDataReader, vtkXMLPStructuredDataReader, vtkXMLPDataReader, vtkXMLPImageDataReader, vtkXMLPPolyDataReader, vtkXMLPRectilinearGridReader, vtkXMLPStructuredGridReader, vtkXMLPUnstructuredGridReader, vtkXMLUnstructuredDataReader, vtkXMLPUnstructuredDataReader, vtkXMLStructuredDataReader, vtkXMLDataReader, vtkRTXMLPolyDataReader, and vtkXMLMultiGroupDataReader.
virtual void vtkXMLReader::SetFileName | ( | const char * | ) | [virtual] |
Get/Set the name of the input file.
virtual char* vtkXMLReader::GetFileName | ( | ) | [virtual] |
Get/Set the name of the input file.
virtual int vtkXMLReader::CanReadFile | ( | const char * | name | ) | [virtual] |
Test whether the file with the given name can be read by this reader.
Get the output as a vtkDataSet pointer.
vtkDataSet* vtkXMLReader::GetOutputAsDataSet | ( | int | index | ) |
Get the output as a vtkDataSet pointer.
virtual vtkDataArraySelection* vtkXMLReader::GetPointDataArraySelection | ( | ) | [virtual] |
Get the data array selection tables used to configure which data arrays are loaded by the reader.
virtual vtkDataArraySelection* vtkXMLReader::GetCellDataArraySelection | ( | ) | [virtual] |
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.
const char* vtkXMLReader::GetPointArrayName | ( | int | index | ) |
Get the name of the point or cell array with the given index in the input.
const char* vtkXMLReader::GetCellArrayName | ( | int | index | ) |
Get the name of the point or cell array with the given index in the input.
int vtkXMLReader::GetPointArrayStatus | ( | const char * | name | ) |
Get/Set whether the point or cell array with the given name is to be read.
int vtkXMLReader::GetCellArrayStatus | ( | const char * | name | ) |
Get/Set whether the point or cell array with the given name is to be read.
void vtkXMLReader::SetPointArrayStatus | ( | const char * | name, |
int | status | ||
) |
Get/Set whether the point or cell array with the given name is to be read.
void vtkXMLReader::SetCellArrayStatus | ( | const char * | name, |
int | status | ||
) |
Get/Set whether the point or cell array with the given name is to be read.
virtual void vtkXMLReader::CopyOutputInformation | ( | vtkInformation * | vtkNotUsedoutInfo, |
int | vtkNotUsedport | ||
) | [inline, virtual] |
Definition at line 91 of file vtkXMLReader.h.
virtual void vtkXMLReader::SetTimeStep | ( | int | ) | [virtual] |
Which TimeStep to read.
virtual int vtkXMLReader::GetTimeStep | ( | ) | [virtual] |
Which TimeStep to read.
virtual int vtkXMLReader::GetNumberOfTimeSteps | ( | ) | [virtual] |
virtual int* vtkXMLReader::GetTimeStepRange | ( | ) | [virtual] |
Which TimeStepRange to read
virtual void vtkXMLReader::GetTimeStepRange | ( | int & | , |
int & | |||
) | [virtual] |
Which TimeStepRange to read
virtual void vtkXMLReader::GetTimeStepRange | ( | int | [2] | ) | [virtual] |
Which TimeStepRange to read
virtual void vtkXMLReader::SetTimeStepRange | ( | int | , |
int | |||
) | [virtual] |
Which TimeStepRange to read
void vtkXMLReader::SetTimeStepRange | ( | int | [2] | ) |
Which TimeStepRange to read
vtkXMLDataParser* vtkXMLReader::GetXMLParser | ( | ) | [inline] |
Returns the internal XML parser. This can be used to access the XML DOM after RequestInformation() was called.
Definition at line 110 of file vtkXMLReader.h.
virtual int vtkXMLReader::ProcessRequest | ( | vtkInformation * | request, |
vtkInformationVector ** | inInfo, | ||
vtkInformationVector * | outInfo | ||
) | [virtual] |
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.
virtual int vtkXMLReader::ReadXMLInformation | ( | ) | [protected, virtual] |
Reimplemented in vtkXMLPDataReader.
virtual void vtkXMLReader::ReadXMLData | ( | ) | [protected, virtual] |
virtual const char* vtkXMLReader::GetDataSetName | ( | ) | [protected, pure virtual] |
Implemented in vtkXMLUniformGridAMRReader, vtkXMLGenericDataObjectReader, vtkXMLImageDataReader, vtkXMLPolyDataReader, vtkXMLPImageDataReader, vtkXMLMultiBlockDataReader, vtkXMLHyperOctreeReader, vtkXMLUnstructuredGridReader, vtkXMLRectilinearGridReader, vtkXMLStructuredGridReader, vtkXMLCompositeDataReader, vtkXMLPRectilinearGridReader, vtkXMLPStructuredGridReader, vtkXMLPPolyDataReader, vtkXMLPUnstructuredGridReader, vtkXMLHierarchicalDataReader, and vtkXMLMultiGroupDataReader.
virtual int vtkXMLReader::CanReadFileVersion | ( | int | major, |
int | minor | ||
) | [protected, virtual] |
Reimplemented in vtkXMLUniformGridAMRReader.
virtual void vtkXMLReader::SetupEmptyOutput | ( | ) | [protected, pure virtual] |
virtual void vtkXMLReader::SetupOutputInformation | ( | vtkInformation * | vtkNotUsedoutInfo | ) | [inline, protected, virtual] |
Definition at line 140 of file vtkXMLReader.h.
virtual void vtkXMLReader::SetupUpdateExtentInformation | ( | vtkInformation * | vtkNotUsedoutInfo | ) | [inline, protected, virtual] |
Definition at line 144 of file vtkXMLReader.h.
virtual void vtkXMLReader::SetupOutputData | ( | ) | [protected, virtual] |
Reimplemented in vtkXMLUnstructuredDataReader, vtkXMLPolyDataReader, vtkXMLPStructuredDataReader, vtkXMLUnstructuredGridReader, vtkXMLRectilinearGridReader, vtkXMLStructuredGridReader, vtkXMLDataReader, vtkXMLPDataReader, vtkXMLPPolyDataReader, vtkXMLPUnstructuredDataReader, vtkXMLPRectilinearGridReader, vtkXMLPStructuredGridReader, and vtkXMLPUnstructuredGridReader.
virtual int vtkXMLReader::ReadPrimaryElement | ( | vtkXMLDataElement * | ePrimary | ) | [protected, virtual] |
Reimplemented in vtkXMLUniformGridAMRReader, vtkXMLImageDataReader, vtkXMLPUnstructuredDataReader, vtkXMLPImageDataReader, vtkXMLPStructuredDataReader, vtkXMLStructuredDataReader, vtkXMLCompositeDataReader, vtkXMLDataReader, vtkXMLPDataReader, vtkXMLPRectilinearGridReader, and vtkXMLPStructuredGridReader.
virtual int vtkXMLReader::ReadVTKFile | ( | vtkXMLDataElement * | eVTKFile | ) | [protected, virtual] |
Reimplemented in vtkXMLUniformGridAMRReader.
vtkAbstractArray* vtkXMLReader::CreateArray | ( | vtkXMLDataElement * | da | ) | [protected] |
int vtkXMLReader::CreateInformationKey | ( | vtkXMLDataElement * | eInfoKey, |
vtkInformation * | info | ||
) | [protected] |
virtual int vtkXMLReader::OpenVTKFile | ( | ) | [protected, virtual] |
virtual void vtkXMLReader::CloseVTKFile | ( | ) | [protected, virtual] |
virtual void vtkXMLReader::CreateXMLParser | ( | ) | [protected, virtual] |
Reimplemented in vtkXMLDataReader.
virtual void vtkXMLReader::DestroyXMLParser | ( | ) | [protected, virtual] |
Reimplemented in vtkXMLDataReader.
void vtkXMLReader::SetupCompressor | ( | const char * | type | ) | [protected] |
int vtkXMLReader::CanReadFileVersionString | ( | const char * | version | ) | [protected] |
virtual int vtkXMLReader::CanReadFileWithDataType | ( | const char * | dsname | ) | [protected, virtual] |
This method is used by CanReadFile() to check if the reader can read an XML with the primary element with the given name. Default implementation compares the name with the text returned by this->GetDataSetName().
Reimplemented in vtkXMLUniformGridAMRReader.
virtual int vtkXMLReader::GetFileMajorVersion | ( | ) | [protected, virtual] |
virtual int vtkXMLReader::GetFileMinorVersion | ( | ) | [protected, virtual] |
int vtkXMLReader::IntersectExtents | ( | int * | extent1, |
int * | extent2, | ||
int * | result | ||
) | [protected] |
int vtkXMLReader::Min | ( | int | a, |
int | b | ||
) | [protected] |
int vtkXMLReader::Max | ( | int | a, |
int | b | ||
) | [protected] |
void vtkXMLReader::ComputePointDimensions | ( | int * | extent, |
int * | dimensions | ||
) | [protected] |
void vtkXMLReader::ComputePointIncrements | ( | int * | extent, |
vtkIdType * | increments | ||
) | [protected] |
void vtkXMLReader::ComputeCellDimensions | ( | int * | extent, |
int * | dimensions | ||
) | [protected] |
void vtkXMLReader::ComputeCellIncrements | ( | int * | extent, |
vtkIdType * | increments | ||
) | [protected] |
vtkIdType vtkXMLReader::GetStartTuple | ( | int * | extent, |
vtkIdType * | increments, | ||
int | i, | ||
int | j, | ||
int | k | ||
) | [protected] |
void vtkXMLReader::ReadAttributeIndices | ( | vtkXMLDataElement * | eDSA, |
vtkDataSetAttributes * | dsa | ||
) | [protected] |
char** vtkXMLReader::CreateStringArray | ( | int | numStrings | ) | [protected] |
void vtkXMLReader::DestroyStringArray | ( | int | numStrings, |
char ** | strings | ||
) | [protected] |
void vtkXMLReader::SetDataArraySelections | ( | vtkXMLDataElement * | eDSA, |
vtkDataArraySelection * | sel | ||
) | [protected] |
int vtkXMLReader::SetFieldDataInfo | ( | vtkXMLDataElement * | eDSA, |
int | association, | ||
int | numTuples, | ||
vtkInformationVector *& | infoVector | ||
) | [protected] |
int vtkXMLReader::PointDataArrayIsEnabled | ( | vtkXMLDataElement * | ePDA | ) | [protected] |
int vtkXMLReader::CellDataArrayIsEnabled | ( | vtkXMLDataElement * | eCDA | ) | [protected] |
static void vtkXMLReader::SelectionModifiedCallback | ( | vtkObject * | caller, |
unsigned long | eid, | ||
void * | clientdata, | ||
void * | calldata | ||
) | [static, protected] |
virtual void vtkXMLReader::GetProgressRange | ( | float * | range | ) | [protected, virtual] |
virtual void vtkXMLReader::SetProgressRange | ( | float * | range, |
int | curStep, | ||
int | numSteps | ||
) | [protected, virtual] |
virtual void vtkXMLReader::SetProgressRange | ( | float * | range, |
int | curStep, | ||
float * | fractions | ||
) | [protected, virtual] |
virtual void vtkXMLReader::UpdateProgressDiscrete | ( | float | progress | ) | [protected, virtual] |
virtual int vtkXMLReader::RequestData | ( | vtkInformation * | request, |
vtkInformationVector ** | inputVector, | ||
vtkInformationVector * | outputVector | ||
) | [protected, virtual] |
Reimplemented in vtkXMLGenericDataObjectReader.
virtual int vtkXMLReader::RequestDataObject | ( | vtkInformation * | vtkNotUsedrequest, |
vtkInformationVector ** | vtkNotUsedinputVector, | ||
vtkInformationVector * | vtkNotUsedoutputVector | ||
) | [inline, protected, virtual] |
Definition at line 253 of file vtkXMLReader.h.
virtual int vtkXMLReader::RequestInformation | ( | vtkInformation * | request, |
vtkInformationVector ** | inputVector, | ||
vtkInformationVector * | outputVector | ||
) | [protected, virtual] |
virtual int vtkXMLReader::RequestUpdateExtentInformation | ( | vtkInformation * | request, |
vtkInformationVector ** | inputVector, | ||
vtkInformationVector * | outputVector | ||
) | [protected, virtual] |
void vtkXMLReader::SetNumberOfTimeSteps | ( | int | num | ) | [protected] |
static int vtkXMLReader::IsTimeStepInArray | ( | int | timestep, |
int * | timesteps, | ||
int | length | ||
) | [static, protected] |
vtkDataObject* vtkXMLReader::GetCurrentOutput | ( | ) | [protected] |
vtkInformation* vtkXMLReader::GetCurrentOutputInformation | ( | ) | [protected] |
vtkXMLDataParser* vtkXMLReader::XMLParser [protected] |
Definition at line 218 of file vtkXMLReader.h.
vtkXMLDataElement* vtkXMLReader::FieldDataElement [protected] |
Definition at line 221 of file vtkXMLReader.h.
char* vtkXMLReader::FileName [protected] |
Definition at line 224 of file vtkXMLReader.h.
istream* vtkXMLReader::Stream [protected] |
Definition at line 227 of file vtkXMLReader.h.
Definition at line 230 of file vtkXMLReader.h.
Definition at line 231 of file vtkXMLReader.h.
vtkCallbackCommand* vtkXMLReader::SelectionObserver [protected] |
Definition at line 235 of file vtkXMLReader.h.
int vtkXMLReader::InformationError [protected] |
Definition at line 238 of file vtkXMLReader.h.
int vtkXMLReader::DataError [protected] |
Definition at line 241 of file vtkXMLReader.h.
float vtkXMLReader::ProgressRange[2] [protected] |
Definition at line 248 of file vtkXMLReader.h.
vtkTimeStamp vtkXMLReader::ReadMTime [protected] |
Definition at line 265 of file vtkXMLReader.h.
int vtkXMLReader::ReadError [protected] |
Definition at line 268 of file vtkXMLReader.h.
int vtkXMLReader::AxesEmpty[3] [protected] |
Definition at line 273 of file vtkXMLReader.h.
int vtkXMLReader::TimeStep [protected] |
Definition at line 276 of file vtkXMLReader.h.
int vtkXMLReader::CurrentTimeStep [protected] |
Definition at line 277 of file vtkXMLReader.h.
int vtkXMLReader::NumberOfTimeSteps [protected] |
Definition at line 278 of file vtkXMLReader.h.
int* vtkXMLReader::TimeSteps [protected] |
Definition at line 282 of file vtkXMLReader.h.
int vtkXMLReader::TimeStepRange[2] [protected] |
Definition at line 284 of file vtkXMLReader.h.