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

Creates a vtkUnstructuredGrid instance from a GenericIO file. More...

#include <vtkPGenericIOReader.h>

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

Public Types

enum  IOType { IOTYPEMPI, IOTYPEPOSIX }
 
enum  BlockAssignment { ROUND_ROBIN, RCB }
 
typedef vtkUnstructuredGridAlgorithm Superclass
 
- Public Types inherited from vtkUnstructuredGridAlgorithm
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 named. 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 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 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 x-axis for plotting particles. More...
 
virtual char * GetYAxisVariableName ()
 Set/Get the variable name to be used as the x-axis for plotting particles. More...
 
virtual void SetZAxisVariableName (const char *)
 Set/Get the variable name to be used as the x-axis for plotting particles. More...
 
virtual char * GetZAxisVariableName ()
 Set/Get the variable name to be used as the x-axis for plotting particles. 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 void SetRankInQuery (int)
 Set/Get the RankInQuery. More...
 
virtual int GetRankInQuery ()
 Set/Get the RankInQuery. More...
 
virtual void SetQueryRankNeighbors (int)
 Set/Get whether the reader should read/render only the data of the user-supplied rank, via SetRankInQuery(),. More...
 
virtual int GetQueryRankNeighbors ()
 Set/Get whether the reader should read/render only the data of the user-supplied rank, via SetRankInQuery(),. More...
 
virtual void SetAppendBlockCoordinates (bool)
 Set/Get whether the reader should append the coordinates of the block each point was read from as a point data array. More...
 
virtual void AppendBlockCoordinatesOn ()
 Set/Get whether the reader should append the coordinates of the block each point was read from as a point data array. More...
 
virtual void AppendBlockCoordinatesOff ()
 Set/Get whether the reader should append the coordinates of the block each point was read from as a point data array. More...
 
virtual bool GetAppendBlockCoordinates ()
 Set/Get whether the reader should append the coordinates of the block each point was read from as a point data array. 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 void SetController (vtkMultiProcessController *)
 Set/Get a multiprocess-controller for reading in parallel. More...
 
virtual vtkMultiProcessControllerGetController ()
 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 vtkUnstructuredGridAlgorithm
vtkUnstructuredGridAlgorithmNewInstance () const
 
vtkDataObjectGetInput (int port)
 
vtkDataObjectGetInput ()
 
vtkUnstructuredGridGetUnstructuredGridInput (int port)
 
vtkUnstructuredGridGetOutput ()
 
vtkUnstructuredGridGetOutput (int)
 
virtual void SetOutput (vtkDataObject *d)
 
