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

read PLOT3D data files More...

#include <vtkMultiBlockPLOT3DReader.h>

Inheritance diagram for vtkMultiBlockPLOT3DReader:
[legend]
Collaboration diagram for vtkMultiBlockPLOT3DReader:
[legend]

Public Types

enum  { FILE_BIG_ENDIAN =0, FILE_LITTLE_ENDIAN =1 }
 
typedef vtkMultiBlockDataSetAlgorithm Superclass
 
- Public Types inherited from vtkMultiBlockDataSetAlgorithm
typedef vtkAlgorithm Superclass
 
- Public Types inherited from vtkAlgorithm
enum  DesiredOutputPrecision { SINGLE_PRECISION, DOUBLE_PRECISION, DEFAULT_PRECISION }
 Values used for setting the desired output precision for various algorithms. More...
 
typedef vtkObject Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 Return 1 if this class is the same type of (or a subclass of) the named class. More...
 
vtkMultiBlockPLOT3DReaderNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 Methods invoked by print to print information about the object including superclasses. More...
 
virtual int CanReadBinaryFile (const char *fname)
 Return 1 if the reader can read the given file name. More...
 
void SetFileName (const char *name)
 Set/Get the PLOT3D geometry filename. More...
 
const char * GetFileName ()
 Set/Get the PLOT3D geometry filename. More...
 
virtual void SetXYZFileName (const char *)
 Set/Get the PLOT3D geometry filename. More...
 
virtual char * GetXYZFileName ()
 Set/Get the PLOT3D geometry filename. More...
 
virtual void SetQFileName (const char *)
 Set/Get the PLOT3D solution filename. More...
 
virtual char * GetQFileName ()
 Set/Get the PLOT3D solution filename. More...
 
virtual void SetFunctionFileName (const char *)
 Set/Get the PLOT3D function filename. More...
 
virtual char * GetFunctionFileName ()
 Set/Get the PLOT3D function filename. More...
 
virtual void SetAutoDetectFormat (int)
 When this option is turned on, the reader will try to figure out the values of various options such as byte order, byte count etc. More...
 
virtual int GetAutoDetectFormat ()
 When this option is turned on, the reader will try to figure out the values of various options such as byte order, byte count etc. More...
 
virtual void AutoDetectFormatOn ()
 When this option is turned on, the reader will try to figure out the values of various options such as byte order, byte count etc. More...
 
virtual void AutoDetectFormatOff ()
 When this option is turned on, the reader will try to figure out the values of various options such as byte order, byte count etc. More...
 
virtual void SetBinaryFile (int)
 Is the file to be read written in binary format (as opposed to ascii). More...
 
virtual int GetBinaryFile ()
 Is the file to be read written in binary format (as opposed to ascii). More...
 
virtual void BinaryFileOn ()
 Is the file to be read written in binary format (as opposed to ascii). More...
 
virtual void BinaryFileOff ()
 Is the file to be read written in binary format (as opposed to ascii). More...
 
virtual void SetMultiGrid (int)
 Does the file to be read contain information about number of grids. More...
 
virtual int GetMultiGrid ()
 Does the file to be read contain information about number of grids. More...
 
virtual void MultiGridOn ()
 Does the file to be read contain information about number of grids. More...
 
virtual void MultiGridOff ()
 Does the file to be read contain information about number of grids. More...
 
virtual void SetHasByteCount (int)
 Were the arrays written with leading and trailing byte counts ? Usually, files written by a fortran program will contain these byte counts whereas the ones written by C/C++ won't. More...
 
virtual int GetHasByteCount ()
 Were the arrays written with leading and trailing byte counts ? Usually, files written by a fortran program will contain these byte counts whereas the ones written by C/C++ won't. More...
 
virtual void HasByteCountOn ()
 Were the arrays written with leading and trailing byte counts ? Usually, files written by a fortran program will contain these byte counts whereas the ones written by C/C++ won't. More...
 
virtual void HasByteCountOff ()
 Were the arrays written with leading and trailing byte counts ? Usually, files written by a fortran program will contain these byte counts whereas the ones written by C/C++ won't. More...
 
virtual void SetIBlanking (int)
 Is there iblanking (point visibility) information in the file. More...
 
virtual int GetIBlanking ()
 Is there iblanking (point visibility) information in the file. More...
 
virtual void IBlankingOn ()
 Is there iblanking (point visibility) information in the file. More...
 
virtual void IBlankingOff ()
 Is there iblanking (point visibility) information in the file. More...
 
virtual void SetTwoDimensionalGeometry (int)
 If only two-dimensional data was written to the file, turn this on. More...
 
virtual int GetTwoDimensionalGeometry ()
 If only two-dimensional data was written to the file, turn this on. More...
 
virtual void TwoDimensionalGeometryOn ()
 If only two-dimensional data was written to the file, turn this on. More...
 
virtual void TwoDimensionalGeometryOff ()
 If only two-dimensional data was written to the file, turn this on. More...
 
virtual void SetDoublePrecision (int)
 Is this file in double precision or single precision. More...
 
virtual int GetDoublePrecision ()
 Is this file in double precision or single precision. More...
 
virtual void DoublePrecisionOn ()
 Is this file in double precision or single precision. More...
 
virtual void DoublePrecisionOff ()
 Is this file in double precision or single precision. More...
 
virtual void SetForceRead (int)
 Try to read a binary file even if the file length seems to be inconsistent with the header information. More...
 
virtual int GetForceRead ()
 Try to read a binary file even if the file length seems to be inconsistent with the header information. More...
 
virtual void ForceReadOn ()
 Try to read a binary file even if the file length seems to be inconsistent with the header information. More...
 
virtual void ForceReadOff ()
 Try to read a binary file even if the file length seems to be inconsistent with the header information. More...
 
void SetByteOrderToBigEndian ()
 Set the byte order of the file (remember, more Unix workstations write big endian whereas PCs write little endian). More...
 
void SetByteOrderToLittleEndian ()
 Set the byte order of the file (remember, more Unix workstations write big endian whereas PCs write little endian). More...
 
virtual void SetByteOrder (int)
 Set the byte order of the file (remember, more Unix workstations write big endian whereas PCs write little endian). More...
 
virtual int GetByteOrder ()
 Set the byte order of the file (remember, more Unix workstations write big endian whereas PCs write little endian). More...
 
const char * GetByteOrderAsString ()
 Set the byte order of the file (remember, more Unix workstations write big endian whereas PCs write little endian). More...
 
virtual void SetR (double)
 Set/Get the gas constant. More...
 
virtual double GetR ()
 Set/Get the gas constant. More...
 
virtual void SetGamma (double)
 Set/Get the ratio of specific heats. More...
 
virtual double GetGamma ()
 Set/Get the ratio of specific heats. More...
 
void SetScalarFunctionNumber (int num)
 Specify the scalar function to extract. More...
 
virtual int GetScalarFunctionNumber ()
 Specify the scalar function to extract. More...
 
void SetVectorFunctionNumber (int num)
 Specify the vector function to extract. More...
 
virtual int GetVectorFunctionNumber ()
 Specify the vector function to extract. More...
 
void AddFunction (int functionNumber)
 Specify additional functions to read. More...
 
void RemoveFunction (int)
 Specify additional functions to read. More...
 
void RemoveAllFunctions ()
 Specify additional functions to read. More...
 
