vtkPDataSetReader Class Reference

#include <vtkPDataSetReader.h>

Inheritance diagram for vtkPDataSetReader:

Inheritance graph
[legend]
Collaboration diagram for vtkPDataSetReader:

Collaboration graph
[legend]

List of all members.


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.


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 vtkPDataSetReaderSafeDownCast (vtkObject *o)
static vtkPDataSetReaderNew ()

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)
vtkDataSetCheckOutput ()
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

Member Typedef Documentation

Reimplemented from vtkDataSetAlgorithm.

Definition at line 36 of file vtkPDataSetReader.h.


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]

Reimplemented from vtkDataSetAlgorithm.

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 vtkTypeMacro 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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkDataSetAlgorithm.

static vtkPDataSetReader* vtkPDataSetReader::SafeDownCast ( vtkObject o  )  [static]

Reimplemented from vtkDataSetAlgorithm.

static vtkPDataSetReader* vtkPDataSetReader::New (  )  [static]

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.

virtual int vtkPDataSetReader::RequestDataObject ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

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.

void vtkPDataSetReader::ReadPVTKFileInformation ( ifstream *  fp,
vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected]

void vtkPDataSetReader::ReadVTKFileInformation ( ifstream *  fp,
vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected]

virtual int vtkPDataSetReader::RequestData ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
) [protected, virtual]

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.

int vtkPDataSetReader::PolyDataExecute ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
) [protected]

int vtkPDataSetReader::UnstructuredGridExecute ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
) [protected]

int vtkPDataSetReader::ImageDataExecute ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
) [protected]

int vtkPDataSetReader::StructuredGridExecute ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
) [protected]

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

Definition at line 97 of file vtkPDataSetReader.h.

Definition at line 98 of file vtkPDataSetReader.h.

char* vtkPDataSetReader::FileName [protected]

Definition at line 99 of file vtkPDataSetReader.h.

int vtkPDataSetReader::DataType [protected]

Definition at line 100 of file vtkPDataSetReader.h.

Definition at line 101 of file vtkPDataSetReader.h.

Definition at line 102 of file vtkPDataSetReader.h.

Definition at line 103 of file vtkPDataSetReader.h.


The documentation for this class was generated from the following file:

Generated on Wed Aug 24 11:54:23 2011 for VTK by  doxygen 1.5.6