ParaView
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
vtkSpyPlotReader Class Reference

Read SPCTH Spy Plot file format. More...

#include <vtkSpyPlotReader.h>

Inherits vtkCompositeDataSetAlgorithm.

Collaboration diagram for vtkSpyPlotReader:
Collaboration graph
[legend]

Public Types

typedef vtkCompositeDataSetAlgorithm Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent)
 
void PrintBlockList (vtkNonOverlappingAMR *hbds, int myProcId)
 
void SetGlobalController (vtkMultiProcessController *controller)
 Set the controller used to coordinate parallel reading. More...
 
virtual int CanReadFile (const char *fname)
 Determine if the file can be readed with this reader. More...
 
virtual void SetFileName (const char *filename)
 Get and set the file name. More...
 
virtual char * GetFileName ()
 Get and set the file name. More...
 
virtual void SetTimeStep (int)
 Set and get the time step. More...
 
virtual int GetTimeStep ()
 Set and get the time step. More...
 
virtual void SetDistributeFiles (int)
 If true, the reader distributes files over processors. More...
 
virtual int GetDistributeFiles ()
 If true, the reader distributes files over processors. More...
 
virtual void DistributeFilesOn ()
 If true, the reader distributes files over processors. More...
 
virtual void DistributeFilesOff ()
 If true, the reader distributes files over processors. More...
 
virtual void SetGenerateLevelArray (int)
 If true, the reader generate a cell array in each block that stores the level in the hierarchy, starting from 0. More...
 
virtual int GetGenerateLevelArray ()
 If true, the reader generate a cell array in each block that stores the level in the hierarchy, starting from 0. More...
 
virtual void GenerateLevelArrayOn ()
 If true, the reader generate a cell array in each block that stores the level in the hierarchy, starting from 0. More...
 
virtual void GenerateLevelArrayOff ()
 If true, the reader generate a cell array in each block that stores the level in the hierarchy, starting from 0. More...
 
virtual void SetGenerateBlockIdArray (int)
 If true, the reader generate a cell array in each block that stores a unique but not necessarily contiguous id. More...
 
virtual int GetGenerateBlockIdArray ()
 If true, the reader generate a cell array in each block that stores a unique but not necessarily contiguous id. More...
 
virtual void GenerateBlockIdArrayOn ()
 If true, the reader generate a cell array in each block that stores a unique but not necessarily contiguous id. More...
 
virtual void GenerateBlockIdArrayOff ()
 If true, the reader generate a cell array in each block that stores a unique but not necessarily contiguous id. More...
 
virtual void SetGenerateActiveBlockArray (int)
 If true, the reader generate a cell array in each block that corresponds to the Active field in the file. More...
 
virtual int GetGenerateActiveBlockArray ()
 If true, the reader generate a cell array in each block that corresponds to the Active field in the file. More...
 
virtual void GenerateActiveBlockArrayOn ()
 If true, the reader generate a cell array in each block that corresponds to the Active field in the file. More...
 
virtual void GenerateActiveBlockArrayOff ()
 If true, the reader generate a cell array in each block that corresponds to the Active field in the file. More...
 
virtual void SetGenerateTracerArray (int)
 If true, the reader will extract tracer data at each time step and include a field data array for the tracers at that time. More...
 
virtual int GetGenerateTracerArray ()
 If true, the reader will extract tracer data at each time step and include a field data array for the tracers at that time. More...
 
virtual void GenerateTracerArrayOn ()
 If true, the reader will extract tracer data at each time step and include a field data array for the tracers at that time. More...
 
virtual void GenerateTracerArrayOff ()
 If true, the reader will extract tracer data at each time step and include a field data array for the tracers at that time. More...
 
void SetGenerateMarkers (int gm)
 if true, the reader will extract the marker data at each time step and create a set of vtkPoints in the second output port. More...
 
virtual int GetGenerateMarkers ()
 if true, the reader will extract the marker data at each time step and create a set of vtkPoints in the second output port. More...
 
virtual void GenerateMarkersOn ()
 if true, the reader will extract the marker data at each time step and create a set of vtkPoints in the second output port. More...
 
virtual void GenerateMarkersOff ()
 if true, the reader will extract the marker data at each time step and create a set of vtkPoints in the second output port. More...
 
void SetDownConvertVolumeFraction (int vf)
 If true, the reader will convert volume fraction arrays to unsigned char. More...
 
virtual int GetDownConvertVolumeFraction ()
 If true, the reader will convert volume fraction arrays to unsigned char. More...
 
