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>

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

Public Types

typedef vtkCompositeDataSetAlgorithm Superclass
 
- Public Types inherited from vtkCompositeDataSetAlgorithm
typedef vtkAlgorithm Superclass
 
- Public Types inherited from vtkAlgorithm
enum  DesiredOutputPrecision
 
enum  DesiredOutputPrecision
 
typedef vtkObject Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
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 read 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 intGetTimeStepRange ()
 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...
 
- Public Member Functions inherited from vtkCompositeDataSetAlgorithm
vtkCompositeDataSetAlgorithmNewInstance () const
 
vtkCompositeDataSetGetOutput ()
 
vtkCompositeDataSetGetOutput (int)
 
void SetInputData (vtkDataObject *)
 
void SetInputData (int, vtkDataObject *)
 
virtual int ProcessRequest (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
 
vtkCompositeDataSetGetOutput ()
 
vtkCompositeDataSetGetOutput (int)
 
void SetInputData (vtkDataObject *)
 
void SetInputData (int, vtkDataObject *)
 
virtual int ProcessRequest (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
 
- Public Member Functions inherited from vtkAlgorithm
vtkAlgorithmNewInstance () const
 
int HasExecutive ()
 
vtkExecutiveGetExecutive ()
 
virtual void SetExecutive (vtkExecutive *executive)
 
virtual int ModifyRequest (vtkInformation *request, int when)
 
vtkInformationGetInputPortInformation (int port)
 
vtkInformationGetOutputPortInformation (int port)
 
int GetNumberOfInputPorts ()
 
int GetNumberOfOutputPorts ()
 
void UpdateProgress (double amount)
 
vtkInformationGetInputArrayInformation (int idx)
 
void RemoveAllInputs ()
 
vtkDataObjectGetOutputDataObject (int port)
 
virtual void RemoveInputConnection (int port, vtkAlgorithmOutput *input)
 
virtual void RemoveInputConnection (int port, int idx)
 
virtual void RemoveAllInputConnections (int port)
 
int GetNumberOfInputConnections (int port)
 
int GetTotalNumberOfInputConnections ()
 
vtkAlgorithmOutputGetInputConnection (int port, int index)
 
vtkAlgorithmGetInputAlgorithm (int port, int index, int &algPort)
 
vtkAlgorithmGetInputAlgorithm (int port, int index)
 
vtkExecutiveGetInputExecutive (int port, int index)
 
vtkInformationGetInputInformation (int port, int index)
 
vtkInformationGetOutputInformation (int port)
 
virtual int Update (int port, vtkInformationVector *requests)
 
virtual int Update (vtkInformation *requests)
 
virtual int UpdateExtent (const int extents[6])
 
virtual void UpdateInformation ()
 
virtual void UpdateDataObject ()
 
virtual void PropagateUpdateExtent ()
 
virtual void UpdateWholeExtent ()
 
void ConvertTotalInputToPortConnection (int ind, int &port, int &conn)
 
int SetUpdateExtentToWholeExtent (int port)
 
int SetUpdateExtentToWholeExtent ()
 
void SetUpdateExtent (int port, int extent[6])
 
void SetUpdateExtent (int extent[6])
 
int ProcessRequest (vtkInformation *request, vtkCollection *inInfo, vtkInformationVector *outInfo)
 
virtual int ComputePipelineMTime (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec, int requestFromOutputPort, vtkMTimeType *mtime)
 
virtual vtkInformationGetInformation ()
 
virtual void SetInformation (vtkInformation *)
 
void Register (vtkObjectBase *o) VTK_OVERRIDE
 
void UnRegister (vtkObjectBase *o) VTK_OVERRIDE
 
virtual void SetAbortExecute (int)
 
virtual int GetAbortExecute ()
 
virtual void AbortExecuteOn ()
 
virtual void AbortExecuteOff ()
 
virtual void SetProgress (double)
 
virtual double GetProgress ()
 
void SetProgressText (const char *ptext)
 
virtual char * GetProgressText ()
 
virtual unsigned long GetErrorCode ()
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, const char *name)
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, int fieldAttributeType)
 
