Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
vtkPGenericIOMultiBlockReader Class Reference

Creates a vtkMultiBlockDataSet from a GenericIO file. More...

#include <vtkPGenericIOMultiBlockReader.h>

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

Public Types

enum  IOType { IOTYPEMPI, IOTYPEPOSIX }
 
enum  BlockAssignment { ROUND_ROBIN, RCB }
 
typedef vtkMultiBlockDataSetAlgorithm Superclass
 
- Public Types inherited from vtkMultiBlockDataSetAlgorithm
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
 
int GetNumberOfPointArrays ()
 Returns the number of arrays in the file, i.e., the number of columns. More...
 
const char * GetPointArrayName (int i)
 Returns the name of the ith array. More...
 
int GetPointArrayStatus (const char *name)
 Returns the status of the array corresponding to the given name. More...
 
void SetPointArrayStatus (const char *name, int status)
 Sets the status of the array corresponding to the given name. More...
 
vtkIdType GetRequestedHaloId (vtkIdType i)
 Gets the ith requested halo id. More...
 
vtkIdType GetNumberOfRequestedHaloIds ()
 Gets the number of requested halo ids. More...
 
void SetNumberOfRequestedHaloIds (vtkIdType numIds)
 Sets the number of requested halo ids. More...
 
void AddRequestedHaloId (vtkIdType haloId)
 Adds the given halo id to the list of halo ids to request. More...
 
void ClearRequestedHaloIds ()
 Clears the list of requested halo ids. More...
 
void SetRequestedHaloId (vtkIdType i, vtkIdType haloId)
 Sets the ith requested halo id to the given haloId. More...
 
virtual void SetXAxisVariableName (const char *)
 Set/Get the variable name to be used as the x-axis for plotting particles. More...
 
virtual char * GetXAxisVariableName ()
 Set/Get the variable name to be used as the x-axis for plotting particles. More...
 
virtual void SetYAxisVariableName (const char *)
 Set/Get the variable name to be used as the y-axis for plotting particles. More...
 
virtual char * GetYAxisVariableName ()
 Set/Get the variable name to be used as the y-axis for plotting particles. More...
 
virtual void SetZAxisVariableName (const char *)
 Set/Get the variable name to be used as the z-axis for plotting particles. More...
 
virtual char * GetZAxisVariableName ()
 Set/Get the variable name to be used as the z-axis for plotting particles. More...
 
virtual void SetFileName (const char *)
 Specify the name of the cosmology particle binary file to read. More...
 
virtual char * GetFileName ()
 Specify the name of the cosmology particle binary file to read. More...
 
virtual void SetGenericIOType (int)
 Set/Get the underlying IO method the reader will employ, i.e., MPI or POSIX. More...
 
virtual int GetGenericIOType ()
 Set/Get the underlying IO method the reader will employ, i.e., MPI or POSIX. More...
 
virtual void SetBlockAssignment (int)
 Set/Get the underlying block-assignment strategy to use, i.e., ROUND_ROBIN, or RCB. More...
 
virtual int GetBlockAssignment ()
 Set/Get the underlying block-assignment strategy to use, i.e., ROUND_ROBIN, or RCB. More...
 
virtual vtkStringArrayGetArrayList ()
 Returns the list of arrays used to select the variables to be used for the x,y and z axis. More...
 
virtual vtkDataArraySelectionGetPointDataArraySelection ()
 Get the data array selection tables used to configure which data arrays are loaded by the reader. More...
 
virtual vtkMultiProcessControllerGetController ()
 Set/Get a multiprocess-controller for reading in parallel. More...
 
virtual void SetController (vtkMultiProcessController *)
 Set/Get a multiprocess-controller for reading in parallel. More...
 
virtual void SetHaloIdVariableName (const char *)
 Gets/Sets the variable name for the halo id of the particle. More...
 
virtual char * GetHaloIdVariableName ()
 Gets/Sets the variable name for the halo id of the particle. More...
 
- Public Member Functions inherited from vtkMultiBlockDataSetAlgorithm
vtkMultiBlockDataSetAlgorithmNewInstance () const
 
vtkMultiBlockDataSetGetOutput ()
 