virtual void DownConvertVolumeFractionOn ()
 If true, the reader will convert volume fraction arrays to unsigned char. More...
 
virtual void DownConvertVolumeFractionOff ()
 If true, the reader will convert volume fraction arrays to unsigned char. More...
 
virtual void SetComputeDerivedVariables (int)
 If true, the reader will calculate all derived variables it can given which properties the user has selected True by default. More...
 
virtual int GetComputeDerivedVariables ()
 If true, the reader will calculate all derived variables it can given which properties the user has selected True by default. More...
 
virtual void ComputeDerivedVariablesOn ()
 If true, the reader will calculate all derived variables it can given which properties the user has selected True by default. More...
 
virtual void ComputeDerivedVariablesOff ()
 If true, the reader will calculate all derived variables it can given which properties the user has selected True by default. More...
 
void SetMergeXYZComponents (int merge)
 If true, the reader will merge scalar arrays named, for example, "X velocity" "Y velocity" and "Z velocity" into a vector array named "velocity" with scalar components X, Y and Z. More...
 
virtual int GetMergeXYZComponents ()
 If true, the reader will merge scalar arrays named, for example, "X velocity" "Y velocity" and "Z velocity" into a vector array named "velocity" with scalar components X, Y and Z. More...
 
virtual void MergeXYZComponentsOn ()
 If true, the reader will merge scalar arrays named, for example, "X velocity" "Y velocity" and "Z velocity" into a vector array named "velocity" with scalar components X, Y and Z. More...
 
virtual void MergeXYZComponentsOff ()
 If true, the reader will merge scalar arrays named, for example, "X velocity" "Y velocity" and "Z velocity" into a vector array named "velocity" with scalar components X, Y and Z. More...
 
virtual int * GetTimeStepRange ()
 Get the time step range. More...
 
virtual void GetTimeStepRange (int &, int &)
 Get the time step range. More...
 
virtual void GetTimeStepRange (int [2])
 Get the time step range. More...
 
int GetNumberOfCellArrays ()
 Cell array selection. More...
 
const char * GetCellArrayName (int idx)
 Cell array selection. More...
 
int GetCellArrayStatus (const char *name)
 Cell array selection. More...
 
void SetCellArrayStatus (const char *name, int status)
 Cell array selection. More...
 

Static Public Member Functions

static vtkSpyPlotReaderNew ()
 
static int IsTypeOf (const char *type)
 
static vtkSpyPlotReaderSafeDownCast (vtkObject *o)
 

Protected Member Functions

 vtkSpyPlotReader ()
 
 ~vtkSpyPlotReader ()
 
void GetLocalBounds (vtkSpyPlotBlockIterator *biter, int nBlocks, int progressInterval)
 
void SetGlobalBounds (vtkSpyPlotBlockIterator *biter, int total_num_of_block, int progressInterval, int *rightHasBounds, int *leftHasBounds)
 
bool GetLocalBoxSize (vtkSpyPlotBlockIterator *biter, int *localBoxSize) const
 
void SetGlobalBoxSize (vtkSpyPlotBlockIterator *biter)
 
void GetLocalMinLevelAndSpacing (vtkSpyPlotBlockIterator *biter, int *localMinLevel, double spacing[3]) const
 
void SetGlobalMinLevelAndSpacing (vtkSpyPlotBlockIterator *biter)
 
int PrepareAMRData (vtkNonOverlappingAMR *hb, vtkSpyPlotBlock *block, int *level, int *blockId, int extents[6], int realExtents[6], int realDims[3], vtkCellData **cd)
 
int PrepareData (vtkMultiBlockDataSet *hb, vtkSpyPlotBlock *block, vtkRectilinearGrid **rg, int extents[6], int realExtents[6], int realDims[3], vtkCellData **cd)
 
void UpdateFieldData (int numFields, int dims[3], int level, int blockID, vtkSpyPlotUniReader *uniReader, vtkCellData *cd)
 
void UpdateBadGhostFieldData (int numFields, int dims[3], int realDims[3], int realExtents[6], int level, int blockID, vtkSpyPlotUniReader *uniReader, vtkCellData *cd)
 
void PrepareBlocks (vtkMultiBlockDataSet *poly, int numMat)
 
int PrepareMarkers (vtkMultiBlockDataSet *poly, vtkSpyPlotUniReader *reader)
 
virtual int FillOutputPortInformation (int port, vtkInformation *info)
 
