Manages reading pieces of a data set.
More...
#include <vtkPDataSetReader.h>
List of all members.
Public Types |
typedef vtkDataSetAlgorithm | Superclass |
Public Member Functions |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
int | CanReadFile (const char *filename) |
|
|
virtual void | SetFileName (const char *) |
virtual char * | GetFileName () |
|
|
virtual int | GetDataType () |
Static Public Member Functions |
static int | IsTypeOf (const char *type) |
static vtkPDataSetReader * | SafeDownCast (vtkObject *o) |
static vtkPDataSetReader * | New () |
Protected Member Functions |
| vtkPDataSetReader () |
| ~vtkPDataSetReader () |
virtual int | RequestDataObject (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
void | ReadPVTKFileInformation (ifstream *fp, vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
void | ReadVTKFileInformation (ifstream *fp, vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
virtual int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
int | PolyDataExecute (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
int | UnstructuredGridExecute (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
int | ImageDataExecute (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
int | StructuredGridExecute (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
void | CoverExtent (int ext[6], int *pieceMask) |
vtkDataSet * | CheckOutput () |
void | SetNumberOfPieces (int num) |
ifstream * | OpenFile (const char *) |
int | ReadXML (ifstream *file, char **block, char **param, char **value) |
void | SkipFieldData (ifstream *file) |
Protected Attributes |
int | VTKFileFlag |
int | StructuredFlag |
char * | FileName |
int | DataType |
int | NumberOfPieces |
char ** | PieceFileNames |
int ** | PieceExtents |
Detailed Description
Manages reading pieces of a data set.
vtkPDataSetReader will read a piece of a file, it takes as input a metadata file that lists all of the files in a data set.
- Tests:
- vtkPDataSetReader (Tests)
Definition at line 32 of file vtkPDataSetReader.h.
Member Typedef Documentation
Constructor & Destructor Documentation
vtkPDataSetReader::vtkPDataSetReader |
( |
|
) |
[protected] |
vtkPDataSetReader::~vtkPDataSetReader |
( |
|
) |
[protected] |
Member Function Documentation
void vtkPDataSetReader::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 vtkDataSetAlgorithm.
virtual const char* vtkPDataSetReader::GetClassName |
( |
|
) |
[virtual] |
static int vtkPDataSetReader::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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkDataSetAlgorithm.
virtual int vtkPDataSetReader::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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkDataSetAlgorithm.
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkDataSetAlgorithm.
virtual void vtkPDataSetReader::SetFileName |
( |
const char * |
|
) |
[virtual] |
This file to open and read.
virtual char* vtkPDataSetReader::GetFileName |
( |
|
) |
[virtual] |
This file to open and read.
virtual int vtkPDataSetReader::GetDataType |
( |
|
) |
[virtual] |
This is set when UpdateInformation is called. It shows the type of the output.
int vtkPDataSetReader::CanReadFile |
( |
const char * |
filename |
) |
|
Called to determine if the file can be read by the reader.
This is called within ProcessRequest to when a request asks the algorithm to create empty output data objects. This typically happens early on in the execution of the pipeline. The default behavior is to create an output DataSet of the same type as the input for each output port. This method can be overridden to change the output data type of an algorithm. This happens in the third pass of the pipeline execution.
Reimplemented from vtkDataSetAlgorithm.
This is called within ProcessRequest when a request asks the algorithm to do its work. This is the method you should override to do whatever the algorithm is designed to do. This happens during the fourth pass in the pipeline execution process.
Reimplemented from vtkDataSetAlgorithm.
void vtkPDataSetReader::CoverExtent |
( |
int |
ext[6], |
|
|
int * |
pieceMask | |
|
) |
| | [protected] |
vtkDataSet* vtkPDataSetReader::CheckOutput |
( |
|
) |
[protected] |
void vtkPDataSetReader::SetNumberOfPieces |
( |
int |
num |
) |
[protected] |
ifstream* vtkPDataSetReader::OpenFile |
( |
const char * |
|
) |
[protected] |
int vtkPDataSetReader::ReadXML |
( |
ifstream * |
file, |
|
|
char ** |
block, |
|
|
char ** |
param, |
|
|
char ** |
value | |
|
) |
| | [protected] |
void vtkPDataSetReader::SkipFieldData |
( |
ifstream * |
file |
) |
[protected] |
Member Data Documentation
The documentation for this class was generated from the following file: