#include <vtkVPICReader.h>
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.
Definition at line 44 of file vtkVPICReader.h.
Public Types | |
typedef vtkImageAlgorithm | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual int * | GetXLayout () |
virtual void | GetXLayout (int &, int &) |
virtual void | GetXLayout (int[2]) |
virtual int * | GetYLayout () |
virtual void | GetYLayout (int &, int &) |
virtual void | GetYLayout (int[2]) |
virtual int * | GetZLayout () |
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 int * | GetStride () |
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]) |
vtkImageData * | GetOutput () |
vtkImageData * | GetOutput (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 vtkVPICReader * | New () |
static int | IsTypeOf (const char *type) |
static vtkVPICReader * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
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 |
vtkStdString * | VariableName |
int * | VariableStruct |
int | NumberOfTimeSteps |
double * | TimeSteps |
int | CurrentTimeStep |
int | Stride [3] |
int | XExtent [2] |
int | YExtent [2] |
int | ZExtent [2] |
vtkFloatArray ** | data |
int * | dataLoaded |
int | Start [3] |
int | GhostDimension [3] |
int | NumberOfGhostTuples |
int | ghostLevel0 |
int | ghostLevel1 |
vtkMultiProcessController * | MPIController |
vtkDataArraySelection * | PointDataArraySelection |
vtkCallbackCommand * | SelectionObserver |
vtkVPICReader::vtkVPICReader | ( | ) | [protected] |
vtkVPICReader::~vtkVPICReader | ( | ) | [protected] |
static vtkVPICReader* vtkVPICReader::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkAlgorithm.
virtual const char* vtkVPICReader::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkImageAlgorithm.
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.
static vtkVPICReader* vtkVPICReader::SafeDownCast | ( | vtkObject * | o | ) | [static] |
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
void vtkVPICReader::SetXExtent | ( | int | [2] | ) |
Set the simulation file decomposition in each dimension
virtual void vtkVPICReader::SetYExtent | ( | int | , | |
int | ||||
) | [virtual] |
Set the simulation file decomposition in each dimension
void vtkVPICReader::SetYExtent | ( | int | [2] | ) |
Set the simulation file decomposition in each dimension
virtual void vtkVPICReader::SetZExtent | ( | int | , | |
int | ||||
) | [virtual] |
Set the simulation file decomposition in each dimension
void vtkVPICReader::SetZExtent | ( | int | [2] | ) |
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] |
vtkImageData* vtkVPICReader::GetOutput | ( | ) |
Get the reader's output
Reimplemented from vtkImageAlgorithm.
vtkImageData* vtkVPICReader::GetOutput | ( | int | index | ) |
Get the reader's output
Reimplemented from vtkImageAlgorithm.
int vtkVPICReader::GetNumberOfPointArrays | ( | ) |
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.
void vtkVPICReader::DisableAllPointArrays | ( | ) |
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::EnableAllPointArrays | ( | ) |
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 by the superclass. This is the method you should override.
Reimplemented from vtkImageAlgorithm.
int vtkVPICReader::RequestInformation | ( | vtkInformation * | , | |
vtkInformationVector ** | inVector, | |||
vtkInformationVector * | ||||
) | [protected, virtual] |
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] |
char* vtkVPICReader::FileName [protected] |
Definition at line 97 of file vtkVPICReader.h.
int vtkVPICReader::Rank [protected] |
Definition at line 99 of file vtkVPICReader.h.
int vtkVPICReader::TotalRank [protected] |
Definition at line 100 of file vtkVPICReader.h.
int vtkVPICReader::UsedRank [protected] |
Definition at line 101 of file vtkVPICReader.h.
VPICDataSet* vtkVPICReader::vpicData [protected] |
Definition at line 103 of file vtkVPICReader.h.
GridExchange* vtkVPICReader::exchanger [protected] |
Definition at line 104 of file vtkVPICReader.h.
int vtkVPICReader::NumberOfPieces [protected] |
Definition at line 106 of file vtkVPICReader.h.
vtkIdType vtkVPICReader::NumberOfNodes [protected] |
Definition at line 107 of file vtkVPICReader.h.
vtkIdType vtkVPICReader::NumberOfCells [protected] |
Definition at line 108 of file vtkVPICReader.h.
vtkIdType vtkVPICReader::NumberOfTuples [protected] |
Definition at line 109 of file vtkVPICReader.h.
int vtkVPICReader::WholeExtent[6] [protected] |
Definition at line 111 of file vtkVPICReader.h.
int vtkVPICReader::SubExtent[6] [protected] |
Definition at line 112 of file vtkVPICReader.h.
int vtkVPICReader::Dimension[3] [protected] |
Definition at line 113 of file vtkVPICReader.h.
int vtkVPICReader::SubDimension[3] [protected] |
Definition at line 114 of file vtkVPICReader.h.
int vtkVPICReader::XLayout[2] [protected] |
Definition at line 115 of file vtkVPICReader.h.
int vtkVPICReader::YLayout[2] [protected] |
Definition at line 116 of file vtkVPICReader.h.
int vtkVPICReader::ZLayout[2] [protected] |
Definition at line 117 of file vtkVPICReader.h.
int vtkVPICReader::NumberOfVariables [protected] |
Definition at line 119 of file vtkVPICReader.h.
vtkStdString* vtkVPICReader::VariableName [protected] |
Definition at line 120 of file vtkVPICReader.h.
int* vtkVPICReader::VariableStruct [protected] |
Definition at line 121 of file vtkVPICReader.h.
int vtkVPICReader::NumberOfTimeSteps [protected] |
Definition at line 123 of file vtkVPICReader.h.
double* vtkVPICReader::TimeSteps [protected] |
Definition at line 124 of file vtkVPICReader.h.
int vtkVPICReader::CurrentTimeStep [protected] |
Definition at line 125 of file vtkVPICReader.h.
int vtkVPICReader::Stride[3] [protected] |
Definition at line 127 of file vtkVPICReader.h.
int vtkVPICReader::XExtent[2] [protected] |
Definition at line 128 of file vtkVPICReader.h.
int vtkVPICReader::YExtent[2] [protected] |
Definition at line 129 of file vtkVPICReader.h.
int vtkVPICReader::ZExtent[2] [protected] |
Definition at line 130 of file vtkVPICReader.h.
vtkFloatArray** vtkVPICReader::data [protected] |
Definition at line 132 of file vtkVPICReader.h.
int* vtkVPICReader::dataLoaded [protected] |
Definition at line 133 of file vtkVPICReader.h.
int vtkVPICReader::Start[3] [protected] |
Definition at line 135 of file vtkVPICReader.h.
int vtkVPICReader::GhostDimension[3] [protected] |
Definition at line 136 of file vtkVPICReader.h.
int vtkVPICReader::NumberOfGhostTuples [protected] |
Definition at line 137 of file vtkVPICReader.h.
int vtkVPICReader::ghostLevel0 [protected] |
Definition at line 138 of file vtkVPICReader.h.
int vtkVPICReader::ghostLevel1 [protected] |
Definition at line 139 of file vtkVPICReader.h.
vtkMultiProcessController* vtkVPICReader::MPIController [protected] |
Definition at line 142 of file vtkVPICReader.h.
Definition at line 145 of file vtkVPICReader.h.
vtkCallbackCommand* vtkVPICReader::SelectionObserver [protected] |
Definition at line 148 of file vtkVPICReader.h.