VTK
|
helper superclass for objects that read vtk data files More...
#include <vtkDataReader.h>
helper superclass for objects that read vtk data files
vtkDataReader is a helper superclass that reads the vtk data file header, dataset type, and attribute data (point and cell attributes such as scalars, vectors, normals, etc.) from a vtk data file. See text for the format of the various vtk file types.
Definition at line 47 of file vtkDataReader.h.
Reimplemented from vtkAlgorithm.
Reimplemented in vtkGenericDataObjectReader, vtkDataSetReader, vtkPolyDataReader, vtkStructuredGridReader, vtkStructuredPointsReader, vtkUnstructuredGridReader, vtkDataObjectReader, vtkRectilinearGridReader, vtkTableReader, vtkOpenQubeMoleculeSource, vtkGraphReader, vtkTreeReader, vtkMySQLToTableReader, vtkPostgreSQLToTableReader, vtkSQLiteToTableReader, vtkCMLMoleculeReader, vtkCompositeDataReader, and vtkDatabaseToTableReader.
Definition at line 51 of file vtkDataReader.h.
vtkDataReader::vtkDataReader | ( | ) | [protected] |
vtkDataReader::~vtkDataReader | ( | ) | [protected] |
static vtkDataReader* vtkDataReader::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkAlgorithm.
Reimplemented in vtkGenericDataObjectReader, vtkDataSetReader, vtkPolyDataReader, vtkStructuredGridReader, vtkStructuredPointsReader, vtkUnstructuredGridReader, vtkDataObjectReader, vtkRectilinearGridReader, vtkTableReader, vtkOpenQubeMoleculeSource, vtkGraphReader, vtkTreeReader, vtkMySQLToTableReader, vtkPostgreSQLToTableReader, vtkSQLiteToTableReader, vtkCMLMoleculeReader, and vtkCompositeDataReader.
virtual const char* vtkDataReader::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkAlgorithm.
Reimplemented in vtkGenericDataObjectReader, vtkDataSetReader, vtkPolyDataReader, vtkStructuredGridReader, vtkStructuredPointsReader, vtkUnstructuredGridReader, vtkDataObjectReader, vtkRectilinearGridReader, vtkTableReader, vtkOpenQubeMoleculeSource, vtkGraphReader, vtkTreeReader, vtkMySQLToTableReader, vtkPostgreSQLToTableReader, vtkSQLiteToTableReader, vtkCMLMoleculeReader, vtkCompositeDataReader, and vtkDatabaseToTableReader.
static int vtkDataReader::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 vtkGenericDataObjectReader, vtkDataSetReader, vtkPolyDataReader, vtkStructuredGridReader, vtkStructuredPointsReader, vtkUnstructuredGridReader, vtkDataObjectReader, vtkRectilinearGridReader, vtkTableReader, vtkOpenQubeMoleculeSource, vtkGraphReader, vtkTreeReader, vtkMySQLToTableReader, vtkPostgreSQLToTableReader, vtkSQLiteToTableReader, vtkCMLMoleculeReader, vtkCompositeDataReader, and vtkDatabaseToTableReader.
virtual int vtkDataReader::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 vtkGenericDataObjectReader, vtkDataSetReader, vtkPolyDataReader, vtkStructuredGridReader, vtkStructuredPointsReader, vtkUnstructuredGridReader, vtkDataObjectReader, vtkRectilinearGridReader, vtkTableReader, vtkOpenQubeMoleculeSource, vtkGraphReader, vtkTreeReader, vtkMySQLToTableReader, vtkPostgreSQLToTableReader, vtkSQLiteToTableReader, vtkCMLMoleculeReader, vtkCompositeDataReader, and vtkDatabaseToTableReader.
static vtkDataReader* vtkDataReader::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkAlgorithm.
Reimplemented in vtkGenericDataObjectReader, vtkDataSetReader, vtkPolyDataReader, vtkStructuredGridReader, vtkStructuredPointsReader, vtkUnstructuredGridReader, vtkDataObjectReader, vtkRectilinearGridReader, vtkTableReader, vtkOpenQubeMoleculeSource, vtkGraphReader, vtkTreeReader, vtkMySQLToTableReader, vtkPostgreSQLToTableReader, vtkSQLiteToTableReader, vtkCMLMoleculeReader, vtkCompositeDataReader, and vtkDatabaseToTableReader.
void vtkDataReader::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 vtkGenericDataObjectReader, vtkDataSetReader, vtkPolyDataReader, vtkStructuredGridReader, vtkStructuredPointsReader, vtkUnstructuredGridReader, vtkDataObjectReader, vtkRectilinearGridReader, vtkTableReader, vtkOpenQubeMoleculeSource, vtkGraphReader, vtkTreeReader, vtkMySQLToTableReader, vtkPostgreSQLToTableReader, vtkSQLiteToTableReader, vtkCMLMoleculeReader, vtkCompositeDataReader, and vtkDatabaseToTableReader.
virtual void vtkDataReader::SetFileName | ( | const char * | ) | [virtual] |
Specify file name of vtk data file to read.
Reimplemented in vtkOpenQubeMoleculeSource, and vtkCMLMoleculeReader.
virtual char* vtkDataReader::GetFileName | ( | ) | [virtual] |
Specify file name of vtk data file to read.
Reimplemented in vtkOpenQubeMoleculeSource, and vtkCMLMoleculeReader.
int vtkDataReader::IsFileValid | ( | const char * | dstype | ) |
Is the file a valid vtk file of the passed dataset type ? The dataset type is passed as a lower case string.
int vtkDataReader::IsFileStructuredPoints | ( | ) | [inline] |
Is the file a valid vtk file of the passed dataset type ? The dataset type is passed as a lower case string.
Definition at line 64 of file vtkDataReader.h.
int vtkDataReader::IsFilePolyData | ( | ) | [inline] |
Is the file a valid vtk file of the passed dataset type ? The dataset type is passed as a lower case string.
Definition at line 66 of file vtkDataReader.h.
int vtkDataReader::IsFileStructuredGrid | ( | ) | [inline] |
Is the file a valid vtk file of the passed dataset type ? The dataset type is passed as a lower case string.
Definition at line 68 of file vtkDataReader.h.
int vtkDataReader::IsFileUnstructuredGrid | ( | ) | [inline] |
Is the file a valid vtk file of the passed dataset type ? The dataset type is passed as a lower case string.
Definition at line 70 of file vtkDataReader.h.
int vtkDataReader::IsFileRectilinearGrid | ( | ) | [inline] |
Is the file a valid vtk file of the passed dataset type ? The dataset type is passed as a lower case string.
Definition at line 72 of file vtkDataReader.h.
void vtkDataReader::SetInputString | ( | const char * | in | ) |
Specify the InputString for use when reading from a character array. Optionally include the length for binary strings. Note that a copy of the string is made and stored. If this causes exceedingly large memory consumption, consider using InputArray instead.
virtual char* vtkDataReader::GetInputString | ( | ) | [virtual] |
Specify the InputString for use when reading from a character array. Optionally include the length for binary strings. Note that a copy of the string is made and stored. If this causes exceedingly large memory consumption, consider using InputArray instead.
void vtkDataReader::SetInputString | ( | const char * | in, |
int | len | ||
) |
Specify the InputString for use when reading from a character array. Optionally include the length for binary strings. Note that a copy of the string is made and stored. If this causes exceedingly large memory consumption, consider using InputArray instead.
virtual int vtkDataReader::GetInputStringLength | ( | ) | [virtual] |
Specify the InputString for use when reading from a character array. Optionally include the length for binary strings. Note that a copy of the string is made and stored. If this causes exceedingly large memory consumption, consider using InputArray instead.
void vtkDataReader::SetBinaryInputString | ( | const char * | , |
int | len | ||
) |
Specify the InputString for use when reading from a character array. Optionally include the length for binary strings. Note that a copy of the string is made and stored. If this causes exceedingly large memory consumption, consider using InputArray instead.
void vtkDataReader::SetInputString | ( | const vtkStdString & | input | ) | [inline] |
Specify the InputString for use when reading from a character array. Optionally include the length for binary strings. Note that a copy of the string is made and stored. If this causes exceedingly large memory consumption, consider using InputArray instead.
Definition at line 86 of file vtkDataReader.h.
virtual void vtkDataReader::SetInputArray | ( | vtkCharArray * | ) | [virtual] |
Specify the vtkCharArray to be used when reading from a string. If set, this array has precedence over InputString. Use this instead of InputString to avoid the extra memory copy. It should be noted that if the underlying char* is owned by the user ( vtkCharArray::SetArray(array, 1); ) and is deleted before the reader, bad things will happen during a pipeline update.
virtual vtkCharArray* vtkDataReader::GetInputArray | ( | ) | [virtual] |
Specify the vtkCharArray to be used when reading from a string. If set, this array has precedence over InputString. Use this instead of InputString to avoid the extra memory copy. It should be noted that if the underlying char* is owned by the user ( vtkCharArray::SetArray(array, 1); ) and is deleted before the reader, bad things will happen during a pipeline update.
virtual char* vtkDataReader::GetHeader | ( | ) | [virtual] |
Get the header from the vtk data file.
virtual void vtkDataReader::SetReadFromInputString | ( | int | ) | [virtual] |
Enable reading from an InputString or InputArray instead of the default, a file.
virtual int vtkDataReader::GetReadFromInputString | ( | ) | [virtual] |
Enable reading from an InputString or InputArray instead of the default, a file.
virtual void vtkDataReader::ReadFromInputStringOn | ( | ) | [virtual] |
Enable reading from an InputString or InputArray instead of the default, a file.
virtual void vtkDataReader::ReadFromInputStringOff | ( | ) | [virtual] |
Enable reading from an InputString or InputArray instead of the default, a file.
virtual int vtkDataReader::GetFileType | ( | ) | [virtual] |
Get the type of file (ASCII or BINARY). Returned value only valid after file has been read.
int vtkDataReader::GetNumberOfScalarsInFile | ( | ) | [inline] |
How many attributes of various types are in this file? This requires reading the file, so the filename must be set prior to invoking this operation. (Note: file characteristics are cached, so only a single read is necessary to return file characteristics.)
Definition at line 125 of file vtkDataReader.h.
int vtkDataReader::GetNumberOfVectorsInFile | ( | ) | [inline] |
How many attributes of various types are in this file? This requires reading the file, so the filename must be set prior to invoking this operation. (Note: file characteristics are cached, so only a single read is necessary to return file characteristics.)
Definition at line 127 of file vtkDataReader.h.
int vtkDataReader::GetNumberOfTensorsInFile | ( | ) | [inline] |
How many attributes of various types are in this file? This requires reading the file, so the filename must be set prior to invoking this operation. (Note: file characteristics are cached, so only a single read is necessary to return file characteristics.)
Definition at line 129 of file vtkDataReader.h.
int vtkDataReader::GetNumberOfNormalsInFile | ( | ) | [inline] |
How many attributes of various types are in this file? This requires reading the file, so the filename must be set prior to invoking this operation. (Note: file characteristics are cached, so only a single read is necessary to return file characteristics.)
Definition at line 131 of file vtkDataReader.h.
int vtkDataReader::GetNumberOfTCoordsInFile | ( | ) | [inline] |
How many attributes of various types are in this file? This requires reading the file, so the filename must be set prior to invoking this operation. (Note: file characteristics are cached, so only a single read is necessary to return file characteristics.)
Definition at line 133 of file vtkDataReader.h.
int vtkDataReader::GetNumberOfFieldDataInFile | ( | ) | [inline] |
How many attributes of various types are in this file? This requires reading the file, so the filename must be set prior to invoking this operation. (Note: file characteristics are cached, so only a single read is necessary to return file characteristics.)
Definition at line 135 of file vtkDataReader.h.
const char* vtkDataReader::GetScalarsNameInFile | ( | int | i | ) |
What is the name of the ith attribute of a certain type in this file? This requires reading the file, so the filename must be set prior to invoking this operation.
const char* vtkDataReader::GetVectorsNameInFile | ( | int | i | ) |
What is the name of the ith attribute of a certain type in this file? This requires reading the file, so the filename must be set prior to invoking this operation.
const char* vtkDataReader::GetTensorsNameInFile | ( | int | i | ) |
What is the name of the ith attribute of a certain type in this file? This requires reading the file, so the filename must be set prior to invoking this operation.
const char* vtkDataReader::GetNormalsNameInFile | ( | int | i | ) |
What is the name of the ith attribute of a certain type in this file? This requires reading the file, so the filename must be set prior to invoking this operation.
const char* vtkDataReader::GetTCoordsNameInFile | ( | int | i | ) |
What is the name of the ith attribute of a certain type in this file? This requires reading the file, so the filename must be set prior to invoking this operation.
const char* vtkDataReader::GetFieldDataNameInFile | ( | int | i | ) |
What is the name of the ith attribute of a certain type in this file? This requires reading the file, so the filename must be set prior to invoking this operation.
virtual void vtkDataReader::SetScalarsName | ( | const char * | ) | [virtual] |
Set the name of the scalar data to extract. If not specified, first scalar data encountered is extracted.
virtual char* vtkDataReader::GetScalarsName | ( | ) | [virtual] |
Set the name of the scalar data to extract. If not specified, first scalar data encountered is extracted.
virtual void vtkDataReader::SetVectorsName | ( | const char * | ) | [virtual] |
Set the name of the vector data to extract. If not specified, first vector data encountered is extracted.
virtual char* vtkDataReader::GetVectorsName | ( | ) | [virtual] |
Set the name of the vector data to extract. If not specified, first vector data encountered is extracted.
virtual void vtkDataReader::SetTensorsName | ( | const char * | ) | [virtual] |
Set the name of the tensor data to extract. If not specified, first tensor data encountered is extracted.
virtual char* vtkDataReader::GetTensorsName | ( | ) | [virtual] |
Set the name of the tensor data to extract. If not specified, first tensor data encountered is extracted.
virtual void vtkDataReader::SetNormalsName | ( | const char * | ) | [virtual] |
Set the name of the normal data to extract. If not specified, first normal data encountered is extracted.
virtual char* vtkDataReader::GetNormalsName | ( | ) | [virtual] |
Set the name of the normal data to extract. If not specified, first normal data encountered is extracted.
virtual void vtkDataReader::SetTCoordsName | ( | const char * | ) | [virtual] |
Set the name of the texture coordinate data to extract. If not specified, first texture coordinate data encountered is extracted.
virtual char* vtkDataReader::GetTCoordsName | ( | ) | [virtual] |
Set the name of the texture coordinate data to extract. If not specified, first texture coordinate data encountered is extracted.
virtual void vtkDataReader::SetLookupTableName | ( | const char * | ) | [virtual] |
Set the name of the lookup table data to extract. If not specified, uses lookup table named by scalar. Otherwise, this specification supersedes.
virtual char* vtkDataReader::GetLookupTableName | ( | ) | [virtual] |
Set the name of the lookup table data to extract. If not specified, uses lookup table named by scalar. Otherwise, this specification supersedes.
virtual void vtkDataReader::SetFieldDataName | ( | const char * | ) | [virtual] |
Set the name of the field data to extract. If not specified, uses first field data encountered in file.
virtual char* vtkDataReader::GetFieldDataName | ( | ) | [virtual] |
Set the name of the field data to extract. If not specified, uses first field data encountered in file.
virtual void vtkDataReader::SetReadAllScalars | ( | int | ) | [virtual] |
Enable reading all scalars.
virtual int vtkDataReader::GetReadAllScalars | ( | ) | [virtual] |
Enable reading all scalars.
virtual void vtkDataReader::ReadAllScalarsOn | ( | ) | [virtual] |
Enable reading all scalars.
virtual void vtkDataReader::ReadAllScalarsOff | ( | ) | [virtual] |
Enable reading all scalars.
virtual void vtkDataReader::SetReadAllVectors | ( | int | ) | [virtual] |
Enable reading all vectors.
virtual int vtkDataReader::GetReadAllVectors | ( | ) | [virtual] |
Enable reading all vectors.
virtual void vtkDataReader::ReadAllVectorsOn | ( | ) | [virtual] |
Enable reading all vectors.
virtual void vtkDataReader::ReadAllVectorsOff | ( | ) | [virtual] |
Enable reading all vectors.
virtual void vtkDataReader::SetReadAllNormals | ( | int | ) | [virtual] |
Enable reading all normals.
virtual int vtkDataReader::GetReadAllNormals | ( | ) | [virtual] |
Enable reading all normals.
virtual void vtkDataReader::ReadAllNormalsOn | ( | ) | [virtual] |
Enable reading all normals.
virtual void vtkDataReader::ReadAllNormalsOff | ( | ) | [virtual] |
Enable reading all normals.
virtual void vtkDataReader::SetReadAllTensors | ( | int | ) | [virtual] |
Enable reading all tensors.
virtual int vtkDataReader::GetReadAllTensors | ( | ) | [virtual] |
Enable reading all tensors.
virtual void vtkDataReader::ReadAllTensorsOn | ( | ) | [virtual] |
Enable reading all tensors.
virtual void vtkDataReader::ReadAllTensorsOff | ( | ) | [virtual] |
Enable reading all tensors.
virtual void vtkDataReader::SetReadAllColorScalars | ( | int | ) | [virtual] |
Enable reading all color scalars.
virtual int vtkDataReader::GetReadAllColorScalars | ( | ) | [virtual] |
Enable reading all color scalars.
virtual void vtkDataReader::ReadAllColorScalarsOn | ( | ) | [virtual] |
Enable reading all color scalars.
virtual void vtkDataReader::ReadAllColorScalarsOff | ( | ) | [virtual] |
Enable reading all color scalars.
virtual void vtkDataReader::SetReadAllTCoords | ( | int | ) | [virtual] |
Enable reading all tcoords.
virtual int vtkDataReader::GetReadAllTCoords | ( | ) | [virtual] |
Enable reading all tcoords.
virtual void vtkDataReader::ReadAllTCoordsOn | ( | ) | [virtual] |
Enable reading all tcoords.
virtual void vtkDataReader::ReadAllTCoordsOff | ( | ) | [virtual] |
Enable reading all tcoords.
virtual void vtkDataReader::SetReadAllFields | ( | int | ) | [virtual] |
Enable reading all fields.
virtual int vtkDataReader::GetReadAllFields | ( | ) | [virtual] |
Enable reading all fields.
virtual void vtkDataReader::ReadAllFieldsOn | ( | ) | [virtual] |
Enable reading all fields.
virtual void vtkDataReader::ReadAllFieldsOff | ( | ) | [virtual] |
Enable reading all fields.
int vtkDataReader::OpenVTKFile | ( | ) |
Open a vtk data file. Returns zero if error.
int vtkDataReader::ReadHeader | ( | ) |
Read the header of a vtk data file. Returns 0 if error.
int vtkDataReader::ReadCellData | ( | vtkDataSet * | ds, |
int | numCells | ||
) |
Read the cell data of a vtk data file. The number of cells (from the dataset) must match the number of cells defined in cell attributes (unless no geometry was defined).
int vtkDataReader::ReadPointData | ( | vtkDataSet * | ds, |
int | numPts | ||
) |
Read the point data of a vtk data file. The number of points (from the dataset) must match the number of points defined in point attributes (unless no geometry was defined).
int vtkDataReader::ReadPoints | ( | vtkPointSet * | ps, |
int | numPts | ||
) |
Read point coordinates. Return 0 if error.
Read point coordinates. Return 0 if error.
Read the vertex data of a vtk data file. The number of vertices (from the graph) must match the number of vertices defined in vertex attributes (unless no geometry was defined).
Read the edge data of a vtk data file. The number of edges (from the graph) must match the number of edges defined in edge attributes (unless no geometry was defined).
Read a piece of the cells (for streaming compliance)
int vtkDataReader::ReadCoordinates | ( | vtkRectilinearGrid * | rg, |
int | axes, | ||
int | numCoords | ||
) |
Read the coordinates for a rectilinear grid. The axes parameter specifies which coordinate axes (0,1,2) is being read.
vtkAbstractArray* vtkDataReader::ReadArray | ( | const char * | dataType, |
int | numTuples, | ||
int | numComp | ||
) |
Helper functions for reading data.
vtkFieldData* vtkDataReader::ReadFieldData | ( | ) |
Helper functions for reading data.
int vtkDataReader::Read | ( | char * | ) |
Internal function to read in a value. Returns zero if there was an error.
int vtkDataReader::Read | ( | unsigned char * | ) |
Internal function to read in a value. Returns zero if there was an error.
int vtkDataReader::Read | ( | short * | ) |
Internal function to read in a value. Returns zero if there was an error.
int vtkDataReader::Read | ( | unsigned short * | ) |
Internal function to read in a value. Returns zero if there was an error.
Internal function to read in a value. Returns zero if there was an error.
Internal function to read in a value. Returns zero if there was an error.
int vtkDataReader::Read | ( | long * | ) |
Internal function to read in a value. Returns zero if there was an error.
int vtkDataReader::Read | ( | unsigned long * | ) |
Internal function to read in a value. Returns zero if there was an error.
Internal function to read in a value. Returns zero if there was an error.
Internal function to read in a value. Returns zero if there was an error.
void vtkDataReader::CloseVTKFile | ( | ) |
Close the vtk file.
int vtkDataReader::ReadLine | ( | char | result[256] | ) |
Internal function to read in a line up to 256 characters. Returns zero if there was an error.
int vtkDataReader::ReadString | ( | char | result[256] | ) |
Internal function to read in a string up to 256 characters. Returns zero if there was an error.
char* vtkDataReader::LowerCase | ( | char * | str, |
const size_t | len = 256 |
||
) |
Helper method for reading in data.
istream* vtkDataReader::GetIStream | ( | ) | [inline] |
Return the istream being used to read in the data.
Definition at line 343 of file vtkDataReader.h.
virtual int vtkDataReader::ReadMetaData | ( | vtkInformation * | ) | [inline, virtual] |
Read the meta information from the file. This needs to be public to it can be accessed by vtkDataSetReader.
Reimplemented in vtkStructuredGridReader, vtkStructuredPointsReader, and vtkRectilinearGridReader.
Definition at line 349 of file vtkDataReader.h.
void vtkDataReader::SetScalarLut | ( | const char * | lut | ) | [protected] |
virtual char* vtkDataReader::GetScalarLut | ( | ) | [protected, virtual] |
int vtkDataReader::ReadScalarData | ( | vtkDataSetAttributes * | a, |
int | num | ||
) | [protected] |
int vtkDataReader::ReadVectorData | ( | vtkDataSetAttributes * | a, |
int | num | ||
) | [protected] |
int vtkDataReader::ReadNormalData | ( | vtkDataSetAttributes * | a, |
int | num | ||
) | [protected] |
int vtkDataReader::ReadTensorData | ( | vtkDataSetAttributes * | a, |
int | num | ||
) | [protected] |
int vtkDataReader::ReadCoScalarData | ( | vtkDataSetAttributes * | a, |
int | num | ||
) | [protected] |
int vtkDataReader::ReadLutData | ( | vtkDataSetAttributes * | a | ) | [protected] |
int vtkDataReader::ReadTCoordsData | ( | vtkDataSetAttributes * | a, |
int | num | ||
) | [protected] |
int vtkDataReader::ReadGlobalIds | ( | vtkDataSetAttributes * | a, |
int | num | ||
) | [protected] |
int vtkDataReader::ReadPedigreeIds | ( | vtkDataSetAttributes * | a, |
int | num | ||
) | [protected] |
int vtkDataReader::ReadDataSetData | ( | vtkDataSet * | ds | ) | [protected] |
void vtkDataReader::InitializeCharacteristics | ( | ) | [protected] |
int vtkDataReader::CharacterizeFile | ( | ) | [protected] |
void vtkDataReader::CheckFor | ( | const char * | name, |
char * | line, | ||
int & | num, | ||
char **& | array, | ||
int & | allocSize | ||
) | [protected] |
int vtkDataReader::DecodeString | ( | char * | resname, |
const char * | name | ||
) | [protected] |
Decode a string. This method is the inverse of vtkWriter::EncodeString. Returns the length of the result string.
virtual int vtkDataReader::ProcessRequest | ( | vtkInformation * | request, |
vtkInformationVector ** | inInfo, | ||
vtkInformationVector * | outInfo | ||
) | [protected, 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.
Reimplemented in vtkGenericDataObjectReader, vtkDataSetReader, vtkGraphReader, and vtkCompositeDataReader.
virtual int vtkDataReader::RequestData | ( | vtkInformation * | , |
vtkInformationVector ** | , | ||
vtkInformationVector * | |||
) | [inline, protected, virtual] |
Reimplemented in vtkGenericDataObjectReader, vtkDataSetReader, vtkOpenQubeMoleculeSource, vtkStructuredGridReader, vtkStructuredPointsReader, vtkRectilinearGridReader, vtkPolyDataReader, vtkUnstructuredGridReader, vtkDataObjectReader, vtkTableReader, vtkGraphReader, vtkTreeReader, vtkCMLMoleculeReader, vtkDatabaseToTableReader, vtkCompositeDataReader, vtkMySQLToTableReader, vtkPostgreSQLToTableReader, and vtkSQLiteToTableReader.
Definition at line 432 of file vtkDataReader.h.
virtual int vtkDataReader::RequestUpdateExtent | ( | vtkInformation * | , |
vtkInformationVector ** | , | ||
vtkInformationVector * | |||
) | [inline, protected, virtual] |
Reimplemented in vtkPolyDataReader, vtkUnstructuredGridReader, vtkGraphReader, vtkTableReader, vtkTreeReader, and vtkCompositeDataReader.
Definition at line 435 of file vtkDataReader.h.
virtual int vtkDataReader::RequestInformation | ( | vtkInformation * | , |
vtkInformationVector ** | , | ||
vtkInformationVector * | |||
) | [inline, protected, virtual] |
Reimplemented in vtkGenericDataObjectReader, vtkDataSetReader, vtkStructuredPointsReader, vtkStructuredGridReader, and vtkRectilinearGridReader.
Definition at line 438 of file vtkDataReader.h.
char* vtkDataReader::FileName [protected] |
Reimplemented in vtkOpenQubeMoleculeSource, and vtkCMLMoleculeReader.
Definition at line 355 of file vtkDataReader.h.
int vtkDataReader::FileType [protected] |
Definition at line 356 of file vtkDataReader.h.
istream* vtkDataReader::IS [protected] |
Definition at line 357 of file vtkDataReader.h.
char* vtkDataReader::ScalarsName [protected] |
Definition at line 359 of file vtkDataReader.h.
char* vtkDataReader::VectorsName [protected] |
Definition at line 360 of file vtkDataReader.h.
char* vtkDataReader::TensorsName [protected] |
Definition at line 361 of file vtkDataReader.h.
char* vtkDataReader::TCoordsName [protected] |
Definition at line 362 of file vtkDataReader.h.
char* vtkDataReader::NormalsName [protected] |
Definition at line 363 of file vtkDataReader.h.
char* vtkDataReader::LookupTableName [protected] |
Definition at line 364 of file vtkDataReader.h.
char* vtkDataReader::FieldDataName [protected] |
Definition at line 365 of file vtkDataReader.h.
char* vtkDataReader::ScalarLut [protected] |
Definition at line 366 of file vtkDataReader.h.
int vtkDataReader::ReadFromInputString [protected] |
Definition at line 368 of file vtkDataReader.h.
char* vtkDataReader::InputString [protected] |
Definition at line 369 of file vtkDataReader.h.
int vtkDataReader::InputStringLength [protected] |
Definition at line 370 of file vtkDataReader.h.
int vtkDataReader::InputStringPos [protected] |
Definition at line 371 of file vtkDataReader.h.
char* vtkDataReader::Header [protected] |
Definition at line 374 of file vtkDataReader.h.
int vtkDataReader::NumberOfScalarsInFile [protected] |
Definition at line 391 of file vtkDataReader.h.
char** vtkDataReader::ScalarsNameInFile [protected] |
Definition at line 392 of file vtkDataReader.h.
int vtkDataReader::ScalarsNameAllocSize [protected] |
Definition at line 393 of file vtkDataReader.h.
int vtkDataReader::NumberOfVectorsInFile [protected] |
Definition at line 394 of file vtkDataReader.h.
char** vtkDataReader::VectorsNameInFile [protected] |
Definition at line 395 of file vtkDataReader.h.
int vtkDataReader::VectorsNameAllocSize [protected] |
Definition at line 396 of file vtkDataReader.h.
int vtkDataReader::NumberOfTensorsInFile [protected] |
Definition at line 397 of file vtkDataReader.h.
char** vtkDataReader::TensorsNameInFile [protected] |
Definition at line 398 of file vtkDataReader.h.
int vtkDataReader::TensorsNameAllocSize [protected] |
Definition at line 399 of file vtkDataReader.h.
int vtkDataReader::NumberOfTCoordsInFile [protected] |
Definition at line 400 of file vtkDataReader.h.
char** vtkDataReader::TCoordsNameInFile [protected] |
Definition at line 401 of file vtkDataReader.h.
int vtkDataReader::TCoordsNameAllocSize [protected] |
Definition at line 402 of file vtkDataReader.h.
int vtkDataReader::NumberOfNormalsInFile [protected] |
Definition at line 403 of file vtkDataReader.h.
char** vtkDataReader::NormalsNameInFile [protected] |
Definition at line 404 of file vtkDataReader.h.
int vtkDataReader::NormalsNameAllocSize [protected] |
Definition at line 405 of file vtkDataReader.h.
int vtkDataReader::NumberOfFieldDataInFile [protected] |
Definition at line 406 of file vtkDataReader.h.
char** vtkDataReader::FieldDataNameInFile [protected] |
Definition at line 407 of file vtkDataReader.h.
int vtkDataReader::FieldDataNameAllocSize [protected] |
Definition at line 408 of file vtkDataReader.h.
vtkTimeStamp vtkDataReader::CharacteristicsTime [protected] |
Definition at line 409 of file vtkDataReader.h.
int vtkDataReader::ReadAllScalars [protected] |
Definition at line 411 of file vtkDataReader.h.
int vtkDataReader::ReadAllVectors [protected] |
Definition at line 412 of file vtkDataReader.h.
int vtkDataReader::ReadAllNormals [protected] |
Definition at line 413 of file vtkDataReader.h.
int vtkDataReader::ReadAllTensors [protected] |
Definition at line 414 of file vtkDataReader.h.
int vtkDataReader::ReadAllColorScalars [protected] |
Definition at line 415 of file vtkDataReader.h.
int vtkDataReader::ReadAllTCoords [protected] |
Definition at line 416 of file vtkDataReader.h.
int vtkDataReader::ReadAllFields [protected] |
Definition at line 417 of file vtkDataReader.h.
vtkCharArray* vtkDataReader::InputArray [protected] |
Definition at line 424 of file vtkDataReader.h.