void SetController (vtkMultiProcessController *c)
 Set/Get the communicator object (we'll use global World controller if you don't set a different one). More...
 
virtual vtkMultiProcessControllerGetController ()
 Set/Get the communicator object (we'll use global World controller if you don't set a different one). More...
 
- Public Member Functions inherited from vtkMultiBlockDataSetAlgorithm
vtkMultiBlockDataSetAlgorithmNewInstance () const
 
int ProcessRequest (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
 see vtkAlgorithm for details More...
 
vtkMultiBlockDataSetGetOutput ()
 Get the output data object for a port on this algorithm. More...
 
vtkMultiBlockDataSetGetOutput (int)
 Get the output data object for a port on this algorithm. More...
 
void SetInputData (vtkDataObject *)
 Assign a data object as input. More...
 
void SetInputData (int, vtkDataObject *)
 Assign a data object as input. More...
 
- Public Member Functions inherited from vtkAlgorithm
vtkAlgorithmNewInstance () const
 
int HasExecutive ()
 Check whether this algorithm has an assigned executive. More...
 
vtkExecutiveGetExecutive ()
 Get this algorithm's executive. More...
 
virtual void SetExecutive (vtkExecutive *executive)
 Set this algorithm's executive. More...
 
int ProcessRequest (vtkInformation *request, vtkCollection *inInfo, vtkInformationVector *outInfo)
 Version of ProcessRequest() that is wrapped. More...
 
virtual int ComputePipelineMTime (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec, int requestFromOutputPort, vtkMTimeType *mtime)
 A special version of ProcessRequest meant specifically for the pipeline modified time request. More...
 
virtual int ModifyRequest (vtkInformation *request, int when)
 This method gives the algorithm a chance to modify the contents of a request before or after (specified in the when argument) it is forwarded. More...
 
vtkInformationGetInputPortInformation (int port)
 Get the information object associated with an input port. More...
 
vtkInformationGetOutputPortInformation (int port)
 Get the information object associated with an output port. More...
 
int GetNumberOfInputPorts ()
 Get the number of input ports used by the algorithm. More...
 
int GetNumberOfOutputPorts ()
 Get the number of output ports provided by the algorithm. More...
 
void UpdateProgress (double amount)
 Update the progress of the process object. More...
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, const char *fieldAssociation, const char *attributeTypeorName)
 String based versions of SetInputArrayToProcess(). More...
 
vtkInformationGetInputArrayInformation (int idx)
 Get the info object for the specified input array to this algorithm. More...
 
void RemoveAllInputs ()
 Remove all the input data. More...
 
vtkDataObjectGetOutputDataObject (int port)
 Get the data object that will contain the algorithm output for the given port. More...
 
vtkDataObjectGetInputDataObject (int port, int connection)
 Get the data object that will contain the algorithm input for the given port and given connection. More...
 
virtual void RemoveInputConnection (int port, vtkAlgorithmOutput *input)
 Remove a connection from the given input port index. More...
 
virtual void RemoveInputConnection (int port, int idx)
 Remove a connection given by index idx. More...
 
virtual void RemoveAllInputConnections (int port)
 Removes all input connections. More...
 
virtual void SetInputDataObject (int port, vtkDataObject *data)
 Sets the data-object as an input on the given port index. More...
 
virtual void SetInputDataObject (vtkDataObject *data)
 
virtual void AddInputDataObject (int port, vtkDataObject *data)
 Add the data-object as an input to this given port. More...
 
virtual void AddInputDataObject (vtkDataObject *data)
 
vtkAlgorithmOutputGetOutputPort (int index)
 Get a proxy object corresponding to the given output port of this algorithm. More...
 
vtkAlgorithmOutputGetOutputPort ()
 
int GetNumberOfInputConnections (int port)
 Get the number of inputs currently connected to a port. More...
 
int GetTotalNumberOfInputConnections ()
 Get the total number of inputs for this algorithm. More...
 
vtkAlgorithmOutputGetInputConnection (int port, int index)
 Get the algorithm output port connected to an input port. More...
 
vtkAlgorithmGetInputAlgorithm (int port, int index, int &algPort)
 Returns the algorithm and the output port index of that algorithm connected to a port-index pair. More...
 
vtkAlgorithmGetInputAlgorithm (int port, int index)
 Returns the algorithm connected to a port-index pair. More...
 
vtkAlgorithmGetInputAlgorithm ()
 Equivalent to GetInputAlgorithm(0, 0). More...
 
vtkExecutiveGetInputExecutive (int port, int index)
 Returns the executive associated with a particular input connection. More...
 
vtkExecutiveGetInputExecutive ()
 Equivalent to GetInputExecutive(0, 0) More...
 
vtkInformationGetInputInformation (int port, int index)
 Return the information object that is associated with a particular input connection. More...
 
vtkInformationGetInputInformation ()
 Equivalent to GetInputInformation(0, 0) More...
 
vtkInformationGetOutputInformation (int port)
 Return the information object that is associated with a particular output port. More...
 
virtual int Update (int port, vtkInformationVector *requests)
 This method enables the passing of data requests to the algorithm to be used during execution (in addition to bringing a particular port up-to-date). More...
 
virtual int Update (vtkInformation *requests)
 Convenience method to update an algorithm after passing requests to its first output port. More...
 
virtual int UpdatePiece (int piece, int numPieces, int ghostLevels, const int extents[6]=0)
 Convenience method to update an algorithm after passing requests to its first output port. More...
 
virtual int UpdateExtent (const int extents[6])
 Convenience method to update an algorithm after passing requests to its first output port. More...
 
virtual int UpdateTimeStep (double time, int piece=-1, int numPieces=1, int ghostLevels=0, const int extents[6]=0)
 Convenience method to update an algorithm after passing requests to its first output port. More...
 
virtual void UpdateInformation ()
 Bring the algorithm's information up-to-date. More...
 
virtual void UpdateDataObject ()
 Create output object(s). More...
 
virtual void PropagateUpdateExtent ()
 Propagate meta-data upstream. More...
 
virtual void UpdateWholeExtent ()
 Bring this algorithm's outputs up-to-date. More...
 
void ConvertTotalInputToPortConnection (int ind, int &port, int &conn)
 Convenience routine to convert from a linear ordering of input connections to a port/connection pair. More...
 
int SetUpdateExtentToWholeExtent (int port)
 If the whole output extent is required, this method can be called to set the output update extent to the whole extent. More...
 
int SetUpdateExtentToWholeExtent ()
 Convenience function equivalent to SetUpdateExtentToWholeExtent(0) This method assumes that the whole extent is known (that UpdateInformation has been called). More...
 
void SetUpdateExtent (int port, int piece, int numPieces, int ghostLevel)
 Set the output update extent in terms of piece and ghost levels. More...
 
void SetUpdateExtent (int piece, int numPieces, int ghostLevel)
 Convenience function equivalent to SetUpdateExtent(0, piece, numPieces, ghostLevel) More...
 
void SetUpdateExtent (int port, int extent[6])
 Set the output update extent for data objects that use 3D extents. More...
 
void SetUpdateExtent (int extent[6])
 Convenience function equivalent to SetUpdateExtent(0, extent) More...
 
virtual vtkInformationGetInformation ()
 Set/Get the information object associated with this algorithm. More...
 
virtual void SetInformation (vtkInformation *)
 Set/Get the information object associated with this algorithm. More...
 