virtual int ProcessRequest (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
void SetInputData (vtkDataObject *)
 
void SetInputData (int, vtkDataObject *)
 
void AddInputData (vtkDataObject *)
 
void AddInputData (int, vtkDataObject *)
 
vtkUnstructuredGridGetOutput ()
 
vtkUnstructuredGridGetOutput (int)
 
virtual void SetOutput (vtkDataObject *d)
 
virtual int ProcessRequest (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
void SetInputData (vtkDataObject *)
 
void SetInputData (int, vtkDataObject *)
 
void AddInputData (vtkDataObject *)
 
void AddInputData (int, vtkDataObject *)
 
- 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 vtkPGenericIOReaderNew ()
 
static int IsTypeOf (const char *type)
 
static vtkPGenericIOReaderSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkUnstructuredGridAlgorithm
static vtkUnstructuredGridAlgorithmNew ()
 
static int IsTypeOf (const char *type)
 
static vtkUnstructuredGridAlgorithmSafeDownCast (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

 vtkPGenericIOReader ()
 
virtual ~vtkPGenericIOReader ()
 
int RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
 
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
 
void LoadMetaData ()
 Loads the GenericIO metadata from the file. More...
 
bool ReaderParametersChanged ()
 This method checks if the internal reader parameters have changed. More...
 
gio::GenericIOReader * GetInternalReader ()
 Returns the internal reader instance according to IOType. More...
 
void GetPointFromRawData (int xType, void *xBuffer, int yType, void *yBuffer, int zType, void *zBuffer, vtkIdType idx, double pnt[3])
 Return the point from the raw data. More...
 
void LoadRawVariableData (std::string varName)
 Loads the variable with the given name. More...
 
void LoadRawData ()
 Loads the Raw data. More...
 
void LoadCoordinates (vtkUnstructuredGrid *grid, std::set< vtkIdType > &pointsInSelectedHalos)
 Loads the particle coordinates. More...
 
void LoadData (vtkUnstructuredGrid *grid, const std::set< vtkIdType > &pointsInSelectedHalos)
 Loads the particle data arrays. More...
 
void FindRankNeighbors ()
 Finds the neighbors of the user-supplied rank. More...
 
- Protected Member Functions inherited from vtkUnstructuredGridAlgorithm
virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkUnstructuredGridAlgorithm ()
 
 ~vtkUnstructuredGridAlgorithm ()
 
virtual int FillOutputPortInformation (int port, vtkInformation *info)
 
virtual int FillInputPortInformation (int port, vtkInformation *info)
 
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)
 
virtual vtkExecutiveCreateDefaultExecutive ()
 
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
 
int QueryRankNeighbors
 
int RankInQuery
 
bool BuildMetaData
 
bool AppendBlockCoordinates
 
vtkMultiProcessControllerController
 
vtkStringArrayArrayList
 
vtkIdListHaloList
 
vtkDataArraySelectionPointDataArraySelection
 
vtkCallbackCommandSelectionObserver
 
gio::GenericIOReader * Reader
 
vtkGenericIOMetaData * MetaData
 
int RequestInfoCounter
 
int RequestDataCounter
 
- 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 vtkUnstructuredGrid instance from a GenericIO file.

Definition at line 38 of file vtkPGenericIOReader.h.

Member Typedef Documentation

◆ Superclass

Definition at line 54 of file vtkPGenericIOReader.h.

Member Enumeration Documentation

◆ IOType

Enumerator
IOTYPEMPI 
IOTYPEPOSIX 

Definition at line 41 of file vtkPGenericIOReader.h.

◆ BlockAssignment

Enumerator
ROUND_ROBIN 
RCB 

Definition at line 47 of file vtkPGenericIOReader.h.

Constructor & Destructor Documentation

◆ vtkPGenericIOReader()

vtkPGenericIOReader::vtkPGenericIOReader ( )
protected

◆ ~vtkPGenericIOReader()

virtual vtkPGenericIOReader::~vtkPGenericIOReader ( )
protectedvirtual

Member Function Documentation

◆ New()

static vtkPGenericIOReader* vtkPGenericIOReader::New ( )
static

◆ GetClassName()

virtual const char* vtkPGenericIOReader::GetClassName ( )
virtual

◆ IsTypeOf()

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

◆ IsA()

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

Reimplemented from vtkUnstructuredGridAlgorithm.

◆ SafeDownCast()

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

◆ PrintSelf()

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

Reimplemented from vtkUnstructuredGridAlgorithm.

◆ SetFileName()

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

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

◆ GetFileName()

virtual char* vtkPGenericIOReader::GetFileName ( )
virtual

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

◆ SetXAxisVariableName()

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

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

◆ GetXAxisVariableName()

virtual char* vtkPGenericIOReader::GetXAxisVariableName ( )
virtual

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

◆ SetYAxisVariableName()

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

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

◆ GetYAxisVariableName()

virtual char* vtkPGenericIOReader::GetYAxisVariableName ( )
virtual

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

◆ SetZAxisVariableName()

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

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

◆ GetZAxisVariableName()

virtual char* vtkPGenericIOReader::GetZAxisVariableName ( )
virtual

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

◆ SetGenericIOType()

virtual void vtkPGenericIOReader::SetGenericIOType ( int  )
virtual

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

◆ GetGenericIOType()

virtual int vtkPGenericIOReader::GetGenericIOType ( )
virtual

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

◆ SetBlockAssignment()

virtual void vtkPGenericIOReader::SetBlockAssignment ( int  )
virtual

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

◆ GetBlockAssignment()

virtual int vtkPGenericIOReader::GetBlockAssignment ( )
virtual

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

◆ SetRankInQuery()

virtual void vtkPGenericIOReader::SetRankInQuery ( int  )
virtual

Set/Get the RankInQuery.

Used in combination with SetQueryRankNeighbors(1) tells the reader to render only the data of the RankInQuery and its neighbors.

◆ GetRankInQuery()

virtual int vtkPGenericIOReader::GetRankInQuery ( )
virtual

Set/Get the RankInQuery.

Used in combination with SetQueryRankNeighbors(1) tells the reader to render only the data of the RankInQuery and its neighbors.

◆ SetQueryRankNeighbors()

virtual void vtkPGenericIOReader::SetQueryRankNeighbors ( int  )
virtual

Set/Get whether the reader should read/render only the data of the user-supplied rank, via SetRankInQuery(),.

◆ GetQueryRankNeighbors()

virtual int vtkPGenericIOReader::GetQueryRankNeighbors ( )
virtual

Set/Get whether the reader should read/render only the data of the user-supplied rank, via SetRankInQuery(),.

◆ SetAppendBlockCoordinates()

virtual void vtkPGenericIOReader::SetAppendBlockCoordinates ( bool  )
virtual

Set/Get whether the reader should append the coordinates of the block each point was read from as a point data array.

Defaults to false (Off).

◆ AppendBlockCoordinatesOn()

virtual void vtkPGenericIOReader::AppendBlockCoordinatesOn ( )
virtual

Set/Get whether the reader should append the coordinates of the block each point was read from as a point data array.

Defaults to false (Off).

◆ AppendBlockCoordinatesOff()

virtual void vtkPGenericIOReader::AppendBlockCoordinatesOff ( )
virtual

Set/Get whether the reader should append the coordinates of the block each point was read from as a point data array.

Defaults to false (Off).

◆ GetAppendBlockCoordinates()

virtual bool vtkPGenericIOReader::GetAppendBlockCoordinates ( )
virtual

Set/Get whether the reader should append the coordinates of the block each point was read from as a point data array.

Defaults to false (Off).

◆ GetArrayList()

virtual vtkStringArray* vtkPGenericIOReader::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* vtkPGenericIOReader::GetPointDataArraySelection ( )
virtual

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

◆ SetController()

virtual void vtkPGenericIOReader::SetController ( vtkMultiProcessController )
virtual

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

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

◆ GetController()

virtual vtkMultiProcessController* vtkPGenericIOReader::GetController ( )
virtual

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

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

◆ GetNumberOfPointArrays()

int vtkPGenericIOReader::GetNumberOfPointArrays ( )

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

◆ GetPointArrayName()

const char* vtkPGenericIOReader::GetPointArrayName ( int  i)

Returns the name of the ith array.

◆ GetPointArrayStatus()

int vtkPGenericIOReader::GetPointArrayStatus ( const char *  name)

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

◆ SetPointArrayStatus()

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

Sets the status of the array named.

If the status is 1, the array will be read in on the resulting dataset.

◆ SetHaloIdVariableName()

virtual void vtkPGenericIOReader::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* vtkPGenericIOReader::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 vtkPGenericIOReader::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 vtkPGenericIOReader::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 vtkPGenericIOReader::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 vtkPGenericIOReader::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 vtkPGenericIOReader::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 vtkPGenericIOReader::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.

◆ RequestInformation()

int vtkPGenericIOReader::RequestInformation ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
)
overrideprotectedvirtual

Reimplemented from vtkUnstructuredGridAlgorithm.

◆ RequestData()

int vtkPGenericIOReader::RequestData ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
)
overrideprotectedvirtual