virtual int RequestDataObject (vtkInformation *req, vtkInformationVector **inV, vtkInformationVector *outV)
 
virtual int RequestInformation (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
 
virtual int RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
 
int UpdateMetaData (vtkInformation *request, vtkInformationVector *outputVector)
 This does the updating of meta data of the dataset from the first binary file registered in the map: More...
 
int UpdateFile (vtkInformation *request, vtkInformationVector *outputVector)
 
void AddGhostLevelArray (int numLevels)
 
int AddBlockIdArray (vtkCompositeDataSet *cds)
 
int AddAttributes (vtkNonOverlappingAMR *hbds)
 
int AddActiveBlockArray (vtkCellData *cd, vtkIdType nCells, unsigned char status)
 
void SetGlobalLevels (vtkCompositeDataSet *cds)
 
int UpdateTimeStep (vtkInformation *requestInfo, vtkInformationVector *outputInfo, vtkCompositeDataSet *hb)
 Set the current time step. More...
 
virtual int UpdateTimeStep (double time, int piece=-1, int numPieces=1, int ghostLevels=0, const int extents[6]=0)
 Overwritten to avoid hiding. More...
 
void MergeVectors (vtkDataSetAttributes *da)
 
int MergeVectors (vtkDataSetAttributes *da, vtkDataArray *a1, vtkDataArray *a2)
 
int MergeVectors (vtkDataSetAttributes *da, vtkDataArray *a1, vtkDataArray *a2, vtkDataArray *a3)
 
int ComputeDerivedVars (vtkCellData *data, vtkSpyPlotBlock *block, vtkSpyPlotUniReader *reader, const int &blockID)
 
virtual vtkDataArraySelection * GetCellDataArraySelection ()
 Get the data array selection tables used to configure which data arrays are loaded by the reader. More...
 

Protected Attributes

vtkDataArraySelection * CellDataArraySelection
 
char * FileName
 
int TimeStep
 
int TimeStepRange [2]
 
int CurrentTimeStep
 
int IsAMR
 
vtkMultiProcessController * GlobalController
 
int ComputeDerivedVariables
 
vtkSpyPlotReaderMapMap
 
int DistributeFiles
 
vtkBoundingBox * Bounds
 
int BoxSize [3]
 
int MinLevel
 
double MinLevelSpacing [3]
 
int GenerateLevelArray
 
int GenerateBlockIdArray
 
int GenerateActiveBlockArray
 
int GenerateTracerArray
 
int GenerateMarkers
 
int DownConvertVolumeFraction
 
bool TimeRequestedFromPipeline
 
int MergeXYZComponents
 
bool FileNameChanged
 

Friends

class vtkSpyPlotReaderMap
 

Detailed Description

Read SPCTH Spy Plot file format.

vtkSpyPlotReader is a reader that reads SPCTH Spy Plot file format through an ascii meta file called the "case" file (extension .spcth). This case file lists all the actual binary files that describe a dataset. Each binary file describes a part of the dataset. However, if only a single binary file describes the whole dataset, it is possible to load it directly without using a case file.

The reader supports both Spy dataset types: flat mesh and AMR (Adaptive Mesh Refinement).

It has parallel capabilities. Each processor is supposed to have access to the case file and to all the binary files. All the binary files have to be coherent: they describe the same fields of data. Each binary file may content multiple time stamp. The time stamp to read is specified with SetTimestamp().

In parallel mode, there are two ways to distribute data over processors (controlled by SetDistributeFiles() ):

Implementation Details:
  • All processors read the first binary file listed in the case file to get informations about the fields.
  • Each block of data is already surrounded by ghost cells in the file, even on part of the block that don't have actual neighbor cells. The reader removes those wrong ghost cells.
  • Each time step contains all the cell array name variables

Definition at line 74 of file vtkSpyPlotReader.h.

Member Typedef Documentation

◆ Superclass

typedef vtkCompositeDataSetAlgorithm vtkSpyPlotReader::Superclass

Definition at line 78 of file vtkSpyPlotReader.h.

Constructor & Destructor Documentation

◆ vtkSpyPlotReader()

vtkSpyPlotReader::vtkSpyPlotReader ( )
protected

◆ ~vtkSpyPlotReader()

vtkSpyPlotReader::~vtkSpyPlotReader ( )
protected

Member Function Documentation

◆ New()

static vtkSpyPlotReader* vtkSpyPlotReader::New ( )
static

◆ GetClassName()

virtual const char* vtkSpyPlotReader::GetClassName ( )
virtual

◆ IsTypeOf()

static int vtkSpyPlotReader::IsTypeOf ( const char *  type)
static

◆ IsA()

virtual int vtkSpyPlotReader::IsA ( const char *  type)
virtual

◆ SafeDownCast()

static vtkSpyPlotReader* vtkSpyPlotReader::SafeDownCast ( vtkObject *  o)
static

◆ PrintSelf()

void vtkSpyPlotReader::PrintSelf ( ostream &  os,
vtkIndent  indent 
)

◆ PrintBlockList()

void vtkSpyPlotReader::PrintBlockList ( vtkNonOverlappingAMR *  hbds,
int  myProcId 
)

◆ SetFileName()

virtual void vtkSpyPlotReader::SetFileName ( const char *  filename)
virtual

Get and set the file name.

It is either the name of the case file or the name of the single binary file.

◆ GetFileName()

virtual char* vtkSpyPlotReader::GetFileName ( )
virtual

Get and set the file name.

It is either the name of the case file or the name of the single binary file.

◆ SetTimeStep()

virtual void vtkSpyPlotReader::SetTimeStep ( int  )
virtual

Set and get the time step.

The time step is an index, NOT a time given in seconds.

◆ GetTimeStep()

virtual int vtkSpyPlotReader::GetTimeStep ( )
virtual

Set and get the time step.

The time step is an index, NOT a time given in seconds.

◆ SetDistributeFiles()

virtual void vtkSpyPlotReader::SetDistributeFiles ( int  )
virtual

If true, the reader distributes files over processors.

If false, the reader distributes blocks over processors. Default is false. Distributing blocks should provide a better load balancing: if there is only one file and several processors, only the first processor is used in the case of the file-distributed method.

◆ GetDistributeFiles()

virtual int vtkSpyPlotReader::GetDistributeFiles ( )
virtual

If true, the reader distributes files over processors.

If false, the reader distributes blocks over processors. Default is false. Distributing blocks should provide a better load balancing: if there is only one file and several processors, only the first processor is used in the case of the file-distributed method.

◆ DistributeFilesOn()

virtual void vtkSpyPlotReader::DistributeFilesOn ( )
virtual

If true, the reader distributes files over processors.

If false, the reader distributes blocks over processors. Default is false. Distributing blocks should provide a better load balancing: if there is only one file and several processors, only the first processor is used in the case of the file-distributed method.

◆ DistributeFilesOff()

virtual void vtkSpyPlotReader::DistributeFilesOff ( )
virtual

If true, the reader distributes files over processors.

If false, the reader distributes blocks over processors. Default is false. Distributing blocks should provide a better load balancing: if there is only one file and several processors, only the first processor is used in the case of the file-distributed method.

◆ SetGenerateLevelArray()

virtual void vtkSpyPlotReader::SetGenerateLevelArray ( int  )
virtual

If true, the reader generate a cell array in each block that stores the level in the hierarchy, starting from 0.

False by default.

◆ GetGenerateLevelArray()

virtual int vtkSpyPlotReader::GetGenerateLevelArray ( )
virtual

If true, the reader generate a cell array in each block that stores the level in the hierarchy, starting from 0.

False by default.

◆ GenerateLevelArrayOn()

virtual void vtkSpyPlotReader::GenerateLevelArrayOn ( )
virtual

If true, the reader generate a cell array in each block that stores the level in the hierarchy, starting from 0.

False by default.

◆ GenerateLevelArrayOff()

virtual void vtkSpyPlotReader::GenerateLevelArrayOff ( )
virtual

If true, the reader generate a cell array in each block that stores the level in the hierarchy, starting from 0.

False by default.

◆ SetGenerateBlockIdArray()

virtual void vtkSpyPlotReader::SetGenerateBlockIdArray ( int  )
virtual

If true, the reader generate a cell array in each block that stores a unique but not necessarily contiguous id.

False by default.

◆ GetGenerateBlockIdArray()

virtual int vtkSpyPlotReader::GetGenerateBlockIdArray ( )
virtual

If true, the reader generate a cell array in each block that stores a unique but not necessarily contiguous id.

False by default.

◆ GenerateBlockIdArrayOn()

virtual void vtkSpyPlotReader::GenerateBlockIdArrayOn ( )
virtual

If true, the reader generate a cell array in each block that stores a unique but not necessarily contiguous id.

False by default.

◆ GenerateBlockIdArrayOff()

virtual void vtkSpyPlotReader::GenerateBlockIdArrayOff ( )
virtual

If true, the reader generate a cell array in each block that stores a unique but not necessarily contiguous id.

False by default.

◆ SetGenerateActiveBlockArray()

virtual void vtkSpyPlotReader::SetGenerateActiveBlockArray ( int  )
virtual

If true, the reader generate a cell array in each block that corresponds to the Active field in the file.

False by default.

◆ GetGenerateActiveBlockArray()

virtual int vtkSpyPlotReader::GetGenerateActiveBlockArray ( )
virtual

If true, the reader generate a cell array in each block that corresponds to the Active field in the file.

False by default.

◆ GenerateActiveBlockArrayOn()

virtual void vtkSpyPlotReader::GenerateActiveBlockArrayOn ( )
virtual

If true, the reader generate a cell array in each block that corresponds to the Active field in the file.

False by default.

◆ GenerateActiveBlockArrayOff()

virtual void vtkSpyPlotReader::GenerateActiveBlockArrayOff ( )
virtual

If true, the reader generate a cell array in each block that corresponds to the Active field in the file.

False by default.

◆ SetGenerateTracerArray()

virtual void vtkSpyPlotReader::SetGenerateTracerArray ( int  )
virtual

If true, the reader will extract tracer data at each time step and include a field data array for the tracers at that time.

◆ GetGenerateTracerArray()

virtual int vtkSpyPlotReader::GetGenerateTracerArray ( )
virtual

If true, the reader will extract tracer data at each time step and include a field data array for the tracers at that time.

◆ GenerateTracerArrayOn()

virtual void vtkSpyPlotReader::GenerateTracerArrayOn ( )
virtual

If true, the reader will extract tracer data at each time step and include a field data array for the tracers at that time.

◆ GenerateTracerArrayOff()

virtual void vtkSpyPlotReader::GenerateTracerArrayOff ( )
virtual

If true, the reader will extract tracer data at each time step and include a field data array for the tracers at that time.

◆ SetGenerateMarkers()

void vtkSpyPlotReader::SetGenerateMarkers ( int  gm)

if true, the reader will extract the marker data at each time step and create a set of vtkPoints in the second output port.

◆ GetGenerateMarkers()

virtual int vtkSpyPlotReader::GetGenerateMarkers ( )
virtual

if true, the reader will extract the marker data at each time step and create a set of vtkPoints in the second output port.

◆ GenerateMarkersOn()

virtual void vtkSpyPlotReader::GenerateMarkersOn ( )
virtual

if true, the reader will extract the marker data at each time step and create a set of vtkPoints in the second output port.

◆ GenerateMarkersOff()

virtual void vtkSpyPlotReader::GenerateMarkersOff ( )
virtual

if true, the reader will extract the marker data at each time step and create a set of vtkPoints in the second output port.

◆ SetDownConvertVolumeFraction()

void vtkSpyPlotReader::SetDownConvertVolumeFraction ( int  vf)

If true, the reader will convert volume fraction arrays to unsigned char.

True by default.

◆ GetDownConvertVolumeFraction()

virtual int vtkSpyPlotReader::GetDownConvertVolumeFraction ( )
virtual

If true, the reader will convert volume fraction arrays to unsigned char.

True by default.

◆ DownConvertVolumeFractionOn()

virtual void vtkSpyPlotReader::DownConvertVolumeFractionOn ( )
virtual

If true, the reader will convert volume fraction arrays to unsigned char.

True by default.

◆ DownConvertVolumeFractionOff()

virtual void vtkSpyPlotReader::DownConvertVolumeFractionOff ( )
virtual

If true, the reader will convert volume fraction arrays to unsigned char.

True by default.

◆ SetComputeDerivedVariables()

virtual void vtkSpyPlotReader::SetComputeDerivedVariables ( int  )
virtual

If true, the reader will calculate all derived variables it can given which properties the user has selected True by default.

◆ GetComputeDerivedVariables()

virtual int vtkSpyPlotReader::GetComputeDerivedVariables ( )
virtual

If true, the reader will calculate all derived variables it can given which properties the user has selected True by default.

◆ ComputeDerivedVariablesOn()

virtual void vtkSpyPlotReader::ComputeDerivedVariablesOn ( )
virtual

If true, the reader will calculate all derived variables it can given which properties the user has selected True by default.

◆ ComputeDerivedVariablesOff()

virtual void vtkSpyPlotReader::ComputeDerivedVariablesOff ( )
virtual

If true, the reader will calculate all derived variables it can given which properties the user has selected True by default.

◆ SetMergeXYZComponents()

void vtkSpyPlotReader::SetMergeXYZComponents ( int  merge)

If true, the reader will merge scalar arrays named, for example, "X velocity" "Y velocity" and "Z velocity" into a vector array named "velocity" with scalar components X, Y and Z.

It will also merge X and Y scalar arrays (with no Z component) into a vector with scalar components X, Y and 0. True by default.

◆ GetMergeXYZComponents()

virtual int vtkSpyPlotReader::GetMergeXYZComponents ( )
virtual

If true, the reader will merge scalar arrays named, for example, "X velocity" "Y velocity" and "Z velocity" into a vector array named "velocity" with scalar components X, Y and Z.

It will also merge X and Y scalar arrays (with no Z component) into a vector with scalar components X, Y and 0. True by default.

◆ MergeXYZComponentsOn()

virtual void vtkSpyPlotReader::MergeXYZComponentsOn ( )
virtual

If true, the reader will merge scalar arrays named, for example, "X velocity" "Y velocity" and "Z velocity" into a vector array named "velocity" with scalar components X, Y and Z.

It will also merge X and Y scalar arrays (with no Z component) into a vector with scalar components X, Y and 0. True by default.

◆ MergeXYZComponentsOff()

virtual void vtkSpyPlotReader::MergeXYZComponentsOff ( )
virtual

If true, the reader will merge scalar arrays named, for example, "X velocity" "Y velocity" and "Z velocity" into a vector array named "velocity" with scalar components X, Y and Z.

It will also merge X and Y scalar arrays (with no Z component) into a vector with scalar components X, Y and 0. True by default.

◆ GetTimeStepRange() [1/3]

virtual int* vtkSpyPlotReader::GetTimeStepRange ( )
virtual

Get the time step range.

◆ GetTimeStepRange() [2/3]

virtual void vtkSpyPlotReader::GetTimeStepRange ( int &  ,
int &   
)
virtual

Get the time step range.

◆ GetTimeStepRange() [3/3]

virtual void vtkSpyPlotReader::GetTimeStepRange ( int  [2])
virtual

Get the time step range.

◆ GetNumberOfCellArrays()

int vtkSpyPlotReader::GetNumberOfCellArrays ( )

Cell array selection.

◆ GetCellArrayName()

const char* vtkSpyPlotReader::GetCellArrayName ( int  idx)

Cell array selection.

◆ GetCellArrayStatus()

int vtkSpyPlotReader::GetCellArrayStatus ( const char *  name)

Cell array selection.

◆ SetCellArrayStatus()

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

Cell array selection.

◆ SetGlobalController()

void vtkSpyPlotReader::SetGlobalController ( vtkMultiProcessController *  controller)

Set the controller used to coordinate parallel reading.

The "global controller" has all processes while the "controller" has only those who have blocks.

◆ CanReadFile()

virtual int vtkSpyPlotReader::CanReadFile ( const char *  fname)
virtual

Determine if the file can be readed with this reader.

◆ GetLocalBounds()

void vtkSpyPlotReader::GetLocalBounds ( vtkSpyPlotBlockIterator biter,
int  nBlocks,
int  progressInterval 
)
protected

◆ SetGlobalBounds()

void vtkSpyPlotReader::SetGlobalBounds ( vtkSpyPlotBlockIterator biter,
int  total_num_of_block,
int  progressInterval,
int *  rightHasBounds,
int *  leftHasBounds 
)
protected

◆ GetLocalBoxSize()

bool vtkSpyPlotReader::GetLocalBoxSize ( vtkSpyPlotBlockIterator biter,
int *  localBoxSize 
) const
protected

◆ SetGlobalBoxSize()

void vtkSpyPlotReader::SetGlobalBoxSize ( vtkSpyPlotBlockIterator biter)
protected

◆ GetLocalMinLevelAndSpacing()

void vtkSpyPlotReader::GetLocalMinLevelAndSpacing ( vtkSpyPlotBlockIterator biter,
int *  localMinLevel,
double  spacing[3] 
) const
protected

◆ SetGlobalMinLevelAndSpacing()

void vtkSpyPlotReader::SetGlobalMinLevelAndSpacing ( vtkSpyPlotBlockIterator biter)
protected

◆ PrepareAMRData()

int vtkSpyPlotReader::PrepareAMRData ( vtkNonOverlappingAMR *  hb,
vtkSpyPlotBlock block,
int *  level,
int *  blockId,
int  extents[6],
int  realExtents[6],
int  realDims[3],
vtkCellData **  cd 
)
protected

◆ PrepareData()

int vtkSpyPlotReader::PrepareData ( vtkMultiBlockDataSet *  hb,
vtkSpyPlotBlock block,
vtkRectilinearGrid **  rg,
int  extents[6],
int  realExtents[6],
int  realDims[3],
vtkCellData **  cd 
)
protected

◆ UpdateFieldData()

void vtkSpyPlotReader::UpdateFieldData ( int  numFields,
int  dims[3],
int  level,
int  blockID,
vtkSpyPlotUniReader uniReader,
vtkCellData *  cd 
)
protected

◆ UpdateBadGhostFieldData()

void vtkSpyPlotReader::UpdateBadGhostFieldData ( int  numFields,
int  dims[3],
int  realDims[3],
int  realExtents[6],
int  level,
int  blockID,
vtkSpyPlotUniReader uniReader,
vtkCellData *  cd 
)
protected

◆ PrepareBlocks()

void vtkSpyPlotReader::PrepareBlocks ( vtkMultiBlockDataSet *  poly,
int  numMat 
)
protected

◆ PrepareMarkers()

int vtkSpyPlotReader::PrepareMarkers ( vtkMultiBlockDataSet *  poly,
vtkSpyPlotUniReader reader 
)
protected

◆ FillOutputPortInformation()

virtual int vtkSpyPlotReader::FillOutputPortInformation ( int  port,
vtkInformation *  info 
)
protectedvirtual

◆ RequestDataObject()

virtual int vtkSpyPlotReader::RequestDataObject ( vtkInformation *  req,
vtkInformationVector **  inV,
vtkInformationVector *  outV 
)
protectedvirtual

◆ RequestInformation()

virtual int vtkSpyPlotReader::RequestInformation ( vtkInformation *  request,
vtkInformationVector **  inputVector,
vtkInformationVector *  outputVector 
)
protectedvirtual

◆ RequestData()

virtual int vtkSpyPlotReader::RequestData ( vtkInformation *  request,
vtkInformationVector **  inputVector,
vtkInformationVector *  outputVector 
)
protectedvirtual

◆ UpdateMetaData()

int vtkSpyPlotReader::UpdateMetaData ( vtkInformation *  request,
vtkInformationVector *  outputVector 
)
protected

This does the updating of meta data of the dataset from the first binary file registered in the map:

  • number of time steps
  • number of fields
  • name of fields

◆ UpdateFile()

int vtkSpyPlotReader::UpdateFile ( vtkInformation *  request,
vtkInformationVector *  outputVector 
)
protected

◆ AddGhostLevelArray()

void vtkSpyPlotReader::AddGhostLevelArray ( int  numLevels)
protected

◆ AddBlockIdArray()

int vtkSpyPlotReader::AddBlockIdArray ( vtkCompositeDataSet *  cds)
protected

◆ AddAttributes()

int vtkSpyPlotReader::AddAttributes ( vtkNonOverlappingAMR *  hbds)
protected

◆ AddActiveBlockArray()

int vtkSpyPlotReader::AddActiveBlockArray ( vtkCellData *  cd,
vtkIdType  nCells,
unsigned char  status 
)
protected

◆ SetGlobalLevels()

void vtkSpyPlotReader::SetGlobalLevels ( vtkCompositeDataSet *  cds)
protected

◆ UpdateTimeStep() [1/2]

int vtkSpyPlotReader::UpdateTimeStep ( vtkInformation *  requestInfo,
vtkInformationVector *  outputInfo,
vtkCompositeDataSet *  hb 
)
protected

Set the current time step.

◆ UpdateTimeStep() [2/2]

virtual int vtkSpyPlotReader::UpdateTimeStep ( double  time,
int  piece = -1,
int  numPieces = 1,
int  ghostLevels = 0,
const int  extents[6] = 0 
)
inlineprotectedvirtual

Overwritten to avoid hiding.

Definition at line 346 of file vtkSpyPlotReader.h.

◆ MergeVectors() [1/3]

void vtkSpyPlotReader::MergeVectors ( vtkDataSetAttributes *  da)
protected

◆ MergeVectors() [2/3]

int vtkSpyPlotReader::MergeVectors ( vtkDataSetAttributes *  da,
vtkDataArray *  a1,
vtkDataArray *  a2 
)
protected

◆ MergeVectors() [3/3]

int vtkSpyPlotReader::MergeVectors ( vtkDataSetAttributes *  da,
vtkDataArray *  a1,
vtkDataArray *  a2,
vtkDataArray *  a3 
)
protected

◆ ComputeDerivedVars()

int vtkSpyPlotReader::ComputeDerivedVars ( vtkCellData *  data,
vtkSpyPlotBlock block,
vtkSpyPlotUniReader reader,
const int &  blockID 
)
protected

◆ GetCellDataArraySelection()

virtual vtkDataArraySelection* vtkSpyPlotReader::GetCellDataArraySelection ( )
protectedvirtual

Get the data array selection tables used to configure which data arrays are loaded by the reader.

Friends And Related Function Documentation

◆ vtkSpyPlotReaderMap

friend class vtkSpyPlotReaderMap
friend

Definition at line 368 of file vtkSpyPlotReader.h.

Member Data Documentation

◆ CellDataArraySelection

vtkDataArraySelection* vtkSpyPlotReader::CellDataArraySelection
protected

Definition at line 285 of file vtkSpyPlotReader.h.

◆ FileName

char* vtkSpyPlotReader::FileName
protected

Definition at line 325 of file vtkSpyPlotReader.h.

◆ TimeStep

int vtkSpyPlotReader::TimeStep
protected

Definition at line 327 of file vtkSpyPlotReader.h.

◆ TimeStepRange

int vtkSpyPlotReader::TimeStepRange[2]
protected

Definition at line 328 of file vtkSpyPlotReader.h.

◆ CurrentTimeStep

int vtkSpyPlotReader::CurrentTimeStep
protected

Definition at line 329 of file vtkSpyPlotReader.h.

◆ IsAMR

int vtkSpyPlotReader::IsAMR
protected

Definition at line 331 of file vtkSpyPlotReader.h.

◆ GlobalController

vtkMultiProcessController* vtkSpyPlotReader::GlobalController
protected

Definition at line 335 of file vtkSpyPlotReader.h.

◆ ComputeDerivedVariables

int vtkSpyPlotReader::ComputeDerivedVariables
protected

Definition at line 359 of file vtkSpyPlotReader.h.

◆ Map

vtkSpyPlotReaderMap* vtkSpyPlotReader::Map
protected

Definition at line 373 of file vtkSpyPlotReader.h.

◆ DistributeFiles

int vtkSpyPlotReader::DistributeFiles
protected

Definition at line 375 of file vtkSpyPlotReader.h.

◆ Bounds

vtkBoundingBox* vtkSpyPlotReader::Bounds
protected

Definition at line 377 of file vtkSpyPlotReader.h.

◆ BoxSize

int vtkSpyPlotReader::BoxSize[3]
protected

Definition at line 378 of file vtkSpyPlotReader.h.

◆ MinLevel

int vtkSpyPlotReader::MinLevel
protected

Definition at line 379 of file vtkSpyPlotReader.h.

◆ MinLevelSpacing

double vtkSpyPlotReader::MinLevelSpacing[3]
protected

Definition at line 380 of file vtkSpyPlotReader.h.

◆ GenerateLevelArray

int vtkSpyPlotReader::GenerateLevelArray
protected

Definition at line 382 of file vtkSpyPlotReader.h.

◆ GenerateBlockIdArray

int vtkSpyPlotReader::GenerateBlockIdArray
protected

Definition at line 383 of file vtkSpyPlotReader.h.

◆ GenerateActiveBlockArray

int vtkSpyPlotReader::GenerateActiveBlockArray
protected

Definition at line 384 of file vtkSpyPlotReader.h.

◆ GenerateTracerArray

int vtkSpyPlotReader::GenerateTracerArray
protected

Definition at line 385 of file vtkSpyPlotReader.h.

◆ GenerateMarkers

int vtkSpyPlotReader::GenerateMarkers
protected

Definition at line 386 of file vtkSpyPlotReader.h.

◆ DownConvertVolumeFraction

int vtkSpyPlotReader::DownConvertVolumeFraction
protected

Definition at line 388 of file vtkSpyPlotReader.h.

◆ TimeRequestedFromPipeline

bool vtkSpyPlotReader::TimeRequestedFromPipeline
protected

Definition at line 390 of file vtkSpyPlotReader.h.

◆ MergeXYZComponents

int vtkSpyPlotReader::MergeXYZComponents
protected

Definition at line 392 of file vtkSpyPlotReader.h.

◆ FileNameChanged

bool vtkSpyPlotReader::FileNameChanged
protected

Definition at line 395 of file vtkSpyPlotReader.h.


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