void Register (vtkObjectBase *o) override
 Participate in garbage collection. More...
 
void UnRegister (vtkObjectBase *o) override
 Participate in garbage collection. More...
 
virtual void SetAbortExecute (int)
 Set/Get the AbortExecute flag for the process object. More...
 
virtual int GetAbortExecute ()
 Set/Get the AbortExecute flag for the process object. More...
 
virtual void AbortExecuteOn ()
 Set/Get the AbortExecute flag for the process object. More...
 
virtual void AbortExecuteOff ()
 Set/Get the AbortExecute flag for the process object. More...
 
virtual void SetProgress (double)
 Set/Get the execution progress of a process object. More...
 
virtual double GetProgress ()
 Set/Get the execution progress of a process object. More...
 
void SetProgressText (const char *ptext)
 Set the current text message associated with the progress state. More...
 
virtual char * GetProgressText ()
 Set the current text message associated with the progress state. More...
 
virtual unsigned long GetErrorCode ()
 The error code contains a possible error that occurred while reading or writing the file. More...
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, const char *name)
 Set the input data arrays that this algorithm will process. More...
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, int fieldAttributeType)
 Set the input data arrays that this algorithm will process. More...
 
virtual void SetInputArrayToProcess (int idx, vtkInformation *info)
 Set the input data arrays that this algorithm will process. More...
 
virtual void SetInputConnection (int port, vtkAlgorithmOutput *input)
 Set the connection for the given input port index. More...
 
virtual void SetInputConnection (vtkAlgorithmOutput *input)
 Set the connection for the given input port index. More...
 
virtual void AddInputConnection (int port, vtkAlgorithmOutput *input)
 Add a connection to the given input port index. More...
 
virtual void AddInputConnection (vtkAlgorithmOutput *input)
 Add a connection to the given input port index. More...
 
virtual void Update (int port)
 Bring this algorithm's outputs up-to-date. More...
 
virtual void Update ()
 Bring this algorithm's outputs up-to-date. More...
 
virtual void SetReleaseDataFlag (int)
 Turn release data flag on or off for all output ports. More...
 
virtual int GetReleaseDataFlag ()
 Turn release data flag on or off for all output ports. More...
 
void ReleaseDataFlagOn ()
 Turn release data flag on or off for all output ports. More...
 
void ReleaseDataFlagOff ()
 Turn release data flag on or off for all output ports. More...
 
int UpdateExtentIsEmpty (vtkInformation *pinfo, vtkDataObject *output)
 This detects when the UpdateExtent will generate no data This condition is satisfied when the UpdateExtent has zero volume (0,-1,...) or the UpdateNumberOfPieces is 0. More...
 
int UpdateExtentIsEmpty (vtkInformation *pinfo, int extentType)
 This detects when the UpdateExtent will generate no data This condition is satisfied when the UpdateExtent has zero volume (0,-1,...) or the UpdateNumberOfPieces is 0. More...
 
intGetUpdateExtent ()
 These functions return the update extent for output ports that use 3D extents. More...
 
intGetUpdateExtent (int port)
 These functions return the update extent for output ports that use 3D extents. More...
 
void GetUpdateExtent (int &x0, int &x1, int &y0, int &y1, int &z0, int &z1)
 These functions return the update extent for output ports that use 3D extents. More...
 
void GetUpdateExtent (int port, int &x0, int &x1, int &y0, int &y1, int &z0, int &z1)
 These functions return the update extent for output ports that use 3D extents. More...
 
void GetUpdateExtent (int extent[6])
 These functions return the update extent for output ports that use 3D extents. More...
 
void GetUpdateExtent (int port, int extent[6])
 These functions return the update extent for output ports that use 3D extents. More...
 
int GetUpdatePiece ()
 These functions return the update extent for output ports that use piece extents. More...
 
int GetUpdatePiece (int port)
 These functions return the update extent for output ports that use piece extents. More...
 
int GetUpdateNumberOfPieces ()
 These functions return the update extent for output ports that use piece extents. More...
 
int GetUpdateNumberOfPieces (int port)
 These functions return the update extent for output ports that use piece extents. More...
 
int GetUpdateGhostLevel ()
 These functions return the update extent for output ports that use piece extents. More...
 
int GetUpdateGhostLevel (int port)
 These functions return the update extent for output ports that use piece extents. More...
 
void SetProgressObserver (vtkProgressObserver *)
 If an ProgressObserver is set, the algorithm will report progress through it rather than directly. More...
 
virtual vtkProgressObserverGetProgressObserver ()
 If an ProgressObserver is set, the algorithm will report progress through it rather than directly. More...
 
- Public Member Functions inherited from vtkObject
 vtkBaseTypeMacro (vtkObject, vtkObjectBase)
 
virtual void DebugOn ()
 Turn debugging output on. More...
 
virtual void DebugOff ()
 Turn debugging output off. More...
 
bool GetDebug ()
 Get the value of the debug flag. More...
 
void SetDebug (bool debugFlag)
 Set the value of the debug flag. More...
 
virtual void Modified ()
 Update the modification time for this object. More...
 
virtual vtkMTimeType GetMTime ()
 Return this object's modified time. More...
 
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)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
 
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
 
vtkCommandGetCommand (unsigned long tag)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
 
void RemoveObserver (vtkCommand *)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
 
void RemoveObservers (unsigned long event, vtkCommand *)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
 
void RemoveObservers (const char *event, vtkCommand *)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
 
int HasObserver (unsigned long event, vtkCommand *)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
 
int HasObserver (const char *event, vtkCommand *)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 Overloads to AddObserver that allow developers to add class member functions as callbacks for events. More...
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 Overloads to AddObserver that allow developers to add class member functions as callbacks for events. More...
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 Allow user to set the AbortFlagOn() with the return value of the callback method. More...
 
int InvokeEvent (unsigned long event, void *callData)
 This method invokes an event and return whether the event was aborted or not. More...
 
int InvokeEvent (const char *event, void *callData)
 This method invokes an event and return whether the event was aborted or not. More...
 
- Public Member Functions inherited from vtkObjectBase
const char * GetClassName () const
 Return the class name as a string. More...
 
virtual void Delete ()
 Delete a VTK object. More...
 
virtual void FastDelete ()
 Delete a reference to this object. More...
 
void InitializeObjectBase ()
 
void Print (ostream &os)
 Print an object to an ostream. More...
 
int GetReferenceCount ()
 Return the current reference count of this object. More...
 
void SetReferenceCount (int)
 Sets the reference count. More...
 
void PrintRevisions (ostream &)
 Legacy. More...
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 Methods invoked by print to print information about the object including superclasses. More...
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 Methods invoked by print to print information about the object including superclasses. More...
 

Static Public Member Functions

static vtkMultiBlockPLOT3DReaderNew ()
 
static int IsTypeOf (const char *type)
 