virtual void SetInputArrayToProcess (int idx, vtkInformation *info)
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, const char *fieldAssociation, const char *attributeTypeorName)
 
vtkDataObjectGetInputDataObject (int port, int connection)
 
virtual void SetInputConnection (int port, vtkAlgorithmOutput *input)
 
virtual void SetInputConnection (vtkAlgorithmOutput *input)
 
virtual void AddInputConnection (int port, vtkAlgorithmOutput *input)
 
virtual void AddInputConnection (vtkAlgorithmOutput *input)
 
virtual void SetInputDataObject (int port, vtkDataObject *data)
 
virtual void SetInputDataObject (vtkDataObject *data)
 
virtual void AddInputDataObject (int port, vtkDataObject *data)
 
virtual void AddInputDataObject (vtkDataObject *data)
 
vtkAlgorithmOutputGetOutputPort (int index)
 
vtkAlgorithmOutputGetOutputPort ()
 
vtkAlgorithmGetInputAlgorithm ()
 
vtkExecutiveGetInputExecutive ()
 
vtkInformationGetInputInformation ()
 
virtual void Update (int port)
 
virtual void Update ()
 
virtual int UpdatePiece (int piece, int numPieces, int ghostLevels, const int extents[6]=0)
 
virtual void SetReleaseDataFlag (int)
 
virtual int GetReleaseDataFlag ()
 
void ReleaseDataFlagOn ()
 
void ReleaseDataFlagOff ()
 
int UpdateExtentIsEmpty (vtkInformation *pinfo, vtkDataObject *output)
 
int UpdateExtentIsEmpty (vtkInformation *pinfo, int extentType)
 
void SetUpdateExtent (int port, int piece, int numPieces, int ghostLevel)
 
void SetUpdateExtent (int piece, int numPieces, int ghostLevel)
 
intGetUpdateExtent ()
 
intGetUpdateExtent (int port)
 
void GetUpdateExtent (int &x0, int &x1, int &y0, int &y1, int &z0, int &z1)
 
void GetUpdateExtent (int port, int &x0, int &x1, int &y0, int &y1, int &z0, int &z1)
 
void GetUpdateExtent (int extent[6])
 
void GetUpdateExtent (int port, int extent[6])
 
int GetUpdatePiece ()
 
int GetUpdatePiece (int port)
 
int GetUpdateNumberOfPieces ()
 
int GetUpdateNumberOfPieces (int port)
 
int GetUpdateGhostLevel ()
 
int GetUpdateGhostLevel (int port)
 
void SetProgressObserver (vtkProgressObserver *)
 
virtual vtkProgressObserverGetProgressObserver ()
 
int ProcessRequest (vtkInformation *request, vtkCollection *inInfo, vtkInformationVector *outInfo)
 
virtual int ComputePipelineMTime (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec, int requestFromOutputPort, vtkMTimeType *mtime)
 
virtual vtkInformationGetInformation ()
 
virtual void SetInformation (vtkInformation *)
 
void Register (vtkObjectBase *o) VTK_OVERRIDE
 
void UnRegister (vtkObjectBase *o) VTK_OVERRIDE
 
virtual void SetAbortExecute (int)
 
virtual int GetAbortExecute ()
 
virtual void AbortExecuteOn ()
 
virtual void AbortExecuteOff ()
 
virtual void SetProgress (double)
 
virtual double GetProgress ()
 
void SetProgressText (const char *ptext)
 
virtual char * GetProgressText ()
 
virtual unsigned long GetErrorCode ()
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, const char *name)
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, int fieldAttributeType)
 
virtual void SetInputArrayToProcess (int idx, vtkInformation *info)
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, const char *fieldAssociation, const char *attributeTypeorName)
 
vtkDataObjectGetInputDataObject (int port, int connection)
 
virtual void SetInputConnection (int port, vtkAlgorithmOutput *input)
 
virtual void SetInputConnection (vtkAlgorithmOutput *input)
 
virtual void AddInputConnection (int port, vtkAlgorithmOutput *input)
 
virtual void AddInputConnection (vtkAlgorithmOutput *input)
 
virtual void SetInputDataObject (int port, vtkDataObject *data)
 