Reimplemented from vtkUnstructuredGridAlgorithm.

◆ LoadMetaData()

void vtkPGenericIOReader::LoadMetaData ( )
protected

Loads the GenericIO metadata from the file.

◆ ReaderParametersChanged()

bool vtkPGenericIOReader::ReaderParametersChanged ( )
protected

This method checks if the internal reader parameters have changed.

Namely, if the I/O method or filename have changed, the method returns true.

◆ GetInternalReader()

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

Returns the internal reader instance according to IOType.

◆ GetPointFromRawData()

void vtkPGenericIOReader::GetPointFromRawData ( int  xType,
void *  xBuffer,
int  yType,
void *  yBuffer,
int  zType,
void *  zBuffer,
vtkIdType  idx,
double  pnt[3] 
)
protected

Return the point from the raw data.

◆ LoadRawVariableData()

void vtkPGenericIOReader::LoadRawVariableData ( std::string  varName)
protected

Loads the variable with the given name.

◆ LoadRawData()

void vtkPGenericIOReader::LoadRawData ( )
protected

Loads the Raw data.

◆ LoadCoordinates()

void vtkPGenericIOReader::LoadCoordinates ( vtkUnstructuredGrid grid,
std::set< vtkIdType > &  pointsInSelectedHalos 
)
protected