static vtkMultiBlockPLOT3DReaderSafeDownCast (vtkObjectBase *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 ()
 Keys used to specify input port requirements. More...
 
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 ()
 This key tells the executive that a particular output port is capable of producing an arbitrary subextent of the whole extent. More...
 
static vtkInformationIntegerKeyCAN_HANDLE_PIECE_REQUEST ()
 Key that tells the pipeline that a particular algorithm can or cannot handle piece request. More...
 
static void SetDefaultExecutivePrototype (vtkExecutive *proto)
 If the DefaultExecutivePrototype is set, a copy of it is created in CreateDefaultExecutive() using NewInstance(). More...
 
- Static Public Member Functions inherited from vtkObject
static vtkObjectNew ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on. More...
 
static void BreakOnError ()
 This method is called when vtkErrorMacro executes. More...
 
static void SetGlobalWarningDisplay (int val)
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
static void GlobalWarningDisplayOn ()
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
static void GlobalWarningDisplayOff ()
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
static int GetGlobalWarningDisplay ()
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
- Static Public Member Functions inherited from vtkObjectBase
static vtkTypeBool IsTypeOf (const char *name)
 Return 1 if this class type is the same type of (or a subclass of) the named class. More...
 
static vtkObjectBaseNew ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on. More...
 

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkMultiBlockPLOT3DReader ()
 
 ~vtkMultiBlockPLOT3DReader ()
 
vtkDataArrayCreateFloatArray ()
 
int CheckFile (FILE *&fp, const char *fname)
 
int CheckGeometryFile (FILE *&xyzFp)
 
int CheckSolutionFile (FILE *&qFp)
 
int CheckFunctionFile (FILE *&fFp)
 
int GetByteCountSize ()
 
int SkipByteCount (FILE *fp)
 
int ReadIntBlock (FILE *fp, int n, int *block)
 
vtkIdType ReadValues (FILE *fp, int n, vtkDataArray *scalar)
 
virtual int ReadIntScalar (void *vfp, int extent[6], int wextent[6], vtkDataArray *scalar, vtkTypeUInt64 offset, const vtkMultiBlockPLOT3DReaderRecord &currentRecord)
 
virtual int ReadScalar (void *vfp, int extent[6], int wextent[6], vtkDataArray *scalar, vtkTypeUInt64 offset, const vtkMultiBlockPLOT3DReaderRecord &currentRecord)
 
virtual int ReadVector (void *vfp, int extent[6], int wextent[6], int numDims, vtkDataArray *vector, vtkTypeUInt64 offset, const vtkMultiBlockPLOT3DReaderRecord &currentRecord)
 
virtual int OpenFileForDataRead (void *&fp, const char *fname)
 
virtual void CloseFile (void *fp)
 
int GetNumberOfBlocksInternal (FILE *xyzFp, int allocate)
 
int ReadGeometryHeader (FILE *fp)
 
int ReadQHeader (FILE *fp, bool checkGrid, int &nq, int &nqc, int &overflow)
 
int ReadFunctionHeader (FILE *fp, int *nFunctions)
 
void CalculateFileSize (FILE *fp)
 
int AutoDetectionCheck (FILE *fp)
 
void AssignAttribute (int fNumber, vtkStructuredGrid *output, int attributeType)
 
void MapFunction (int fNumber, vtkStructuredGrid *output)
 
void ComputeTemperature (vtkStructuredGrid *output)
 
void ComputePressure (vtkStructuredGrid *output)
 
void ComputeEnthalpy (vtkStructuredGrid *output)
 
void ComputeKineticEnergy (vtkStructuredGrid *output)
 
void ComputeVelocityMagnitude (vtkStructuredGrid *output)
 
void ComputeEntropy (vtkStructuredGrid *output)
 
void ComputeSwirl (vtkStructuredGrid *output)
 
void ComputeVelocity (vtkStructuredGrid *output)
 
void ComputeVorticity (vtkStructuredGrid *output)
 
void ComputePressureGradient (vtkStructuredGrid *output)
 
void ComputePressureCoefficient (vtkStructuredGrid *output)
 
void ComputeMachNumber (vtkStructuredGrid *output)
 
void ComputeSoundSpeed (vtkStructuredGrid *output)
 
void ComputeVorticityMagnitude (vtkStructuredGrid *output)
 
void ComputeStrainRate (vtkStructuredGrid *output)
 
vtkDataArrayNewFloatArray ()
 
void ClearGeometryCache ()
 
virtual int FillOutputPortInformation (int port, vtkInformation *info)
 Fill the output port information objects for this algorithm. More...
 
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 This is called by the superclass. More...
 
virtual int RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 This is called by the superclass. More...
 
- Protected Member Functions inherited from vtkMultiBlockDataSetAlgorithm
 vtkMultiBlockDataSetAlgorithm ()
 
 ~vtkMultiBlockDataSetAlgorithm () override
 
virtual int RequestDataObject (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 This is called by the superclass. More...
 
vtkExecutiveCreateDefaultExecutive () override
 Create a default executive. More...
 
int FillInputPortInformation (int port, vtkInformation *info) override
 Fill the input port information objects for this algorithm. More...
 
vtkDataObjectGetInput (int port)
 
virtual int RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 This is called by the superclass. More...
 
- Protected Member Functions inherited from vtkAlgorithm
 vtkAlgorithm ()
 
 ~vtkAlgorithm () override
 
virtual void SetNumberOfInputPorts (int n)
 Set the number of input ports used by the algorithm. More...
 
virtual void SetNumberOfOutputPorts (int n)
 Set the number of output ports provided by the algorithm. More...
 
int InputPortIndexInRange (int index, const char *action)
 
int OutputPortIndexInRange (int index, const char *action)
 
int GetInputArrayAssociation (int idx, vtkInformationVector **inputVector)
 Get the assocition of the actual data array for the input array specified by idx, this is only reasonable during the REQUEST_DATA pass. More...
 
vtkInformationGetInputArrayFieldInformation (int idx, vtkInformationVector **inputVector)
 This method takes in an index (as specified in SetInputArrayToProcess) and a pipeline information vector. More...
 
void ReportReferences (vtkGarbageCollector *) override
 
virtual void SetNthInputConnection (int port, int index, vtkAlgorithmOutput *input)
 Replace the Nth connection on the given input port. More...
 
virtual void SetNumberOfInputConnections (int port, int n)
 Set the number of input connections on the given input port. More...
 
void SetInputDataInternal (int port, vtkDataObject *input)
 These methods are used by subclasses to implement methods to set data objects directly as input. More...
 
void AddInputDataInternal (int port, vtkDataObject *input)
 
int GetInputArrayAssociation (int idx, int connection, vtkInformationVector **inputVector)
 Filters that have multiple connections on one port can use this signature. More...
 
int GetInputArrayAssociation (int idx, vtkDataObject *input)
 Filters that have multiple connections on one port can use this signature. More...
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkInformationVector **inputVector)
 Get the actual data array for the input array specified by idx, this is only reasonable during the REQUEST_DATA pass. More...
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkInformationVector **inputVector, int &association)
 Get the actual data array for the input array specified by idx, this is only reasonable during the REQUEST_DATA pass. More...
 
vtkDataArrayGetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector)
 Filters that have multiple connections on one port can use this signature. More...
 
vtkDataArrayGetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association)
 Filters that have multiple connections on one port can use this signature. More...
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkDataObject *input)
 Filters that have multiple connections on one port can use this signature. More...
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkDataObject *input, int &association)
 Filters that have multiple connections on one port can use this signature. More...
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector)
 Get the actual data array for the input array specified by idx, this is only reasonable during the REQUEST_DATA pass. More...
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector, int &association)
 Get the actual data array for the input array specified by idx, this is only reasonable during the REQUEST_DATA pass. More...
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector)
 Filters that have multiple connections on one port can use this signature. More...
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association)
 Filters that have multiple connections on one port can use this signature. More...
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkDataObject *input)
 Filters that have multiple connections on one port can use this signature. More...
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkDataObject *input, int &association)
 Filters that have multiple connections on one port can use this signature. More...
 