virtual void SetInputDataObject (vtkDataObject *data)
 
virtual void AddInputDataObject (int port, vtkDataObject *data)
 
virtual void AddInputDataObject (vtkDataObject *data)
 
vtkAlgorithmOutputGetOutputPort (int index)
 
vtkAlgorithmOutputGetOutputPort ()
 
vtkAlgorithmGetInputAlgorithm ()
 
vtkExecutiveGetInputExecutive ()
 
vtkInformationGetInputInformation ()
 
virtual void Update (int port)
 
virtual void Update ()
 
virtual int UpdatePiece (int piece, int numPieces, int ghostLevels, const int extents[6]=0)
 
virtual void SetReleaseDataFlag (int)
 
virtual int GetReleaseDataFlag ()
 
void ReleaseDataFlagOn ()
 
void ReleaseDataFlagOff ()
 
int UpdateExtentIsEmpty (vtkInformation *pinfo, vtkDataObject *output)
 
int UpdateExtentIsEmpty (vtkInformation *pinfo, int extentType)
 
void SetUpdateExtent (int port, int piece, int numPieces, int ghostLevel)
 
void SetUpdateExtent (int piece, int numPieces, int ghostLevel)
 
intGetUpdateExtent ()
 
intGetUpdateExtent (int port)
 
void GetUpdateExtent (int &x0, int &x1, int &y0, int &y1, int &z0, int &z1)
 
void GetUpdateExtent (int port, int &x0, int &x1, int &y0, int &y1, int &z0, int &z1)
 
void GetUpdateExtent (int extent[6])
 
void GetUpdateExtent (int port, int extent[6])
 
int GetUpdatePiece ()
 
int GetUpdatePiece (int port)
 
int GetUpdateNumberOfPieces ()
 
int GetUpdateNumberOfPieces (int port)
 
int GetUpdateGhostLevel ()
 
int GetUpdateGhostLevel (int port)
 
void SetProgressObserver (vtkProgressObserver *)
 
virtual vtkProgressObserverGetProgressObserver ()
 
- Public Member Functions inherited from vtkObject
 vtkBaseTypeMacro (vtkObject, vtkObjectBase)
 
virtual void DebugOn ()
 
virtual void DebugOff ()
 
bool GetDebug ()
 
void SetDebug (bool debugFlag)
 
virtual void Modified ()
 
virtual vtkMTimeType GetMTime ()
 
void RemoveObserver (unsigned long tag)
 
void RemoveObservers (unsigned long event)
 
void RemoveObservers (const char *event)
 
void RemoveAllObservers ()
 
int HasObserver (unsigned long event)
 
int HasObserver (const char *event)
 
int InvokeEvent (unsigned long event)
 
int InvokeEvent (const char *event)
 
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
 
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
 
vtkCommandGetCommand (unsigned long tag)
 
void RemoveObserver (vtkCommand *)
 
void RemoveObservers (unsigned long event, vtkCommand *)
 
void RemoveObservers (const char *event, vtkCommand *)
 
int HasObserver (unsigned long event, vtkCommand *)
 
int HasObserver (const char *event, vtkCommand *)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
int InvokeEvent (unsigned long event, void *callData)
 
int InvokeEvent (const char *event, void *callData)
 
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
 
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
 
vtkCommandGetCommand (unsigned long tag)
 
void RemoveObserver (vtkCommand *)
 
void RemoveObservers (unsigned long event, vtkCommand *)
 
void RemoveObservers (const char *event, vtkCommand *)
 
int HasObserver (unsigned long event, vtkCommand *)
 
int HasObserver (const char *event, vtkCommand *)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
int InvokeEvent (unsigned long event, void *callData)
 
int InvokeEvent (const char *event, void *callData)
 
- Public Member Functions inherited from vtkObjectBase
const char * GetClassName () const
 
virtual void Delete ()
 
virtual void FastDelete ()
 
void Print (ostream &os)
 
void SetReferenceCount (int)
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
int GetReferenceCount ()
 
void PrintRevisions (ostream &)
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
int GetReferenceCount ()
 
void PrintRevisions (ostream &)
 