Loads the particle coordinates.

◆ LoadData()

void vtkPGenericIOReader::LoadData ( vtkUnstructuredGrid grid,
const std::set< vtkIdType > &  pointsInSelectedHalos 
)
protected

Loads the particle data arrays.

◆ FindRankNeighbors()

void vtkPGenericIOReader::FindRankNeighbors ( )
protected

Finds the neighbors of the user-supplied rank.

◆ SelectionModifiedCallback()

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

Call-back registered with the SelectionObserver.

Member Data Documentation

◆ XAxisVariableName

char* vtkPGenericIOReader::XAxisVariableName
protected

Definition at line 302 of file vtkPGenericIOReader.h.

◆ YAxisVariableName

char* vtkPGenericIOReader::YAxisVariableName
protected

Definition at line 303 of file vtkPGenericIOReader.h.

◆ ZAxisVariableName

char* vtkPGenericIOReader::ZAxisVariableName
protected

Definition at line 304 of file vtkPGenericIOReader.h.

◆ HaloIdVariableName

char* vtkPGenericIOReader::HaloIdVariableName
protected

Definition at line 305 of file vtkPGenericIOReader.h.

◆ FileName

char* vtkPGenericIOReader::FileName
protected

Definition at line 307 of file vtkPGenericIOReader.h.

◆ GenericIOType

int vtkPGenericIOReader::GenericIOType
protected

Definition at line 308 of file vtkPGenericIOReader.h.

◆ BlockAssignment

Definition at line 309 of file vtkPGenericIOReader.h.

◆ QueryRankNeighbors

int vtkPGenericIOReader::QueryRankNeighbors
protected

Definition at line 311 of file vtkPGenericIOReader.h.

◆ RankInQuery

int vtkPGenericIOReader::RankInQuery
protected

Definition at line 312 of file vtkPGenericIOReader.h.

◆ BuildMetaData

bool vtkPGenericIOReader::BuildMetaData
protected

Definition at line 314 of file vtkPGenericIOReader.h.

◆ AppendBlockCoordinates

bool vtkPGenericIOReader::AppendBlockCoordinates
protected

Definition at line 315 of file vtkPGenericIOReader.h.

◆ Controller

vtkMultiProcessController* vtkPGenericIOReader::Controller
protected

Definition at line 317 of file vtkPGenericIOReader.h.

◆ ArrayList

vtkStringArray* vtkPGenericIOReader::ArrayList
protected

Definition at line 319 of file vtkPGenericIOReader.h.

◆ HaloList

vtkIdList* vtkPGenericIOReader::HaloList
protected

Definition at line 320 of file vtkPGenericIOReader.h.

◆ PointDataArraySelection

vtkDataArraySelection* vtkPGenericIOReader::PointDataArraySelection
protected

Definition at line 321 of file vtkPGenericIOReader.h.

◆ SelectionObserver

vtkCallbackCommand* vtkPGenericIOReader::SelectionObserver
protected

Definition at line 322 of file vtkPGenericIOReader.h.

◆ Reader

gio::GenericIOReader* vtkPGenericIOReader::Reader
protected

Definition at line 324 of file vtkPGenericIOReader.h.

◆ MetaData

vtkGenericIOMetaData* vtkPGenericIOReader::MetaData
protected

Definition at line 325 of file vtkPGenericIOReader.h.

◆ RequestInfoCounter

int vtkPGenericIOReader::RequestInfoCounter
protected

Definition at line 327 of file vtkPGenericIOReader.h.

◆ RequestDataCounter

int vtkPGenericIOReader::RequestDataCounter
protected

Definition at line 328 of file vtkPGenericIOReader.h.


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