virtual void SetErrorCode (unsigned long)
 The error code contains a possible error that occurred while reading or writing the file. More...
 
- Protected Member Functions inherited from vtkObject
 vtkObject ()
 
 ~vtkObject () override
 
void RegisterInternal (vtkObjectBase *, vtkTypeBool check) override
 
void UnRegisterInternal (vtkObjectBase *, vtkTypeBool check) override
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
 These methods allow a command to exclusively grab all events. More...
 
void InternalReleaseFocus ()
 These methods allow a command to exclusively grab all events. More...
 
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
 
virtual ~vtkObjectBase ()
 
virtual void CollectRevisions (ostream &)
 
 vtkObjectBase (const vtkObjectBase &)
 
void operator= (const vtkObjectBase &)
 

Protected Attributes

char * XYZFileName
 
char * QFileName
 
char * FunctionFileName
 
int BinaryFile
 
int HasByteCount
 
int TwoDimensionalGeometry
 
int MultiGrid
 
int ForceRead
 
int ByteOrder
 
int IBlanking
 
int DoublePrecision
 
int AutoDetectFormat
 
int ExecutedGhostLevels
 
size_t FileSize
 
double R
 
double Gamma
 
double Uvinf
 
double Vvinf
 
double Wvinf
 
vtkIntArrayFunctionList
 
int ScalarFunctionNumber
 
int VectorFunctionNumber
 
vtkMultiBlockPLOT3DReaderInternalsInternal
 
vtkMultiProcessControllerController
 
- Protected Attributes inherited from vtkAlgorithm
vtkInformationInformation
 
double Progress
 
char * ProgressText
 
vtkProgressObserverProgressObserver
 
unsigned long ErrorCode
 The error code contains a possible error that occurred while reading or writing the file. More...
 
- 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
int AbortExecute
 
- Static Protected Member Functions inherited from vtkAlgorithm
static vtkInformationIntegerKeyPORT_REQUIREMENTS_FILLED ()
 
- Static Protected Attributes inherited from vtkAlgorithm
static vtkExecutiveDefaultExecutivePrototype
 

Detailed Description

read PLOT3D data files

vtkMultiBlockPLOT3DReader is a reader object that reads PLOT3D formatted files and generates structured grid(s) on output. PLOT3D is a computer graphics program designed to visualize the grids and solutions of computational fluid dynamics. This reader also supports the variant of the PLOT3D format used by NASA's OVERFLOW CFD software, including full support for all Q variables. Please see the "PLOT3D User's Manual" available from NASA Ames Research Center, Moffett Field CA.

PLOT3D files consist of a grid file (also known as XYZ file), an optional solution file (also known as a Q file), and an optional function file that contains user created data (currently unsupported). The Q file contains solution information as follows: the four parameters free stream mach number (Fsmach), angle of attack (Alpha), Reynolds number (Re), and total integration time (Time). This information is stored in an array called Properties in the FieldData of each output (tuple 0: fsmach, tuple 1: alpha, tuple 2: re, tuple 3: time). In addition, the solution file contains the flow density (scalar), flow momentum (vector), and flow energy (scalar).

Note that this reader does not support time series data which is usually stored as a series of Q and optionally XYZ files. If you want to read such a file series, use vtkPlot3DMetaReader.

The reader can generate additional scalars and vectors (or "functions") from this information. To use vtkMultiBlockPLOT3DReader, you must specify the particular function number for the scalar and vector you want to visualize. This implementation of the reader provides the following functions. The scalar functions are: -1 - don't read or compute any scalars 100 - density 110 - pressure 111 - pressure coefficient (requires Overflow file with Gamma) 112 - mach number (requires Overflow file with Gamma) 113 - sounds speed (requires Overflow file with Gamma) 120 - temperature 130 - enthalpy 140 - internal energy 144 - kinetic energy 153 - velocity magnitude 163 - stagnation energy 170 - entropy 184 - swirl 211 - vorticity magnitude

The vector functions are: -1 - don't read or compute any vectors 200 - velocity 201 - vorticity 202 - momentum 210 - pressure gradient. 212 - strain rate

(Other functions are described in the PLOT3D spec, but only those listed are implemented here.) Note that by default, this reader creates the density scalar (100), stagnation energy (163) and momentum vector (202) as output. (These are just read in from the solution file.) Please note that the validity of computation is a function of this class's gas constants (R, Gamma) and the equations used. They may not be suitable for your computational domain.

Additionally, you can read other data and associate it as a vtkDataArray into the output's point attribute data. Use the method AddFunction() to list all the functions that you'd like to read. AddFunction() accepts an integer parameter that defines the function number.

See also
vtkMultiBlockDataSet vtkStructuredGrid vtkPlot3DMetaReader
Examples:
vtkMultiBlockPLOT3DReader (Examples)
Tests:
vtkMultiBlockPLOT3DReader (Tests)

Definition at line 106 of file vtkMultiBlockPLOT3DReader.h.

Member Typedef Documentation

Definition at line 110 of file vtkMultiBlockPLOT3DReader.h.

Member Enumeration Documentation

anonymous enum
Enumerator
FILE_BIG_ENDIAN 
FILE_LITTLE_ENDIAN 

Definition at line 306 of file vtkMultiBlockPLOT3DReader.h.

Constructor & Destructor Documentation

vtkMultiBlockPLOT3DReader::vtkMultiBlockPLOT3DReader ( )
protected
vtkMultiBlockPLOT3DReader::~vtkMultiBlockPLOT3DReader ( )
protected

Member Function Documentation

static vtkMultiBlockPLOT3DReader* vtkMultiBlockPLOT3DReader::New ( )
static
static int vtkMultiBlockPLOT3DReader::IsTypeOf ( const char *  type)
static
virtual int vtkMultiBlockPLOT3DReader::IsA ( const char *  name)
virtual

Return 1 if this class is the same type of (or a subclass of) the named class.

Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkMultiBlockDataSetAlgorithm.

Reimplemented in vtkMPIMultiBlockPLOT3DReader.

static vtkMultiBlockPLOT3DReader* vtkMultiBlockPLOT3DReader::SafeDownCast ( vtkObjectBase o)
static
virtual vtkObjectBase* vtkMultiBlockPLOT3DReader::NewInstanceInternal ( ) const
protectedvirtual

Reimplemented from vtkMultiBlockDataSetAlgorithm.

Reimplemented in vtkMPIMultiBlockPLOT3DReader.

vtkMultiBlockPLOT3DReader* vtkMultiBlockPLOT3DReader::NewInstance ( ) const
void vtkMultiBlockPLOT3DReader::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
virtual

Methods invoked by print to print information about the object including superclasses.

Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkMultiBlockDataSetAlgorithm.

void vtkMultiBlockPLOT3DReader::SetFileName ( const char *  name)
inline

Set/Get the PLOT3D geometry filename.

Definition at line 117 of file vtkMultiBlockPLOT3DReader.h.

const char* vtkMultiBlockPLOT3DReader::GetFileName ( )
inline

Set/Get the PLOT3D geometry filename.