Static Public Member Functions

static vtkSpyPlotReaderNew ()
 
static int IsTypeOf (const char *type)
 
static vtkSpyPlotReaderSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkCompositeDataSetAlgorithm
static vtkCompositeDataSetAlgorithmNew ()
 
static int IsTypeOf (const char *type)
 
static vtkCompositeDataSetAlgorithmSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkAlgorithm
static vtkAlgorithmNew ()
 
static int IsTypeOf (const char *type)
 
static vtkAlgorithmSafeDownCast (vtkObjectBase *o)
 
static vtkInformationIntegerKeyINPUT_IS_OPTIONAL ()
 
static vtkInformationIntegerKeyINPUT_IS_REPEATABLE ()
 
static vtkInformationInformationVectorKeyINPUT_REQUIRED_FIELDS ()
 
static vtkInformationStringVectorKeyINPUT_REQUIRED_DATA_TYPE ()
 
static vtkInformationInformationVectorKeyINPUT_ARRAYS_TO_PROCESS ()
 
static vtkInformationIntegerKeyINPUT_PORT ()
 
static vtkInformationIntegerKeyINPUT_CONNECTION ()
 
static vtkInformationIntegerKeyCAN_PRODUCE_SUB_EXTENT ()
 
static vtkInformationIntegerKeyCAN_HANDLE_PIECE_REQUEST ()
 
static void SetDefaultExecutivePrototype (vtkExecutive *proto)
 
- Static Public Member Functions inherited from vtkObject
static vtkObjectNew ()
 
static void BreakOnError ()
 
static void SetGlobalWarningDisplay (int val)
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
static void SetGlobalWarningDisplay (int val)
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
- Static Public Member Functions inherited from vtkObjectBase
static vtkTypeBool IsTypeOf (const char *name)
 
static vtkObjectBaseNew ()
 
static vtkObjectBaseNew ()
 

Protected Member Functions

 vtkSpyPlotReader ()
 
 ~vtkSpyPlotReader () override
 
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)
 
int FillOutputPortInformation (int port, vtkInformation *info) override
 
int RequestDataObject (vtkInformation *req, vtkInformationVector **inV, vtkInformationVector *outV) override
 
int RequestInformation (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
 
int RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
 
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...
 
int UpdateTimeStep (double time, int piece=-1, int numPieces=1, int ghostLevels=0, const int extents[6]=nullptr) override
 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 vtkDataArraySelectionGetCellDataArraySelection ()
 Get the data array selection tables used to configure which data arrays are loaded by the reader. More...
 
- Protected Member Functions inherited from vtkCompositeDataSetAlgorithm
virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkCompositeDataSetAlgorithm ()
 
 ~vtkCompositeDataSetAlgorithm ()
 
virtual vtkExecutiveCreateDefaultExecutive ()
 
virtual int FillInputPortInformation (int port, vtkInformation *info)
 
vtkDataObjectGetInput (int port)
 
virtual int RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
virtual int RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
- Protected Member Functions inherited from vtkAlgorithm
 vtkAlgorithm ()
 
 ~vtkAlgorithm ()
 
virtual void SetNumberOfInputPorts (int n)
 
virtual void SetNumberOfOutputPorts (int n)
 
int InputPortIndexInRange (int index, const char *action)
 
int OutputPortIndexInRange (int index, const char *action)
 
int GetInputArrayAssociation (int idx, vtkInformationVector **inputVector)
 
void ReportReferences (vtkGarbageCollector *) VTK_OVERRIDE
 
virtual void SetNumberOfInputConnections (int port, int n)
 
int GetInputArrayAssociation (int idx, int connection, vtkInformationVector **inputVector)
 
int GetInputArrayAssociation (int idx, vtkDataObject *input)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkInformationVector **inputVector)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkInformationVector **inputVector, int &association)
 
vtkDataArrayGetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector)
 
vtkDataArrayGetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkDataObject *input)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkDataObject *input, int &association)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector, int &association)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkDataObject *input)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkDataObject *input, int &association)
 
vtkInformationGetInputArrayFieldInformation (int idx, vtkInformationVector **inputVector)
 
