VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkXdmf3Reader Class Reference

Reads eXtensible Data Model and Format files. More...

#include <vtkXdmf3Reader.h>

Inheritance diagram for vtkXdmf3Reader:
Inheritance graph
[legend]
Collaboration diagram for vtkXdmf3Reader:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkDataReader Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkXdmf3ReaderNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetFileName (const char *filename)
virtual int CanReadFile (const char *filename)
int GetNumberOfPointArrays ()
const char * GetPointArrayName (int index)
virtual vtkGraphGetSIL ()
int GetSILUpdateStamp ()
virtual void AddFileName (const char *filename)
virtual void RemoveAllFileNames ()
virtual void SetFileSeriesAsTime (bool)
virtual bool GetFileSeriesAsTime ()
int GetPointArrayStatus (const char *name)
void SetPointArrayStatus (const char *name, int status)
int GetNumberOfCellArrays ()
const char * GetCellArrayName (int index)
void SetCellArrayStatus (const char *name, int status)
int GetCellArrayStatus (const char *name)
int GetNumberOfFieldArrays ()
const char * GetFieldArrayName (int index)
void SetFieldArrayStatus (const char *name, int status)
int GetFieldArrayStatus (const char *name)
int GetNumberOfGrids ()
const char * GetGridName (int index)
void SetGridStatus (const char *gridname, int status)
int GetGridStatus (const char *gridname)
int GetNumberOfSets ()
const char * GetSetName (int index)
void SetSetStatus (const char *gridname, int status)
int GetSetStatus (const char *gridname)
int GetNumberOfSetArrays ()
const char * GetSetArrayName (int index)
int GetSetArrayStatus (const char *name)

Static Public Member Functions

static vtkXdmf3ReaderNew ()
static int IsTypeOf (const char *type)
static vtkXdmf3ReaderSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkXdmf3Reader ()
 ~vtkXdmf3Reader ()