Definition at line 118 of file vtkMultiBlockPLOT3DReader.h.

virtual void vtkMultiBlockPLOT3DReader::SetXYZFileName ( const char *  )
virtual

Set/Get the PLOT3D geometry filename.

virtual char* vtkMultiBlockPLOT3DReader::GetXYZFileName ( )
virtual

Set/Get the PLOT3D geometry filename.

virtual void vtkMultiBlockPLOT3DReader::SetQFileName ( const char *  )
virtual

Set/Get the PLOT3D solution filename.

virtual char* vtkMultiBlockPLOT3DReader::GetQFileName ( )
virtual

Set/Get the PLOT3D solution filename.

virtual void vtkMultiBlockPLOT3DReader::SetFunctionFileName ( const char *  )
virtual

Set/Get the PLOT3D function filename.

virtual char* vtkMultiBlockPLOT3DReader::GetFunctionFileName ( )
virtual

Set/Get the PLOT3D function filename.

virtual void vtkMultiBlockPLOT3DReader::SetAutoDetectFormat ( int  )
virtual

When this option is turned on, the reader will try to figure out the values of various options such as byte order, byte count etc.

automatically. This options works only for binary files. When it is turned on, the reader should be able to read most Plot3D files automatically. The default is OFF for backwards compatibility reasons. For binary files, it is strongly recommended that you turn on AutoDetectFormat and leave the other file format related options untouched.

virtual int vtkMultiBlockPLOT3DReader::GetAutoDetectFormat ( )
virtual

When this option is turned on, the reader will try to figure out the values of various options such as byte order, byte count etc.

automatically. This options works only for binary files. When it is turned on, the reader should be able to read most Plot3D files automatically. The default is OFF for backwards compatibility reasons. For binary files, it is strongly recommended that you turn on AutoDetectFormat and leave the other file format related options untouched.

virtual void vtkMultiBlockPLOT3DReader::AutoDetectFormatOn ( )
virtual

When this option is turned on, the reader will try to figure out the values of various options such as byte order, byte count etc.

automatically. This options works only for binary files. When it is turned on, the reader should be able to read most Plot3D files automatically. The default is OFF for backwards compatibility reasons. For binary files, it is strongly recommended that you turn on AutoDetectFormat and leave the other file format related options untouched.

virtual void vtkMultiBlockPLOT3DReader::AutoDetectFormatOff ( )
virtual

When this option is turned on, the reader will try to figure out the values of various options such as byte order, byte count etc.

automatically. This options works only for binary files. When it is turned on, the reader should be able to read most Plot3D files automatically. The default is OFF for backwards compatibility reasons. For binary files, it is strongly recommended that you turn on AutoDetectFormat and leave the other file format related options untouched.

virtual void vtkMultiBlockPLOT3DReader::SetBinaryFile ( int  )
virtual

Is the file to be read written in binary format (as opposed to ascii).

virtual int vtkMultiBlockPLOT3DReader::GetBinaryFile ( )
virtual

Is the file to be read written in binary format (as opposed to ascii).

virtual void vtkMultiBlockPLOT3DReader::BinaryFileOn ( )
virtual

Is the file to be read written in binary format (as opposed to ascii).

virtual void vtkMultiBlockPLOT3DReader::BinaryFileOff ( )
virtual

Is the file to be read written in binary format (as opposed to ascii).

virtual void vtkMultiBlockPLOT3DReader::SetMultiGrid ( int  )
virtual

Does the file to be read contain information about number of grids.

In some PLOT3D files, the first value contains the number of grids (even if there is only 1). If reading such a file, set this to true.

virtual int vtkMultiBlockPLOT3DReader::GetMultiGrid ( )
virtual

Does the file to be read contain information about number of grids.

In some PLOT3D files, the first value contains the number of grids (even if there is only 1). If reading such a file, set this to true.

virtual void vtkMultiBlockPLOT3DReader::MultiGridOn ( )
virtual

Does the file to be read contain information about number of grids.

In some PLOT3D files, the first value contains the number of grids (even if there is only 1). If reading such a file, set this to true.

virtual void vtkMultiBlockPLOT3DReader::MultiGridOff ( )
virtual

Does the file to be read contain information about number of grids.

In some PLOT3D files, the first value contains the number of grids (even if there is only 1). If reading such a file, set this to true.

virtual void vtkMultiBlockPLOT3DReader::SetHasByteCount ( int  )
virtual

Were the arrays written with leading and trailing byte counts ? Usually, files written by a fortran program will contain these byte counts whereas the ones written by C/C++ won't.

virtual int vtkMultiBlockPLOT3DReader::GetHasByteCount ( )
virtual

Were the arrays written with leading and trailing byte counts ? Usually, files written by a fortran program will contain these byte counts whereas the ones written by C/C++ won't.

virtual void vtkMultiBlockPLOT3DReader::HasByteCountOn ( )
virtual

Were the arrays written with leading and trailing byte counts ? Usually, files written by a fortran program will contain these byte counts whereas the ones written by C/C++ won't.

virtual void vtkMultiBlockPLOT3DReader::HasByteCountOff ( )
virtual

Were the arrays written with leading and trailing byte counts ? Usually, files written by a fortran program will contain these byte counts whereas the ones written by C/C++ won't.

virtual void vtkMultiBlockPLOT3DReader::SetIBlanking ( int  )
virtual

Is there iblanking (point visibility) information in the file.

If there is iblanking arrays, these will be read and assigned to the PointVisibility array of the output.

virtual int vtkMultiBlockPLOT3DReader::GetIBlanking ( )
virtual

Is there iblanking (point visibility) information in the file.

If there is iblanking arrays, these will be read and assigned to the PointVisibility array of the output.

virtual void vtkMultiBlockPLOT3DReader::IBlankingOn ( )
virtual

Is there iblanking (point visibility) information in the file.

If there is iblanking arrays, these will be read and assigned to the PointVisibility array of the output.

virtual void vtkMultiBlockPLOT3DReader::IBlankingOff ( )
virtual

Is there iblanking (point visibility) information in the file.

If there is iblanking arrays, these will be read and assigned to the PointVisibility array of the output.

virtual void vtkMultiBlockPLOT3DReader::SetTwoDimensionalGeometry ( int  )
virtual

If only two-dimensional data was written to the file, turn this on.

virtual int vtkMultiBlockPLOT3DReader::GetTwoDimensionalGeometry ( )
virtual

If only two-dimensional data was written to the file, turn this on.

virtual void vtkMultiBlockPLOT3DReader::TwoDimensionalGeometryOn ( )
virtual

If only two-dimensional data was written to the file, turn this on.

virtual void vtkMultiBlockPLOT3DReader::TwoDimensionalGeometryOff ( )
virtual

If only two-dimensional data was written to the file, turn this on.

virtual void vtkMultiBlockPLOT3DReader::SetDoublePrecision ( int  )
virtual

Is this file in double precision or single precision.

This only matters for binary files. Default is single.

virtual int vtkMultiBlockPLOT3DReader::GetDoublePrecision ( )
virtual

Is this file in double precision or single precision.

This only matters for binary files. Default is single.

virtual void vtkMultiBlockPLOT3DReader::DoublePrecisionOn ( )
virtual

Is this file in double precision or single precision.

This only matters for binary files. Default is single.

virtual void vtkMultiBlockPLOT3DReader::DoublePrecisionOff ( )
virtual

