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

class for reading VPIC data files More...

#include <vtkVPICReader.h>

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

List of all members.

Public Types

typedef vtkImageAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkVPICReaderNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual intGetXLayout ()
virtual void GetXLayout (int &, int &)
virtual void GetXLayout (int[2])
virtual intGetYLayout ()
virtual void GetYLayout (int &, int &)
virtual void GetYLayout (int[2])
virtual intGetZLayout ()
virtual void GetZLayout (int &, int &)
virtual void GetZLayout (int[2])
virtual void SetFileName (const char *)
virtual char * GetFileName ()
virtual void SetStride (int, int, int)
virtual void SetStride (int[3])
virtual intGetStride ()
virtual void GetStride (int &, int &, int &)
virtual void GetStride (int[3])
virtual void SetXExtent (int, int)
void SetXExtent (int[2])
virtual void SetYExtent (int, int)
void SetYExtent (int[2])
virtual void SetZExtent (int, int)
void SetZExtent (int[2])
vtkImageDataGetOutput ()
vtkImageDataGetOutput (int index)
int GetNumberOfPointArrays ()
const char * GetPointArrayName (int index)
int GetPointArrayStatus (const char *name)
void SetPointArrayStatus (const char *name, int status)
void DisableAllPointArrays ()
void EnableAllPointArrays ()

Static Public Member Functions

static vtkVPICReaderNew ()
static int IsTypeOf (const char *type)
static vtkVPICReaderSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkVPICReader ()
 ~vtkVPICReader ()
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
int RequestInformation (vtkInformation *, vtkInformationVector **inVector, vtkInformationVector *)
void LoadVariableData (int var, int timeStep)
void LoadComponent (float *varData, float *block, int comp, int numberOfComponents)

Static Protected Member Functions

static void SelectionCallback (vtkObject *caller, unsigned long eid, void *clientdata, void *calldata)
static void EventCallback (vtkObject *caller, unsigned long eid, void *clientdata, void *calldata)

Protected Attributes

char * FileName
int Rank
int TotalRank
int UsedRank
VPICDataSet * vpicData
GridExchange * exchanger
int NumberOfPieces
vtkIdType NumberOfNodes
vtkIdType NumberOfCells
vtkIdType NumberOfTuples
int WholeExtent [6]
int SubExtent [6]
int Dimension [3]
int SubDimension [3]
int XLayout [2]
int YLayout [2]
int ZLayout [2]
int NumberOfVariables
vtkStdStringVariableName
intVariableStruct
int NumberOfTimeSteps
doubleTimeSteps
int CurrentTimeStep
int Stride [3]
int XExtent [2]
int YExtent [2]
int ZExtent [2]
vtkFloatArray ** data
intdataLoaded
int Start [3]
int GhostDimension [3]
int NumberOfGhostTuples
int ghostLevel0
int ghostLevel1
vtkMultiProcessControllerMPIController
vtkDataArraySelectionPointDataArraySelection
vtkCallbackCommandSelectionObserver

Detailed Description

class for reading VPIC data files

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.

See also:
vtkPolyDataReader vtkStructuredPointsReader vtkStructuredGridReader vtkUnstructuredGridReader vtkRectilinearGridReader

Definition at line 45 of file vtkVPICReader.h.


Member Typedef Documentation

Reimplemented from vtkImageAlgorithm.

Definition at line 49 of file vtkVPICReader.h.


Constructor & Destructor Documentation


Member Function Documentation

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

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

Reimplemented from vtkAlgorithm.

static int vtkVPICReader::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 vtkImageAlgorithm.

virtual int vtkVPICReader::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 vtkImageAlgorithm.

Reimplemented from vtkImageAlgorithm.

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

Reimplemented from vtkImageAlgorithm.

Reimplemented from vtkImageAlgorithm.

void vtkVPICReader::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 vtkImageAlgorithm.

virtual void vtkVPICReader::SetFileName ( const char *  ) [virtual]

Specify file name of VPIC data file to read.

virtual char* vtkVPICReader::GetFileName ( ) [virtual]

Specify file name of VPIC data file to read.

virtual void vtkVPICReader::SetStride ( int  ,
int  ,
int   
) [virtual]

Set the stride in each dimension

virtual void vtkVPICReader::SetStride ( int  [3]) [virtual]

Set the stride in each dimension

virtual int* vtkVPICReader::GetStride ( ) [virtual]

Set the stride in each dimension

virtual void vtkVPICReader::GetStride ( int ,
int ,
int  
) [virtual]

Set the stride in each dimension

virtual void vtkVPICReader::GetStride ( int  [3]) [virtual]

Set the stride in each dimension

virtual void vtkVPICReader::SetXExtent ( int  ,
int   
) [virtual]

Set the simulation file decomposition in each dimension

Set the simulation file decomposition in each dimension

virtual void vtkVPICReader::SetYExtent ( int  ,
int   
) [virtual]

Set the simulation file decomposition in each dimension

Set the simulation file decomposition in each dimension

virtual void vtkVPICReader::SetZExtent ( int  ,
int   
) [virtual]

Set the simulation file decomposition in each dimension

Set the simulation file decomposition in each dimension