virtual int FillOutputPortInformation (int port, vtkInformation *info)
virtual int ProcessRequest (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int RequestDataObject (vtkInformationVector *)
virtual int RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkXdmf3ArraySelectionGetFieldArraySelection ()
vtkXdmf3ArraySelectionGetCellArraySelection ()
vtkXdmf3ArraySelectionGetPointArraySelection ()
vtkXdmf3ArraySelectionGetGridsSelection ()
vtkXdmf3ArraySelectionGetSetsSelection ()

Protected Attributes

vtkXdmf3ArraySelectionFieldArraysCache
vtkXdmf3ArraySelectionCellArraysCache
vtkXdmf3ArraySelectionPointArraysCache
vtkXdmf3ArraySelectionGridsCache
vtkXdmf3ArraySelectionSetsCache

Detailed Description

Reads eXtensible Data Model and Format files.

$Date$ $Revision$

vtkXdmf3Reader reads XDMF data files so that they can be visualized using VTK. The output data produced by this reader depends on the number of grids in the data file. If the data file has a single domain with a single grid, then the output type is a vtkDataSet subclass of the appropriate type, otherwise it's a vtkMultiBlockDataSet.

Warning:
Uses the XDMF API (http://www.xdmf.org)
Tests:
vtkXdmf3Reader (Tests)

Definition at line 43 of file vtkXdmf3Reader.h.


Member Typedef Documentation

Reimplemented from vtkDataReader.

Definition at line 47 of file vtkXdmf3Reader.h.


Constructor & Destructor Documentation


Member Function Documentation

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

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkDataReader.

static int vtkXdmf3Reader::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 vtkDataReader.

virtual int vtkXdmf3Reader::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 vtkDataReader.

Reimplemented from vtkDataReader.

virtual vtkObjectBase* vtkXdmf3Reader::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkDataReader.

Reimplemented from vtkDataReader.

void vtkXdmf3Reader::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 vtkDataReader.

virtual void vtkXdmf3Reader::SetFileName ( const char *  filename) [virtual]

Set tells the reader the name of a single top level xml file to read.

Reimplemented from vtkDataReader.

virtual void vtkXdmf3Reader::AddFileName ( const char *  filename) [virtual]

Add and remove give the reader a list of top level xml files to read. Whether the set is treated as a spatial or temporal collection depends on FileSeriestAsTime.

virtual void vtkXdmf3Reader::RemoveAllFileNames ( ) [virtual]

Add and remove give the reader a list of top level xml files to read. Whether the set is treated as a spatial or temporal collection depends on FileSeriestAsTime.

virtual void vtkXdmf3Reader::SetFileSeriesAsTime ( bool  ) [virtual]

When true (the default) the reader treats a series of files as a temporal collection. When false it treats it as a spatial partition and uses an optimized top level paritioning strategy.

virtual bool vtkXdmf3Reader::GetFileSeriesAsTime ( ) [virtual]

When true (the default) the reader treats a series of files as a temporal collection. When false it treats it as a spatial partition and uses an optimized top level paritioning strategy.

virtual int vtkXdmf3Reader::CanReadFile ( const char *  filename) [virtual]

Determine if the file can be read with this reader.

Get information about point-based arrays. As is typical with readers this in only valid after the filename is set and UpdateInformation() has been called.

const char* vtkXdmf3Reader::GetPointArrayName ( int  index)

Returns the name of point array at the give index. Returns NULL if index is invalid.

int vtkXdmf3Reader::GetPointArrayStatus ( const char *  name)

Get/Set the point array status.

void vtkXdmf3Reader::SetPointArrayStatus ( const char *  name,
int  status 
)

Get/Set the point array status.

Get information about cell-based arrays. As is typical with readers this in only valid after the filename is set and UpdateInformation() has been called.

const char* vtkXdmf3Reader::GetCellArrayName ( int  index)

Get information about cell-based arrays. As is typical with readers this in only valid after the filename is set and UpdateInformation() has been called.

void vtkXdmf3Reader::SetCellArrayStatus ( const char *  name,
int  status 
)

Get information about cell-based arrays. As is typical with readers this in only valid after the filename is set and UpdateInformation() has been called.

int vtkXdmf3Reader::GetCellArrayStatus ( const char *  name)

Get information about cell-based arrays. As is typical with readers this in only valid after the filename is set and UpdateInformation() has been called.

Get information about unaligned arrays. As is typical with readers this in only valid after the filename is set and UpdateInformation() has been called.

const char* vtkXdmf3Reader::GetFieldArrayName ( int  index)

Get information about unaligned arrays. As is typical with readers this in only valid after the filename is set and UpdateInformation() has been called.

void vtkXdmf3Reader::SetFieldArrayStatus ( const char *  name,
int  status 
)

Get information about unaligned arrays. As is typical with readers this in only valid after the filename is set and UpdateInformation() has been called.

int vtkXdmf3Reader::GetFieldArrayStatus ( const char *  name)

Get information about unaligned arrays. As is typical with readers this in only valid after the filename is set and UpdateInformation() has been called.

Get/Set information about grids. As is typical with readers this is valid only after the filename as been set and UpdateInformation() has been called.

const char* vtkXdmf3Reader::GetGridName ( int  index)

Get/Set information about grids. As is typical with readers this is valid only after the filename as been set and UpdateInformation() has been called.

void vtkXdmf3Reader::SetGridStatus ( const char *  gridname,
int  status 
)

Get/Set information about grids. As is typical with readers this is valid only after the filename as been set and UpdateInformation() has been called.

int vtkXdmf3Reader::GetGridStatus ( const char *  gridname)

Get/Set information about grids. As is typical with readers this is valid only after the filename as been set and UpdateInformation() has been called.

Get/Set information about sets. As is typical with readers this is valid only after the filename as been set and UpdateInformation() has been called. Note that sets with non-zero Ghost value are not treated as sets that the user can select using this API.

const char* vtkXdmf3Reader::GetSetName ( int  index)

Get/Set information about sets. As is typical with readers this is valid only after the filename as been set and UpdateInformation() has been called. Note that sets with non-zero Ghost value are not treated as sets that the user can select using this API.

void vtkXdmf3Reader::SetSetStatus ( const char *  gridname,
int  status 
)

Get/Set information about sets. As is typical with readers this is valid only after the filename as been set and UpdateInformation() has been called. Note that sets with non-zero Ghost value are not treated as sets that the user can select using this API.

int vtkXdmf3Reader::GetSetStatus ( const char *  gridname)

Get/Set information about sets. As is typical with readers this is valid only after the filename as been set and UpdateInformation() has been called. Note that sets with non-zero Ghost value are not treated as sets that the user can select using this API.

These methods are provided to make it easier to use the Sets in ParaView.

Definition at line 131 of file vtkXdmf3Reader.h.

const char* vtkXdmf3Reader::GetSetArrayName ( int  index) [inline]

These methods are provided to make it easier to use the Sets in ParaView.

Definition at line 132 of file vtkXdmf3Reader.h.

int vtkXdmf3Reader::GetSetArrayStatus ( const char *  name) [inline]

These methods are provided to make it easier to use the Sets in ParaView.

Definition at line 134 of file vtkXdmf3Reader.h.

virtual vtkGraph* vtkXdmf3Reader::GetSIL ( ) [virtual]

SIL describes organization of/relationships between classifications eg. blocks/materials/hierarchies.

Every time the SIL is updated a this will return a different value.

virtual int vtkXdmf3Reader::FillOutputPortInformation ( int  port,
vtkInformation info 
) [protected, virtual]

Fill the output port information objects for this algorithm. This is invoked by the first call to GetOutputPortInformation for each port so subclasses can specify what they can handle.

Reimplemented from vtkAlgorithm.

virtual int vtkXdmf3Reader::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 vtkDataReader.

virtual int vtkXdmf3Reader::RequestDataObject ( vtkInformationVector ) [protected, virtual]

Reimplemented from vtkDataReader.

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

Reimplemented from vtkDataReader.


Member Data Documentation

Definition at line 174 of file vtkXdmf3Reader.h.

Definition at line 175 of file vtkXdmf3Reader.h.

Definition at line 176 of file vtkXdmf3Reader.h.

Definition at line 177 of file vtkXdmf3Reader.h.

Definition at line 178 of file vtkXdmf3Reader.h.


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