Is this file in double precision or single precision.

This only matters for binary files. Default is single.

virtual void vtkMultiBlockPLOT3DReader::SetForceRead ( int  )
virtual

Try to read a binary file even if the file length seems to be inconsistent with the header information.

Use this with caution, if the file length is not the same as calculated from the header. either the file is corrupt or the settings are wrong.

virtual int vtkMultiBlockPLOT3DReader::GetForceRead ( )
virtual

Try to read a binary file even if the file length seems to be inconsistent with the header information.

Use this with caution, if the file length is not the same as calculated from the header. either the file is corrupt or the settings are wrong.

virtual void vtkMultiBlockPLOT3DReader::ForceReadOn ( )
virtual

Try to read a binary file even if the file length seems to be inconsistent with the header information.

Use this with caution, if the file length is not the same as calculated from the header. either the file is corrupt or the settings are wrong.

virtual void vtkMultiBlockPLOT3DReader::ForceReadOff ( )
virtual

Try to read a binary file even if the file length seems to be inconsistent with the header information.

Use this with caution, if the file length is not the same as calculated from the header. either the file is corrupt or the settings are wrong.

void vtkMultiBlockPLOT3DReader::SetByteOrderToBigEndian ( )

Set the byte order of the file (remember, more Unix workstations write big endian whereas PCs write little endian).

Default is big endian (since most older PLOT3D files were written by workstations).

void vtkMultiBlockPLOT3DReader::SetByteOrderToLittleEndian ( )

Set the byte order of the file (remember, more Unix workstations write big endian whereas PCs write little endian).

Default is big endian (since most older PLOT3D files were written by workstations).

virtual void vtkMultiBlockPLOT3DReader::SetByteOrder ( int  )
virtual

Set the byte order of the file (remember, more Unix workstations write big endian whereas PCs write little endian).

Default is big endian (since most older PLOT3D files were written by workstations).

virtual int vtkMultiBlockPLOT3DReader::GetByteOrder ( )
virtual

Set the byte order of the file (remember, more Unix workstations write big endian whereas PCs write little endian).

Default is big endian (since most older PLOT3D files were written by workstations).

const char* vtkMultiBlockPLOT3DReader::GetByteOrderAsString ( )

Set the byte order of the file (remember, more Unix workstations write big endian whereas PCs write little endian).

Default is big endian (since most older PLOT3D files were written by workstations).

virtual void vtkMultiBlockPLOT3DReader::SetR ( double  )
virtual

Set/Get the gas constant.

Default is 1.0.

virtual double vtkMultiBlockPLOT3DReader::GetR ( )
virtual

Set/Get the gas constant.

Default is 1.0.

virtual void vtkMultiBlockPLOT3DReader::SetGamma ( double  )
virtual

Set/Get the ratio of specific heats.

Default is 1.4.

virtual double vtkMultiBlockPLOT3DReader::GetGamma ( )
virtual

Set/Get the ratio of specific heats.

Default is 1.4.

void vtkMultiBlockPLOT3DReader::SetScalarFunctionNumber ( int  num)

Specify the scalar function to extract.

If ==(-1), then no scalar function is extracted.

virtual int vtkMultiBlockPLOT3DReader::GetScalarFunctionNumber ( )
virtual

Specify the scalar function to extract.

If ==(-1), then no scalar function is extracted.

void vtkMultiBlockPLOT3DReader::SetVectorFunctionNumber ( int  num)

Specify the vector function to extract.

If ==(-1), then no vector function is extracted.

virtual int vtkMultiBlockPLOT3DReader::GetVectorFunctionNumber ( )
virtual

Specify the vector function to extract.

If ==(-1), then no vector function is extracted.

void vtkMultiBlockPLOT3DReader::AddFunction ( int  functionNumber)

Specify additional functions to read.

These are placed into the point data as data arrays. Later on they can be used by labeling them as scalars, etc.

void vtkMultiBlockPLOT3DReader::RemoveFunction ( int  )

Specify additional functions to read.

These are placed into the point data as data arrays. Later on they can be used by labeling them as scalars, etc.

void vtkMultiBlockPLOT3DReader::RemoveAllFunctions ( )

Specify additional functions to read.

These are placed into the point data as data arrays. Later on they can be used by labeling them as scalars, etc.

virtual int vtkMultiBlockPLOT3DReader::CanReadBinaryFile ( const char *  fname)
virtual

Return 1 if the reader can read the given file name.

Only meaningful for binary files.

void vtkMultiBlockPLOT3DReader::SetController ( vtkMultiProcessController c)

Set/Get the communicator object (we'll use global World controller if you don't set a different one).

virtual vtkMultiProcessController* vtkMultiBlockPLOT3DReader::GetController ( )
virtual

Set/Get the communicator object (we'll use global World controller if you don't set a different one).

vtkDataArray* vtkMultiBlockPLOT3DReader::CreateFloatArray ( )
protected
int vtkMultiBlockPLOT3DReader::CheckFile ( FILE *&  fp,
const char *  fname 
)
protected
int vtkMultiBlockPLOT3DReader::CheckGeometryFile ( FILE *&  xyzFp)
protected
int vtkMultiBlockPLOT3DReader::CheckSolutionFile ( FILE *&  qFp)
protected
int vtkMultiBlockPLOT3DReader::CheckFunctionFile ( FILE *&  fFp)
protected
int vtkMultiBlockPLOT3DReader::GetByteCountSize ( )
protected
int vtkMultiBlockPLOT3DReader::SkipByteCount ( FILE *  fp)
protected
int vtkMultiBlockPLOT3DReader::ReadIntBlock ( FILE *  fp,
int  n,
int block 
)
protected
vtkIdType vtkMultiBlockPLOT3DReader::ReadValues ( FILE *  fp,
int  n,
vtkDataArray scalar 
)
protected
virtual int vtkMultiBlockPLOT3DReader::ReadIntScalar ( void *  vfp,
int  extent[6],
int  wextent[6],
vtkDataArray scalar,
vtkTypeUInt64  offset,
const vtkMultiBlockPLOT3DReaderRecord currentRecord 
)
protectedvirtual

Reimplemented in vtkMPIMultiBlockPLOT3DReader.

virtual int vtkMultiBlockPLOT3DReader::ReadScalar ( void *  vfp,
int  extent[6],
int  wextent[6],
vtkDataArray scalar,
vtkTypeUInt64  offset,
const vtkMultiBlockPLOT3DReaderRecord currentRecord 
)
protectedvirtual

Reimplemented in vtkMPIMultiBlockPLOT3DReader.

virtual int vtkMultiBlockPLOT3DReader::ReadVector ( void *  vfp,
int  extent[6],
int  wextent[6],
int  numDims,
vtkDataArray vector,
vtkTypeUInt64  offset,
const vtkMultiBlockPLOT3DReaderRecord currentRecord 
)
protectedvirtual

Reimplemented in vtkMPIMultiBlockPLOT3DReader.

virtual int vtkMultiBlockPLOT3DReader::OpenFileForDataRead ( void *&  fp,
const char *  fname 
)
protectedvirtual

Reimplemented in vtkMPIMultiBlockPLOT3DReader.

virtual void vtkMultiBlockPLOT3DReader::CloseFile ( void *  fp)
protectedvirtual