virtual void SetNthInputConnection (int port, int index, vtkAlgorithmOutput *input)
 
void SetInputDataInternal (int port, vtkDataObject *input)
 
void AddInputDataInternal (int port, vtkDataObject *input)
 
int GetInputArrayAssociation (int idx, int connection, vtkInformationVector **inputVector)
 
int GetInputArrayAssociation (int idx, vtkDataObject *input)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkInformationVector **inputVector)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkInformationVector **inputVector, int &association)
 
vtkDataArrayGetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector)
 
vtkDataArrayGetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkDataObject *input)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkDataObject *input, int &association)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector, int &association)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkDataObject *input)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkDataObject *input, int &association)
 
vtkInformationGetInputArrayFieldInformation (int idx, vtkInformationVector **inputVector)
 
virtual void SetErrorCode (unsigned long)
 
virtual void SetNthInputConnection (int port, int index, vtkAlgorithmOutput *input)
 
void SetInputDataInternal (int port, vtkDataObject *input)
 
void AddInputDataInternal (int port, vtkDataObject *input)
 
- Protected Member Functions inherited from vtkObject
 vtkObject ()
 
virtual ~vtkObject ()
 
void RegisterInternal (vtkObjectBase *, vtkTypeBool check) VTK_OVERRIDE
 
void UnRegisterInternal (vtkObjectBase *, vtkTypeBool check) VTK_OVERRIDE
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
 
void InternalReleaseFocus ()
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
 
void InternalReleaseFocus ()
 
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
 
virtual ~vtkObjectBase ()
 
virtual void CollectRevisions (ostream &)
 
 vtkObjectBase (const vtkObjectBase &)
 
void operator= (const vtkObjectBase &)
 

Protected Attributes

vtkDataArraySelectionCellDataArraySelection
 
char * FileName
 
int TimeStep
 
int TimeStepRange [2]
 
int CurrentTimeStep
 
int IsAMR
 
vtkMultiProcessControllerGlobalController
 
int ComputeDerivedVariables
 
vtkSpyPlotReaderMapMap
 
int DistributeFiles
 
vtkBoundingBoxBounds
 
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
 
- Protected Attributes inherited from vtkAlgorithm
vtkInformationInformation
 
double Progress
 
char * ProgressText
 
vtkProgressObserverProgressObserver
 
unsigned long ErrorCode
 
- Protected Attributes inherited from vtkObject
bool Debug
 
vtkTimeStamp MTime
 
vtkSubjectHelper * SubjectHelper
 
- Protected Attributes inherited from vtkObjectBase
vtkAtomicInt32 ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 

Friends

class vtkSpyPlotReaderMap
 

Additional Inherited Members

- Public Attributes inherited from vtkAlgorithm
 SINGLE_PRECISION
 
 DOUBLE_PRECISION
 
 DEFAULT_PRECISION
 
int AbortExecute
 
- Static Protected Member Functions inherited from vtkAlgorithm
static vtkInformationIntegerKeyPORT_REQUIREMENTS_FILLED ()
 
- Static Protected Attributes inherited from vtkAlgorithm
static vtkExecutiveDefaultExecutivePrototype
 

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 information 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 63 of file vtkSpyPlotReader.h.

Member Typedef Documentation

◆ Superclass

Definition at line 67 of file vtkSpyPlotReader.h.

Constructor & Destructor Documentation

◆ vtkSpyPlotReader()

vtkSpyPlotReader::vtkSpyPlotReader ( )
protected

◆ ~vtkSpyPlotReader()

vtkSpyPlotReader::~vtkSpyPlotReader ( )
overrideprotected

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

Reimplemented from vtkCompositeDataSetAlgorithm.

◆ SafeDownCast()

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

◆ PrintSelf()

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

Reimplemented from vtkCompositeDataSetAlgorithm.

◆ 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 read 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()

int vtkSpyPlotReader::FillOutputPortInformation ( int  port,
vtkInformation info 
)
overrideprotectedvirtual

Reimplemented from vtkCompositeDataSetAlgorithm.

◆ RequestDataObject()

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