virtual int* vtkVPICReader::GetXLayout ( ) [virtual]
virtual void vtkVPICReader::GetXLayout ( int ,
int  
) [virtual]
virtual void vtkVPICReader::GetXLayout ( int  [2]) [virtual]
virtual int* vtkVPICReader::GetYLayout ( ) [virtual]
virtual void vtkVPICReader::GetYLayout ( int ,
int  
) [virtual]
virtual void vtkVPICReader::GetYLayout ( int  [2]) [virtual]
virtual int* vtkVPICReader::GetZLayout ( ) [virtual]
virtual void vtkVPICReader::GetZLayout ( int ,
int  
) [virtual]
virtual void vtkVPICReader::GetZLayout ( int  [2]) [virtual]

Get the reader's output

Reimplemented from vtkImageAlgorithm.

Get the reader's output

Reimplemented from vtkImageAlgorithm.

The following methods allow selective reading of solutions fields. By default, ALL data fields on the nodes are read, but this can be modified.

const char* vtkVPICReader::GetPointArrayName ( int  index)

The following methods allow selective reading of solutions fields. By default, ALL data fields on the nodes are read, but this can be modified.

int vtkVPICReader::GetPointArrayStatus ( const char *  name)

The following methods allow selective reading of solutions fields. By default, ALL data fields on the nodes are read, but this can be modified.

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

The following methods allow selective reading of solutions fields. By default, ALL data fields on the nodes are read, but this can be modified.

The following methods allow selective reading of solutions fields. By default, ALL data fields on the nodes are read, but this can be modified.

The following methods allow selective reading of solutions fields. By default, ALL data fields on the nodes are read, but this can be modified.

int vtkVPICReader::RequestData ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

This is called in response to a REQUEST_DATA request from the executive. Subclasses should override either this method or the ExecuteDataWithInformation method in order to generate data for their outputs. For images, the output arrays will already be allocated, so all that is necessary is to fill in the voxel values.

Reimplemented from vtkImageAlgorithm.

int vtkVPICReader::RequestInformation ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

Subclasses can reimplement this method to collect information from their inputs and set information for their outputs.

Reimplemented from vtkImageAlgorithm.

void vtkVPICReader::LoadVariableData ( int  var,
int  timeStep 
) [protected]
void vtkVPICReader::LoadComponent ( float varData,
float block,
int  comp,
int  numberOfComponents 
) [protected]
static void vtkVPICReader::SelectionCallback ( vtkObject caller,
unsigned long  eid,
void *  clientdata,
void *  calldata 
) [static, protected]
static void vtkVPICReader::EventCallback ( vtkObject caller,
unsigned long  eid,
void *  clientdata,
void *  calldata 
) [static, protected]

Member Data Documentation

char* vtkVPICReader::FileName [protected]

Definition at line 98 of file vtkVPICReader.h.

int vtkVPICReader::Rank [protected]

Definition at line 100 of file vtkVPICReader.h.

Definition at line 101 of file vtkVPICReader.h.

Definition at line 102 of file vtkVPICReader.h.

VPICDataSet* vtkVPICReader::vpicData [protected]

Definition at line 104 of file vtkVPICReader.h.

GridExchange* vtkVPICReader::exchanger [protected]

Definition at line 105 of file vtkVPICReader.h.

Definition at line 107 of file vtkVPICReader.h.

Definition at line 108 of file vtkVPICReader.h.

Definition at line 109 of file vtkVPICReader.h.

Definition at line 110 of file vtkVPICReader.h.

Definition at line 112 of file vtkVPICReader.h.

int vtkVPICReader::SubExtent[6] [protected]

Definition at line 113 of file vtkVPICReader.h.

int vtkVPICReader::Dimension[3] [protected]

Definition at line 114 of file vtkVPICReader.h.

Definition at line 115 of file vtkVPICReader.h.

int vtkVPICReader::XLayout[2] [protected]

Definition at line 116 of file vtkVPICReader.h.

int vtkVPICReader::YLayout[2] [protected]

Definition at line 117 of file vtkVPICReader.h.

int vtkVPICReader::ZLayout[2] [protected]

Definition at line 118 of file vtkVPICReader.h.

Definition at line 120 of file vtkVPICReader.h.

Definition at line 121 of file vtkVPICReader.h.

Definition at line 122 of file vtkVPICReader.h.

Definition at line 124 of file vtkVPICReader.h.

Definition at line 125 of file vtkVPICReader.h.

Definition at line 126 of file vtkVPICReader.h.

int vtkVPICReader::Stride[3] [protected]

Definition at line 128 of file vtkVPICReader.h.

int vtkVPICReader::XExtent[2] [protected]

Definition at line 129 of file vtkVPICReader.h.

int vtkVPICReader::YExtent[2] [protected]

Definition at line 130 of file vtkVPICReader.h.

int vtkVPICReader::ZExtent[2] [protected]

Definition at line 131 of file vtkVPICReader.h.

Definition at line 133 of file vtkVPICReader.h.

Definition at line 134 of file vtkVPICReader.h.

int vtkVPICReader::Start[3] [protected]

Definition at line 136 of file vtkVPICReader.h.

Definition at line 137 of file vtkVPICReader.h.

Definition at line 138 of file vtkVPICReader.h.

Definition at line 139 of file vtkVPICReader.h.

Definition at line 140 of file vtkVPICReader.h.

Definition at line 143 of file vtkVPICReader.h.

Definition at line 146 of file vtkVPICReader.h.

Definition at line 149 of file vtkVPICReader.h.


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