Reimplemented in vtkMPIMultiBlockPLOT3DReader.

int vtkMultiBlockPLOT3DReader::GetNumberOfBlocksInternal ( FILE *  xyzFp,
int  allocate 
)
protected
int vtkMultiBlockPLOT3DReader::ReadGeometryHeader ( FILE *  fp)
protected
int vtkMultiBlockPLOT3DReader::ReadQHeader ( FILE *  fp,
bool  checkGrid,
int nq,
int nqc,
int overflow 
)
protected
int vtkMultiBlockPLOT3DReader::ReadFunctionHeader ( FILE *  fp,
int nFunctions 
)
protected
void vtkMultiBlockPLOT3DReader::CalculateFileSize ( FILE *  fp)
protected
int vtkMultiBlockPLOT3DReader::AutoDetectionCheck ( FILE *  fp)
protected
void vtkMultiBlockPLOT3DReader::AssignAttribute ( int  fNumber,
vtkStructuredGrid output,
int  attributeType 
)
protected
void vtkMultiBlockPLOT3DReader::MapFunction ( int  fNumber,
vtkStructuredGrid output 
)
protected
void vtkMultiBlockPLOT3DReader::ComputeTemperature ( vtkStructuredGrid output)
protected
void vtkMultiBlockPLOT3DReader::ComputePressure ( vtkStructuredGrid output)
protected
void vtkMultiBlockPLOT3DReader::ComputeEnthalpy ( vtkStructuredGrid output)
protected
void vtkMultiBlockPLOT3DReader::ComputeKineticEnergy ( vtkStructuredGrid output)
protected
void vtkMultiBlockPLOT3DReader::ComputeVelocityMagnitude ( vtkStructuredGrid output)
protected
void vtkMultiBlockPLOT3DReader::ComputeEntropy ( vtkStructuredGrid output)
protected
void vtkMultiBlockPLOT3DReader::ComputeSwirl ( vtkStructuredGrid output)
protected
void vtkMultiBlockPLOT3DReader::ComputeVelocity ( vtkStructuredGrid output)
protected
void vtkMultiBlockPLOT3DReader::ComputeVorticity ( vtkStructuredGrid output)
protected
void vtkMultiBlockPLOT3DReader::ComputePressureGradient ( vtkStructuredGrid output)
protected
void vtkMultiBlockPLOT3DReader::ComputePressureCoefficient ( vtkStructuredGrid output)
protected
void vtkMultiBlockPLOT3DReader::ComputeMachNumber ( vtkStructuredGrid output)
protected
void vtkMultiBlockPLOT3DReader::ComputeSoundSpeed ( vtkStructuredGrid output)
protected
void vtkMultiBlockPLOT3DReader::ComputeVorticityMagnitude ( vtkStructuredGrid output)
protected
void vtkMultiBlockPLOT3DReader::ComputeStrainRate ( vtkStructuredGrid output)
protected
vtkDataArray* vtkMultiBlockPLOT3DReader::NewFloatArray ( )
protected
void vtkMultiBlockPLOT3DReader::ClearGeometryCache ( )
protected
virtual int vtkMultiBlockPLOT3DReader::FillOutputPortInformation ( int  port,
vtkInformation info 
)
protectedvirtual

Fill the output port information objects for this algorithm.

This is invoked by the first call to GetOutputPortInformation for each port so subclasses can specify what they can handle.

Reimplemented from vtkMultiBlockDataSetAlgorithm.

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

This is called by the superclass.

This is the method you should override.

Reimplemented from vtkMultiBlockDataSetAlgorithm.

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

This is called by the superclass.

This is the method you should override.

Reimplemented from vtkMultiBlockDataSetAlgorithm.

Member Data Documentation

char* vtkMultiBlockPLOT3DReader::XYZFileName
protected

Definition at line 388 of file vtkMultiBlockPLOT3DReader.h.

char* vtkMultiBlockPLOT3DReader::QFileName
protected

Definition at line 389 of file vtkMultiBlockPLOT3DReader.h.

char* vtkMultiBlockPLOT3DReader::FunctionFileName
protected

Definition at line 390 of file vtkMultiBlockPLOT3DReader.h.

int vtkMultiBlockPLOT3DReader::BinaryFile
protected

Definition at line 392 of file vtkMultiBlockPLOT3DReader.h.

int vtkMultiBlockPLOT3DReader::HasByteCount
protected

Definition at line 393 of file vtkMultiBlockPLOT3DReader.h.

int vtkMultiBlockPLOT3DReader::TwoDimensionalGeometry
protected

Definition at line 394 of file vtkMultiBlockPLOT3DReader.h.

int vtkMultiBlockPLOT3DReader::MultiGrid
protected

Definition at line 395 of file vtkMultiBlockPLOT3DReader.h.

int vtkMultiBlockPLOT3DReader::ForceRead
protected

Definition at line 396 of file vtkMultiBlockPLOT3DReader.h.

int vtkMultiBlockPLOT3DReader::ByteOrder
protected

Definition at line 397 of file vtkMultiBlockPLOT3DReader.h.

int vtkMultiBlockPLOT3DReader::IBlanking
protected

Definition at line 398 of file vtkMultiBlockPLOT3DReader.h.

int vtkMultiBlockPLOT3DReader::DoublePrecision
protected

Definition at line 399 of file vtkMultiBlockPLOT3DReader.h.

int vtkMultiBlockPLOT3DReader::AutoDetectFormat
protected

Definition at line 400 of file vtkMultiBlockPLOT3DReader.h.

int vtkMultiBlockPLOT3DReader::ExecutedGhostLevels
protected

Definition at line 402 of file vtkMultiBlockPLOT3DReader.h.

size_t vtkMultiBlockPLOT3DReader::FileSize
protected

Definition at line 404 of file vtkMultiBlockPLOT3DReader.h.

double vtkMultiBlockPLOT3DReader::R
protected

Definition at line 407 of file vtkMultiBlockPLOT3DReader.h.

double vtkMultiBlockPLOT3DReader::Gamma
protected

Definition at line 408 of file vtkMultiBlockPLOT3DReader.h.

double vtkMultiBlockPLOT3DReader::Uvinf
protected

Definition at line 409 of file vtkMultiBlockPLOT3DReader.h.

double vtkMultiBlockPLOT3DReader::Vvinf
protected

Definition at line 410 of file vtkMultiBlockPLOT3DReader.h.

double vtkMultiBlockPLOT3DReader::Wvinf
protected

Definition at line 411 of file vtkMultiBlockPLOT3DReader.h.

vtkIntArray* vtkMultiBlockPLOT3DReader::FunctionList
protected

Definition at line 414 of file vtkMultiBlockPLOT3DReader.h.

int vtkMultiBlockPLOT3DReader::ScalarFunctionNumber
protected

Definition at line 416 of file vtkMultiBlockPLOT3DReader.h.

int vtkMultiBlockPLOT3DReader::VectorFunctionNumber
protected

Definition at line 417 of file vtkMultiBlockPLOT3DReader.h.

vtkMultiBlockPLOT3DReaderInternals* vtkMultiBlockPLOT3DReader::Internal
protected

Definition at line 428 of file vtkMultiBlockPLOT3DReader.h.

vtkMultiProcessController* vtkMultiBlockPLOT3DReader::Controller
protected

Definition at line 430 of file vtkMultiBlockPLOT3DReader.h.


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