Reimplemented from vtkCompositeDataSetAlgorithm.

◆ RequestInformation()

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

Reimplemented from vtkCompositeDataSetAlgorithm.

◆ RequestData()

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

Reimplemented from vtkCompositeDataSetAlgorithm.

◆ 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]

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

Overwritten to avoid hiding.

Reimplemented from vtkAlgorithm.

Definition at line 335 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 357 of file vtkSpyPlotReader.h.

Member Data Documentation

◆ CellDataArraySelection

vtkDataArraySelection* vtkSpyPlotReader::CellDataArraySelection
protected

Definition at line 274 of file vtkSpyPlotReader.h.

◆ FileName

char* vtkSpyPlotReader::FileName
protected

Definition at line 314 of file vtkSpyPlotReader.h.

◆ TimeStep

int vtkSpyPlotReader::TimeStep
protected

Definition at line 316 of file vtkSpyPlotReader.h.

◆ TimeStepRange

int vtkSpyPlotReader::TimeStepRange[2]
protected

Definition at line 317 of file vtkSpyPlotReader.h.

◆ CurrentTimeStep

int vtkSpyPlotReader::CurrentTimeStep
protected

Definition at line 318 of file vtkSpyPlotReader.h.

◆ IsAMR

int vtkSpyPlotReader::IsAMR
protected

Definition at line 320 of file vtkSpyPlotReader.h.

◆ GlobalController

vtkMultiProcessController* vtkSpyPlotReader::GlobalController
protected

Definition at line 324 of file vtkSpyPlotReader.h.

◆ ComputeDerivedVariables

int vtkSpyPlotReader::ComputeDerivedVariables
protected

Definition at line 348 of file vtkSpyPlotReader.h.

◆ Map

vtkSpyPlotReaderMap* vtkSpyPlotReader::Map
protected

Definition at line 362 of file vtkSpyPlotReader.h.

◆ DistributeFiles

int vtkSpyPlotReader::DistributeFiles
protected

Definition at line 364 of file vtkSpyPlotReader.h.

◆ Bounds

vtkBoundingBox* vtkSpyPlotReader::Bounds
protected

Definition at line 366 of file vtkSpyPlotReader.h.

◆ BoxSize

int vtkSpyPlotReader::BoxSize[3]
protected

Definition at line 367 of file vtkSpyPlotReader.h.

◆ MinLevel

int vtkSpyPlotReader::MinLevel
protected

Definition at line 368 of file vtkSpyPlotReader.h.

◆ MinLevelSpacing

double vtkSpyPlotReader::MinLevelSpacing[3]
protected

Definition at line 369 of file vtkSpyPlotReader.h.

◆ GenerateLevelArray

int vtkSpyPlotReader::GenerateLevelArray
protected

Definition at line 371 of file vtkSpyPlotReader.h.

◆ GenerateBlockIdArray

int vtkSpyPlotReader::GenerateBlockIdArray
protected

Definition at line 372 of file vtkSpyPlotReader.h.

◆ GenerateActiveBlockArray

int vtkSpyPlotReader::GenerateActiveBlockArray
protected

Definition at line 373 of file vtkSpyPlotReader.h.

◆ GenerateTracerArray

int vtkSpyPlotReader::GenerateTracerArray
protected

Definition at line 374 of file vtkSpyPlotReader.h.

◆ GenerateMarkers

int vtkSpyPlotReader::GenerateMarkers
protected

Definition at line 375 of file vtkSpyPlotReader.h.

◆ DownConvertVolumeFraction

int vtkSpyPlotReader::DownConvertVolumeFraction
protected

Definition at line 377 of file vtkSpyPlotReader.h.

◆ TimeRequestedFromPipeline

bool vtkSpyPlotReader::TimeRequestedFromPipeline
protected

Definition at line 379 of file vtkSpyPlotReader.h.

◆ MergeXYZComponents

int vtkSpyPlotReader::MergeXYZComponents
protected

Definition at line 381 of file vtkSpyPlotReader.h.

◆ FileNameChanged

bool vtkSpyPlotReader::FileNameChanged
protected

Definition at line 384 of file vtkSpyPlotReader.h.


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