#include <vtkDataReader.h>
Inheritance diagram for vtkDataReader:
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 44 of file vtkDataReader.h.
|
Reimplemented from vtkAlgorithm. Reimplemented in vtkDataObjectReader, vtkDataSetReader, vtkPolyDataReader, vtkRectilinearGridReader, vtkStructuredGridReader, vtkStructuredPointsReader, and vtkUnstructuredGridReader. Definition at line 48 of file vtkDataReader.h. |
|
|
|
|
|
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. Reimplemented from vtkAlgorithm. Reimplemented in vtkDataObjectReader, vtkDataSetReader, vtkPolyDataReader, vtkRectilinearGridReader, vtkStructuredGridReader, vtkStructuredPointsReader, and vtkUnstructuredGridReader. |
|
Reimplemented from vtkAlgorithm. Reimplemented in vtkDataObjectReader, vtkDataSetReader, vtkPolyDataReader, vtkRectilinearGridReader, vtkStructuredGridReader, vtkStructuredPointsReader, and vtkUnstructuredGridReader. |
|
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 vtkDataObjectReader, vtkDataSetReader, vtkPolyDataReader, vtkRectilinearGridReader, vtkStructuredGridReader, vtkStructuredPointsReader, and vtkUnstructuredGridReader. |
|
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 vtkDataObjectReader, vtkDataSetReader, vtkPolyDataReader, vtkRectilinearGridReader, vtkStructuredGridReader, vtkStructuredPointsReader, and vtkUnstructuredGridReader. |
|
Reimplemented from vtkAlgorithm. Reimplemented in vtkDataObjectReader, vtkDataSetReader, vtkPolyDataReader, vtkRectilinearGridReader, vtkStructuredGridReader, vtkStructuredPointsReader, and vtkUnstructuredGridReader. |
|
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 vtkDataObjectReader, vtkDataSetReader, vtkPolyDataReader, vtkRectilinearGridReader, vtkStructuredGridReader, vtkStructuredPointsReader, and vtkUnstructuredGridReader. |
|
Specify file name of vtk data file to read. |
|
|
|
Is the file a valid vtk file of the passed dataset type ? The dataset type is passed as a lower case string. |
|
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 61 of file vtkDataReader.h. |
|
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 63 of file vtkDataReader.h. |
|
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 65 of file vtkDataReader.h. |
|
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 67 of file vtkDataReader.h. |
|
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 69 of file vtkDataReader.h. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
Specify the vtkCharArray to be used when reading from a string. If set, this array has precendence 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. |
|
Specify the vtkCharArray to be used when reading from a string. If set, this array has precendence 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. |
|
Get the header from the vtk data file. |
|
Enable reading from an InputString or InputArray instead of the default, a file. |
|
Enable reading from an InputString or InputArray instead of the default, a file. |
|
Enable reading from an InputString or InputArray instead of the default, a file. |
|
Enable reading from an InputString or InputArray instead of the default, a file. |
|
Get the type of file (ASCII or BINARY). Returned value only valid after file has been read. |
|
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 120 of file vtkDataReader.h. |
|
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 122 of file vtkDataReader.h. |
|
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 124 of file vtkDataReader.h. |
|
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 126 of file vtkDataReader.h. |
|
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 128 of file vtkDataReader.h. |
|
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 130 of file vtkDataReader.h. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
Set the name of the scalar data to extract. If not specified, first scalar data encountered is extracted. |
|
Set the name of the scalar data to extract. If not specified, first scalar data encountered is extracted. |
|
Set the name of the vector data to extract. If not specified, first vector data encountered is extracted. |
|
Set the name of the vector data to extract. If not specified, first vector data encountered is extracted. |
|
Set the name of the tensor data to extract. If not specified, first tensor data encountered is extracted. |
|
Set the name of the tensor data to extract. If not specified, first tensor data encountered is extracted. |
|
Set the name of the normal data to extract. If not specified, first normal data encountered is extracted. |
|
Set the name of the normal data to extract. If not specified, first normal data encountered is extracted. |
|
Set the name of the texture coordinate data to extract. If not specified, first texture coordinate data encountered is extracted. |
|
Set the name of the texture coordinate data to extract. If not specified, first texture coordinate data encountered is extracted. |
|
Set the name of the lookup table data to extract. If not specified, uses lookup table named by scalar. Otherwise, this specification supersedes. |
|
Set the name of the lookup table data to extract. If not specified, uses lookup table named by scalar. Otherwise, this specification supersedes. |
|
Set the name of the field data to extract. If not specified, uses first field data encountered in file. |
|
Set the name of the field data to extract. If not specified, uses first field data encountered in file. |
|
Enable reading all scalars. |
|
Enable reading all scalars. |
|
Enable reading all scalars. |
|
Enable reading all scalars. |
|
Enable reading all vectors. |
|
Enable reading all vectors. |
|
Enable reading all vectors. |
|
Enable reading all vectors. |
|
Enable reading all normals. |
|
Enable reading all normals. |
|
Enable reading all normals. |
|
Enable reading all normals. |
|
Enable reading all tensors. |
|
Enable reading all tensors. |
|
Enable reading all tensors. |
|
Enable reading all tensors. |
|
Enable reading all color scalars. |
|
Enable reading all color scalars. |
|
Enable reading all color scalars. |
|
Enable reading all color scalars. |
|
Enable reading all tcoords. |
|
Enable reading all tcoords. |
|
Enable reading all tcoords. |
|
Enable reading all tcoords. |
|
Enable reading all fields. |
|
Enable reading all fields. |
|
Enable reading all fields. |
|
Enable reading all fields. |
|
Open a vtk data file. Returns zero if error. |
|
Read the header of a vtk data file. Returns 0 if error. |
|
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). |
|
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). |
|
Read point coordinates. Return 0 if error. |
|
Read a bunch of "cells". Return 0 if error. |
|
Read a piece of the cells (for streaming compliance) |
|
Read the coordinates for a rectilinear grid. The axes parameter specifies which coordinate axes (0,1,2) is being read. |
|
Helper functions for reading data. |
|
Read the coordinates for a rectilinear grid. The axes parameter specifies which coordinate axes (0,1,2) is being read. |
|
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. |
|
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. |
|
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. |
|
Internal function to read in a value. Returns zero if there was an error. |
|
Close the vtk file. |
|
Internal function to read in a line up to 256 characters. Returns zero if there was an error. |
|
Internal function to read in a string up to 256 characters. Returns zero if there was an error. |
|
Helper method for reading in data. |
|
Return the istream being used to read in the data. Definition at line 311 of file vtkDataReader.h. |
|
Read the meta information from the file. This needs to be public to it can be accessed by vtkDataSetReader. Reimplemented in vtkRectilinearGridReader, vtkStructuredGridReader, and vtkStructuredPointsReader. Definition at line 316 of file vtkDataReader.h. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Decode the name of array. This method is the inverse of vtkWriter::EncodeName. |
|
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 vtkDataSetReader. |
|
Reimplemented in vtkDataObjectReader, vtkDataSetReader, vtkPolyDataReader, vtkRectilinearGridReader, vtkStructuredGridReader, vtkStructuredPointsReader, and vtkUnstructuredGridReader. Definition at line 397 of file vtkDataReader.h. |
|
Reimplemented in vtkPolyDataReader, and vtkUnstructuredGridReader. Definition at line 400 of file vtkDataReader.h. |
|
Reimplemented in vtkDataSetReader, vtkRectilinearGridReader, vtkStructuredGridReader, and vtkStructuredPointsReader. Definition at line 403 of file vtkDataReader.h. |
|
Definition at line 322 of file vtkDataReader.h. |
|
Definition at line 323 of file vtkDataReader.h. |
|
Definition at line 324 of file vtkDataReader.h. |
|
Definition at line 326 of file vtkDataReader.h. |
|
Definition at line 327 of file vtkDataReader.h. |
|
Definition at line 328 of file vtkDataReader.h. |
|
Definition at line 329 of file vtkDataReader.h. |
|
Definition at line 330 of file vtkDataReader.h. |
|
Definition at line 331 of file vtkDataReader.h. |
|
Definition at line 332 of file vtkDataReader.h. |
|
Definition at line 333 of file vtkDataReader.h. |
|
Definition at line 335 of file vtkDataReader.h. |
|
Definition at line 336 of file vtkDataReader.h. |
|
Definition at line 337 of file vtkDataReader.h. |
|
Definition at line 338 of file vtkDataReader.h. |
|
Definition at line 341 of file vtkDataReader.h. |
|
Definition at line 356 of file vtkDataReader.h. |
|
Definition at line 357 of file vtkDataReader.h. |
|
Definition at line 358 of file vtkDataReader.h. |
|
Definition at line 359 of file vtkDataReader.h. |
|
Definition at line 360 of file vtkDataReader.h. |
|
Definition at line 361 of file vtkDataReader.h. |
|
Definition at line 362 of file vtkDataReader.h. |
|
Definition at line 363 of file vtkDataReader.h. |
|
Definition at line 364 of file vtkDataReader.h. |
|
Definition at line 365 of file vtkDataReader.h. |
|
Definition at line 366 of file vtkDataReader.h. |
|
Definition at line 367 of file vtkDataReader.h. |
|
Definition at line 368 of file vtkDataReader.h. |
|
Definition at line 369 of file vtkDataReader.h. |
|
Definition at line 370 of file vtkDataReader.h. |
|
Definition at line 371 of file vtkDataReader.h. |
|
Definition at line 372 of file vtkDataReader.h. |
|
Definition at line 373 of file vtkDataReader.h. |
|
Definition at line 374 of file vtkDataReader.h. |
|
Definition at line 376 of file vtkDataReader.h. |
|
Definition at line 377 of file vtkDataReader.h. |
|
Definition at line 378 of file vtkDataReader.h. |
|
Definition at line 379 of file vtkDataReader.h. |
|
Definition at line 380 of file vtkDataReader.h. |
|
Definition at line 381 of file vtkDataReader.h. |
|
Definition at line 382 of file vtkDataReader.h. |
|
Definition at line 389 of file vtkDataReader.h. |