Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

vtkPDataSetReader Class Reference

Manages writing pieces of a data set. More...

#include <vtkPDataSetReader.h>

Inheritance diagram for vtkPDataSetReader:

Inheritance graph
[legend]
Collaboration diagram for vtkPDataSetReader:

Collaboration graph
[legend]
List of all members.

Public Methods

void PrintSelf (ostream &os, vtkIndent indent)
virtual const char * GetClassName ()
virtual int IsA (const char *type)
virtual void Update ()
virtual void SetFileName (const char *)
virtual char * GetFileName ()
void SetOutput (vtkDataSet *output)
virtual vtkDataSetGetOutput ()
virtual int GetDataType ()

Static Public Methods

int IsTypeOf (const char *type)
vtkPDataSetReader * SafeDownCast (vtkObject *o)
vtkPDataSetReader * New ()

Protected Methods

 vtkPDataSetReader ()
 ~vtkPDataSetReader ()
 vtkPDataSetReader (const vtkPDataSetReader &)
void operator= (const vtkPDataSetReader &)
virtual void ExecuteInformation ()
void ReadPVTKFileInformation (ifstream *fp)
void ReadVTKFileInformation (ifstream *fp)
virtual void Execute ()
void PolyDataExecute ()
void UnstructuredGridExecute ()
void ImageDataExecute ()
void StructuredGridExecute ()
void CoverExtent (int ext[6], int *pieceMask)
vtkDataSetCheckOutput ()
void SetNumberOfPieces (int num)
ifstream * vtkPDataSetReader::OpenFile ()
int ReadXML (ifstream *file, char **block, char **param, char **value)

Protected Attributes

int VTKFileFlag
int StructuredFlag
char * FileName
int DataType
int NumberOfPieces
char ** PieceFileNames
int ** PieceExtents

Detailed Description

Manages writing pieces of a data set.

Date:
2001/11/20 19:01:41
Revision:
1.5

vtkPDataSetReader will write a piece of a file, and will also create a metadata file that lists all of the files in a data set.

Tests:
vtkPDataSetReader (Tests)

Definition at line 61 of file vtkPDataSetReader.h.


Constructor & Destructor Documentation

vtkPDataSetReader::vtkPDataSetReader   [protected]
 

vtkPDataSetReader::~vtkPDataSetReader   [protected]
 

vtkPDataSetReader::vtkPDataSetReader const 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 vtkSource.

virtual const char* vtkPDataSetReader::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkSource.

int vtkPDataSetReader::IsTypeOf const char *    type [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 vtkSource.

virtual int vtkPDataSetReader::IsA const char *    type [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 vtkSource.

vtkPDataSetReader* vtkPDataSetReader::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkSource.

vtkPDataSetReader* vtkPDataSetReader::New   [static]
 

Instantiate object with no start, end, or progress methods.

Reimplemented from vtkSource.

virtual void vtkPDataSetReader::SetFileName const char *    [virtual]
 

This file to open and read.

virtual char* vtkPDataSetReader::GetFileName   [virtual]
 

This file to open and read.

void vtkPDataSetReader::SetOutput vtkDataSet   output
 

The output of this reader depends on the file choosen. You cannot get the output until the filename is set.

virtual vtkDataSet* vtkPDataSetReader::GetOutput   [virtual]
 

The output of this reader depends on the file choosen. You cannot get the output until the filename is set.

virtual void vtkPDataSetReader::Update   [virtual]
 

We need to define this so that the output gets created.

Reimplemented from vtkSource.

virtual int vtkPDataSetReader::GetDataType   [virtual]
 

This is set when UpdateInformation is called. It shows the type of the output.

void vtkPDataSetReader::operator= const vtkPDataSetReader &    [protected]
 

virtual void vtkPDataSetReader::ExecuteInformation   [protected, virtual]
 

Reimplemented from vtkSource.

void vtkPDataSetReader::ReadPVTKFileInformation ifstream *    fp [protected]
 

void vtkPDataSetReader::ReadVTKFileInformation ifstream *    fp [protected]
 

virtual void vtkPDataSetReader::Execute   [protected, virtual]
 

This method is the old style execute method

Reimplemented from vtkSource.

void vtkPDataSetReader::PolyDataExecute   [protected]
 

void vtkPDataSetReader::UnstructuredGridExecute   [protected]
 

void vtkPDataSetReader::ImageDataExecute   [protected]
 

void vtkPDataSetReader::StructuredGridExecute   [protected]
 

void vtkPDataSetReader::CoverExtent int    ext[6],
int *    pieceMask
[protected]
 

vtkDataSet* vtkPDataSetReader::CheckOutput   [protected]
 

void vtkPDataSetReader::SetNumberOfPieces int    num [protected]
 

ifstream* vtkPDataSetReader::vtkPDataSetReader::OpenFile   [protected]
 

int vtkPDataSetReader::ReadXML ifstream *    file,
char **    block,
char **    param,
char **    value
[protected]
 


Member Data Documentation

int vtkPDataSetReader::VTKFileFlag [protected]
 

Definition at line 116 of file vtkPDataSetReader.h.

int vtkPDataSetReader::StructuredFlag [protected]
 

Definition at line 117 of file vtkPDataSetReader.h.

char* vtkPDataSetReader::FileName [protected]
 

Definition at line 118 of file vtkPDataSetReader.h.

int vtkPDataSetReader::DataType [protected]
 

Definition at line 119 of file vtkPDataSetReader.h.

int vtkPDataSetReader::NumberOfPieces [protected]
 

Definition at line 120 of file vtkPDataSetReader.h.

char** vtkPDataSetReader::PieceFileNames [protected]
 

Definition at line 121 of file vtkPDataSetReader.h.

int** vtkPDataSetReader::PieceExtents [protected]
 

Definition at line 122 of file vtkPDataSetReader.h.


The documentation for this class was generated from the following file:
Generated on Thu Mar 28 14:38:41 2002 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001