vtkMultiBlockDataSetGetOutput (int)
 
void SetInputData (vtkDataObject *)
 
void SetInputData (int, vtkDataObject *)
 
virtual int ProcessRequest (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
 
vtkMultiBlockDataSetGetOutput ()
 
vtkMultiBlockDataSetGetOutput (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 int UpdateTimeStep (double time, int piece=-1, int numPieces=1, int ghostLevels=0, 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 int UpdateTimeStep (double time, int piece=-1, int numPieces=1, int ghostLevels=0, 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 vtkPGenericIOMultiBlockReaderNew ()
 
static int IsTypeOf (const char *type)
 
static vtkPGenericIOMultiBlockReaderSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkMultiBlockDataSetAlgorithm
static vtkMultiBlockDataSetAlgorithmNew ()
 
static int IsTypeOf (const char *type)
 
static vtkMultiBlockDataSetAlgorithmSafeDownCast (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

 vtkPGenericIOMultiBlockReader ()
 
 ~vtkPGenericIOMultiBlockReader ()
 
gio::GenericIOReader * GetInternalReader ()
 
bool ReaderParametersChanged ()
 
void LoadMetaData ()
 
void LoadRawVariableDataForBlock (const std::string &varName, int blockId)
 
void LoadRawDataForBlock (int blockId)
 
void GetPointFromRawData (int xType, void *xBuffer, int yType, void *yBuffer, int zType, void *zBuffer, vtkIdType id, double point[3])
 
void LoadCoordinatesForBlock (vtkUnstructuredGrid *grid, std::set< vtkIdType > &pointsInSelectedHalos, int blockId)
 
void LoadDataArraysForBlock (vtkUnstructuredGrid *grid, const std::set< vtkIdType > &pointsInSelectedHalos, int blockId)
 
vtkUnstructuredGridLoadBlock (int blockId)
 
virtual int RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
- Protected Member Functions inherited from vtkMultiBlockDataSetAlgorithm
virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkMultiBlockDataSetAlgorithm ()
 
 ~vtkMultiBlockDataSetAlgorithm ()
 
virtual vtkExecutiveCreateDefaultExecutive ()
 
virtual int FillOutputPortInformation (int port, vtkInformation *info)
 
virtual int FillInputPortInformation (int port, vtkInformation *info)
 
vtkDataObjectGetInput (int port)
 
virtual int RequestDataObject (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
virtual int RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
virtual int RequestDataObject (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 &)
 

Static Protected Member Functions

static void SelectionModifiedCallback (vtkObject *caller, unsigned long eid, void *clientdata, void *calldata)
 Call-back registered with the SelectionObserver. More...
 
- Static Protected Member Functions inherited from vtkAlgorithm
static vtkInformationIntegerKeyPORT_REQUIREMENTS_FILLED ()
 

Protected Attributes

char * XAxisVariableName
 
char * YAxisVariableName
 
char * ZAxisVariableName
 
char * HaloIdVariableName
 
char * FileName
 
int GenericIOType
 
int BlockAssignment
 
bool BuildMetaData
 
vtkMultiProcessControllerController
 
vtkStringArrayArrayList
 
vtkDataArraySelectionPointDataArraySelection
 
vtkIdListHaloList
 
vtkCallbackCommandSelectionObserver
 
gio::GenericIOReader * Reader
 
- 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
 

Additional Inherited Members

- Public Attributes inherited from vtkAlgorithm
 SINGLE_PRECISION
 
 DOUBLE_PRECISION
 
 DEFAULT_PRECISION
 
int AbortExecute
 
- Static Protected Attributes inherited from vtkAlgorithm
static vtkExecutiveDefaultExecutivePrototype
 

Detailed Description

Creates a vtkMultiBlockDataSet from a GenericIO file.

Definition at line 33 of file vtkPGenericIOMultiBlockReader.h.

Member Typedef Documentation

◆ Superclass

Definition at line 50 of file vtkPGenericIOMultiBlockReader.h.

Member Enumeration Documentation

◆ IOType

Enumerator
IOTYPEMPI 
IOTYPEPOSIX 

Definition at line 37 of file vtkPGenericIOMultiBlockReader.h.

◆ BlockAssignment

Enumerator
ROUND_ROBIN 
RCB 

Definition at line 43 of file vtkPGenericIOMultiBlockReader.h.

Constructor & Destructor Documentation

◆ vtkPGenericIOMultiBlockReader()

vtkPGenericIOMultiBlockReader::vtkPGenericIOMultiBlockReader ( )
protected

◆ ~vtkPGenericIOMultiBlockReader()

vtkPGenericIOMultiBlockReader::~vtkPGenericIOMultiBlockReader ( )
protected

Member Function Documentation

◆ New()

static vtkPGenericIOMultiBlockReader* vtkPGenericIOMultiBlockReader::New ( )
static

◆ GetClassName()

virtual const char* vtkPGenericIOMultiBlockReader::GetClassName ( )
virtual

◆ IsTypeOf()

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

◆ IsA()

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

Reimplemented from vtkMultiBlockDataSetAlgorithm.

◆ SafeDownCast()

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

◆ PrintSelf()

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

Reimplemented from vtkMultiBlockDataSetAlgorithm.

◆ SetXAxisVariableName()

virtual void vtkPGenericIOMultiBlockReader::SetXAxisVariableName ( const char *  )
virtual

Set/Get the variable name to be used as the x-axis for plotting particles.

◆ GetXAxisVariableName()

virtual char* vtkPGenericIOMultiBlockReader::GetXAxisVariableName ( )
virtual

Set/Get the variable name to be used as the x-axis for plotting particles.

◆ SetYAxisVariableName()

virtual void vtkPGenericIOMultiBlockReader::SetYAxisVariableName ( const char *  )
virtual

Set/Get the variable name to be used as the y-axis for plotting particles.

◆ GetYAxisVariableName()

virtual char* vtkPGenericIOMultiBlockReader::GetYAxisVariableName ( )
virtual

Set/Get the variable name to be used as the y-axis for plotting particles.

◆ SetZAxisVariableName()

virtual void vtkPGenericIOMultiBlockReader::SetZAxisVariableName ( const char *  )
virtual

Set/Get the variable name to be used as the z-axis for plotting particles.

◆ GetZAxisVariableName()

virtual char* vtkPGenericIOMultiBlockReader::GetZAxisVariableName ( )
virtual

Set/Get the variable name to be used as the z-axis for plotting particles.

◆ SetFileName()

virtual void vtkPGenericIOMultiBlockReader::SetFileName ( const char *  )
virtual

Specify the name of the cosmology particle binary file to read.

◆ GetFileName()

virtual char* vtkPGenericIOMultiBlockReader::GetFileName ( )
virtual

Specify the name of the cosmology particle binary file to read.

◆ SetGenericIOType()

virtual void vtkPGenericIOMultiBlockReader::SetGenericIOType ( int  )
virtual

Set/Get the underlying IO method the reader will employ, i.e., MPI or POSIX.

◆ GetGenericIOType()

virtual int vtkPGenericIOMultiBlockReader::GetGenericIOType ( )
virtual

Set/Get the underlying IO method the reader will employ, i.e., MPI or POSIX.

◆ SetBlockAssignment()

virtual void vtkPGenericIOMultiBlockReader::SetBlockAssignment ( int  )
virtual

Set/Get the underlying block-assignment strategy to use, i.e., ROUND_ROBIN, or RCB.

◆ GetBlockAssignment()

virtual int vtkPGenericIOMultiBlockReader::GetBlockAssignment ( )
virtual

Set/Get the underlying block-assignment strategy to use, i.e., ROUND_ROBIN, or RCB.

◆ GetArrayList()

virtual vtkStringArray* vtkPGenericIOMultiBlockReader::GetArrayList ( )
virtual

Returns the list of arrays used to select the variables to be used for the x,y and z axis.

◆ GetPointDataArraySelection()

virtual vtkDataArraySelection* vtkPGenericIOMultiBlockReader::GetPointDataArraySelection ( )
virtual

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

◆ GetController()

virtual vtkMultiProcessController* vtkPGenericIOMultiBlockReader::GetController ( )
virtual

Set/Get a multiprocess-controller for reading in parallel.

By default this parameter is set to nullptr by the constructor.

◆ SetController()

virtual void vtkPGenericIOMultiBlockReader::SetController ( vtkMultiProcessController )
virtual

Set/Get a multiprocess-controller for reading in parallel.

By default this parameter is set to nullptr by the constructor.

◆ GetNumberOfPointArrays()

int vtkPGenericIOMultiBlockReader::GetNumberOfPointArrays ( )

Returns the number of arrays in the file, i.e., the number of columns.

◆ GetPointArrayName()

const char* vtkPGenericIOMultiBlockReader::GetPointArrayName ( int  i)

Returns the name of the ith array.

◆ GetPointArrayStatus()

int vtkPGenericIOMultiBlockReader::GetPointArrayStatus ( const char *  name)

Returns the status of the array corresponding to the given name.

◆ SetPointArrayStatus()

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

Sets the status of the array corresponding to the given name.

◆ SetHaloIdVariableName()

virtual void vtkPGenericIOMultiBlockReader::SetHaloIdVariableName ( const char *  )
virtual

Gets/Sets the variable name for the halo id of the particle.

This is used by the requested halo selector to select only the points in the desired halos.

◆ GetHaloIdVariableName()

virtual char* vtkPGenericIOMultiBlockReader::GetHaloIdVariableName ( )
virtual

Gets/Sets the variable name for the halo id of the particle.

This is used by the requested halo selector to select only the points in the desired halos.

◆ GetRequestedHaloId()

vtkIdType vtkPGenericIOMultiBlockReader::GetRequestedHaloId ( vtkIdType  i)

Gets the ith requested halo id.

If the number of requested halo ids is greater than 0, only points with those halo ids will be read in. Otherwise all points will be read in.

◆ GetNumberOfRequestedHaloIds()

vtkIdType vtkPGenericIOMultiBlockReader::GetNumberOfRequestedHaloIds ( )

Gets the number of requested halo ids.

If the number of requested halo ids is greater than 0, only points with those halo ids will be read in. Otherwise all points will be read in.

◆ SetNumberOfRequestedHaloIds()

void vtkPGenericIOMultiBlockReader::SetNumberOfRequestedHaloIds ( vtkIdType  numIds)

Sets the number of requested halo ids.

Use SetRequestedHaloId() to se the ids after this is called If the number of requested halo ids is greater than 0, only points with those halo ids will be read in. Otherwise all points will be read in.

◆ AddRequestedHaloId()

void vtkPGenericIOMultiBlockReader::AddRequestedHaloId ( vtkIdType  haloId)

Adds the given halo id to the list of halo ids to request.

If the number of requested halo ids is greater than 0, only points with those halo ids will be read in. Otherwise all points will be read in.

◆ ClearRequestedHaloIds()

void vtkPGenericIOMultiBlockReader::ClearRequestedHaloIds ( )

Clears the list of requested halo ids.

If the number of requested halo ids is greater than 0, only points with those halo ids will be read in. Otherwise all points will be read in.

◆ SetRequestedHaloId()

void vtkPGenericIOMultiBlockReader::SetRequestedHaloId ( vtkIdType  i,
vtkIdType  haloId 
)

Sets the ith requested halo id to the given haloId.

If the number of requested halo ids is greater than 0, only points with those halo ids will be read in. Otherwise all points will be read in.

◆ GetInternalReader()

gio::GenericIOReader* vtkPGenericIOMultiBlockReader::GetInternalReader ( )
protected

◆ ReaderParametersChanged()

bool vtkPGenericIOMultiBlockReader::ReaderParametersChanged ( )
protected

◆ LoadMetaData()

void vtkPGenericIOMultiBlockReader::LoadMetaData ( )
protected

◆ LoadRawVariableDataForBlock()

void vtkPGenericIOMultiBlockReader::LoadRawVariableDataForBlock ( const std::string varName,
int  blockId 
)
protected

◆ LoadRawDataForBlock()

void vtkPGenericIOMultiBlockReader::LoadRawDataForBlock ( int  blockId)
protected

◆ GetPointFromRawData()

void vtkPGenericIOMultiBlockReader::GetPointFromRawData ( int  xType,
void *  xBuffer,
int  yType,
void *  yBuffer,
int  zType,
void *  zBuffer,
vtkIdType  id,
double  point[3] 
)
protected

◆ LoadCoordinatesForBlock()

void vtkPGenericIOMultiBlockReader::LoadCoordinatesForBlock ( vtkUnstructuredGrid grid,
std::set< vtkIdType > &  pointsInSelectedHalos,
int  blockId 
)
protected

◆ LoadDataArraysForBlock()

void vtkPGenericIOMultiBlockReader::LoadDataArraysForBlock ( vtkUnstructuredGrid grid,
const std::set< vtkIdType > &  pointsInSelectedHalos,
int  blockId 
)
protected

◆ LoadBlock()

vtkUnstructuredGrid* vtkPGenericIOMultiBlockReader::LoadBlock ( int  blockId)
protected

◆ SelectionModifiedCallback()

static void vtkPGenericIOMultiBlockReader::SelectionModifiedCallback ( vtkObject caller,
unsigned long  eid,
void *  clientdata,
void *  calldata 
)
staticprotected

Call-back registered with the SelectionObserver.

◆ RequestInformation()

virtual int vtkPGenericIOMultiBlockReader::RequestInformation ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
)
protectedvirtual

Reimplemented from vtkMultiBlockDataSetAlgorithm.

◆ RequestData()

virtual int vtkPGenericIOMultiBlockReader::RequestData ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
)
protectedvirtual

Reimplemented from vtkMultiBlockDataSetAlgorithm.

Member Data Documentation

◆ XAxisVariableName

char* vtkPGenericIOMultiBlockReader::XAxisVariableName
protected

Definition at line 210 of file vtkPGenericIOMultiBlockReader.h.

◆ YAxisVariableName

char* vtkPGenericIOMultiBlockReader::YAxisVariableName
protected

Definition at line 211 of file vtkPGenericIOMultiBlockReader.h.

◆ ZAxisVariableName

char* vtkPGenericIOMultiBlockReader::ZAxisVariableName
protected

Definition at line 212 of file vtkPGenericIOMultiBlockReader.h.

◆ HaloIdVariableName

char* vtkPGenericIOMultiBlockReader::HaloIdVariableName
protected

Definition at line 213 of file vtkPGenericIOMultiBlockReader.h.

◆ FileName

char* vtkPGenericIOMultiBlockReader::FileName
protected

Definition at line 215 of file vtkPGenericIOMultiBlockReader.h.

◆ GenericIOType

int vtkPGenericIOMultiBlockReader::GenericIOType
protected

Definition at line 216 of file vtkPGenericIOMultiBlockReader.h.

◆ BlockAssignment

Definition at line 217 of file vtkPGenericIOMultiBlockReader.h.

◆ BuildMetaData

bool vtkPGenericIOMultiBlockReader::BuildMetaData
protected

Definition at line 219 of file vtkPGenericIOMultiBlockReader.h.

◆ Controller

vtkMultiProcessController* vtkPGenericIOMultiBlockReader::Controller
protected

Definition at line 221 of file vtkPGenericIOMultiBlockReader.h.

◆ ArrayList

vtkStringArray* vtkPGenericIOMultiBlockReader::ArrayList
protected

Definition at line 223 of file vtkPGenericIOMultiBlockReader.h.

◆ PointDataArraySelection

vtkDataArraySelection* vtkPGenericIOMultiBlockReader::PointDataArraySelection
protected

Definition at line 224 of file vtkPGenericIOMultiBlockReader.h.

◆ HaloList

vtkIdList* vtkPGenericIOMultiBlockReader::HaloList
protected

Definition at line 225 of file vtkPGenericIOMultiBlockReader.h.

◆ SelectionObserver

vtkCallbackCommand* vtkPGenericIOMultiBlockReader::SelectionObserver
protected

Definition at line 226 of file vtkPGenericIOMultiBlockReader.h.

◆ Reader

gio::GenericIOReader* vtkPGenericIOMultiBlockReader::Reader
protected

Definition at line 228 of file vtkPGenericIOMultiBlockReader.h.


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