VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkEnSightReader Class Referenceabstract

superclass for EnSight file readers More...

#include <vtkEnSightReader.h>

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

Public Types

enum  ElementTypesList {
  POINT = 0, BAR2 = 1, BAR3 = 2, NSIDED = 3,
  TRIA3 = 4, TRIA6 = 5, QUAD4 = 6, QUAD8 = 7,
  NFACED = 8, TETRA4 = 9, TETRA10 = 10, PYRAMID5 = 11,
  PYRAMID13 = 12, HEXA8 = 13, HEXA20 = 14, PENTA6 = 15,
  PENTA15 = 16, NUMBER_OF_ELEMENT_TYPES = 17
}
 
enum  VariableTypesList {
  SCALAR_PER_NODE = 0, VECTOR_PER_NODE = 1, TENSOR_SYMM_PER_NODE = 2, SCALAR_PER_ELEMENT = 3,
  VECTOR_PER_ELEMENT = 4, TENSOR_SYMM_PER_ELEMENT = 5, SCALAR_PER_MEASURED_NODE = 6, VECTOR_PER_MEASURED_NODE = 7,
  COMPLEX_SCALAR_PER_NODE = 8, COMPLEX_VECTOR_PER_NODE = 9, COMPLEX_SCALAR_PER_ELEMENT = 10, COMPLEX_VECTOR_PER_ELEMENT = 11
}
 
enum  SectionTypeList { COORDINATES = 0, BLOCK = 1, ELEMENT = 2 }
 
typedef vtkGenericEnSightReader Superclass
 
- Public Types inherited from vtkGenericEnSightReader
enum  FileTypes {
  ENSIGHT_6 = 0, ENSIGHT_6_BINARY = 1, ENSIGHT_GOLD = 2, ENSIGHT_GOLD_BINARY = 3,
  ENSIGHT_MASTER_SERVER = 4
}
 
enum  { FILE_BIG_ENDIAN =0, FILE_LITTLE_ENDIAN =1, FILE_UNKNOWN_ENDIAN =2 }
 
typedef vtkMultiBlockDataSetAlgorithm Superclass
 
- Public Types inherited from vtkMultiBlockDataSetAlgorithm
typedef vtkAlgorithm Superclass
 
- Public Types inherited from vtkAlgorithm
typedef vtkObject Superclass
 
enum  DesiredOutputPrecision { SINGLE_PRECISION, DOUBLE_PRECISION, DEFAULT_PRECISION }
 
- Public Types inherited from vtkObject
typedef vtkObjectBase Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkEnSightReaderNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual char * GetMeasuredFileName ()
 
virtual char * GetMatchFileName ()
 
virtual void SetParticleCoordinatesByIndex (int)
 
virtual int GetParticleCoordinatesByIndex ()
 
virtual void ParticleCoordinatesByIndexOn ()
 
virtual void ParticleCoordinatesByIndexOff ()
 
- Public Member Functions inherited from vtkGenericEnSightReader
vtkGenericEnSightReaderNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
const char * GetDescription (int n)
 
const char * GetComplexDescription (int n)
 
const char * GetDescription (int n, int type)
 
int DetermineEnSightVersion (int quiet=0)
 
vtkGenericEnSightReaderGetReader ()
 
void SetCaseFileName (const char *fileName)
 
virtual char * GetCaseFileName ()
 
virtual void SetFilePath (const char *)
 
virtual char * GetFilePath ()
 
virtual int GetEnSightVersion ()
 
virtual int GetNumberOfVariables ()
 
virtual int GetNumberOfComplexVariables ()
 
int GetNumberOfVariables (int type)
 
virtual int GetNumberOfScalarsPerNode ()
 
virtual int GetNumberOfVectorsPerNode ()
 
virtual int GetNumberOfTensorsSymmPerNode ()
 
virtual int GetNumberOfScalarsPerElement ()
 
virtual int GetNumberOfVectorsPerElement ()
 
virtual int GetNumberOfTensorsSymmPerElement ()
 
virtual int GetNumberOfScalarsPerMeasuredNode ()
 
virtual int GetNumberOfVectorsPerMeasuredNode ()
 
virtual int GetNumberOfComplexScalarsPerNode ()
 
virtual int GetNumberOfComplexVectorsPerNode ()
 
virtual int GetNumberOfComplexScalarsPerElement ()
 
virtual int GetNumberOfComplexVectorsPerElement ()
 
int GetVariableType (int n)
 
int GetComplexVariableType (int n)
 
virtual void SetTimeValue (float value)
 
virtual float GetTimeValue ()
 
virtual float GetMinimumTimeValue ()
 
virtual float GetMaximumTimeValue ()
 
virtual vtkDataArrayCollectionGetTimeSets ()
 
virtual void ReadAllVariablesOn ()
 
virtual void ReadAllVariablesOff ()
 
virtual void SetReadAllVariables (int)
 
virtual int GetReadAllVariables ()
 
virtual vtkDataArraySelectionGetPointDataArraySelection ()
 
virtual vtkDataArraySelectionGetCellDataArraySelection ()
 
int GetNumberOfPointArrays ()
 
int GetNumberOfCellArrays ()
 
const char * GetPointArrayName (int index)
 
const char * GetCellArrayName (int index)
 
int GetPointArrayStatus (const char *name)
 
int GetCellArrayStatus (const char *name)
 
void SetPointArrayStatus (const char *name, int status)
 
void SetCellArrayStatus (const char *name, int status)
 
void SetByteOrderToBigEndian ()
 
void SetByteOrderToLittleEndian ()
 
virtual void SetByteOrder (int)
 
virtual int GetByteOrder ()
 
const char * GetByteOrderAsString ()
 
virtual char * GetGeometryFileName ()
 
- Public Member Functions inherited from vtkMultiBlockDataSetAlgorithm
vtkMultiBlockDataSetAlgorithmNewInstance () const
 
vtkMultiBlockDataSetGetOutput ()
 
vtkMultiBlockDataSetGetOutput (int)
 
void SetInputData (vtkDataObject *)
 
void SetInputData (int, vtkDataObject *)
 
virtual int ProcessRequest (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
 
- 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 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])
 
int ProcessRequest (vtkInformation *request, vtkCollection *inInfo, vtkInformationVector *outInfo)
 
virtual int ComputePipelineMTime (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec, int requestFromOutputPort, unsigned long *mtime)
 
virtual vtkInformationGetInformation ()
 
virtual void SetInformation (vtkInformation *)
 
virtual void Register (vtkObjectBase *o)
 
virtual void UnRegister (vtkObjectBase *o)
 
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 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)
 
void SetUpdateExtent (int extent[6])
 
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
vtkObjectNewInstance () const
 
virtual void DebugOn ()
 
virtual void DebugOff ()
 
bool GetDebug ()
 
void SetDebug (bool debugFlag)
 
virtual void Modified ()
 
virtual unsigned long GetMTime ()
 
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 *)
 
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)
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
template<class U , class T >
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)
 
int InvokeEvent (unsigned long event)
 
int InvokeEvent (const char *event)
 
- Public Member Functions inherited from vtkObjectBase
const char * GetClassName () const
 
virtual void Delete ()
 
virtual void FastDelete ()
 
void Print (ostream &os)
 
void SetReferenceCount (int)
 
void PrintRevisions (ostream &)
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
int GetReferenceCount ()
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static vtkEnSightReaderSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkGenericEnSightReader
static vtkGenericEnSightReaderNew ()
 
static int IsTypeOf (const char *type)
 
static vtkGenericEnSightReaderSafeDownCast (vtkObjectBase *o)
 
static int CanReadFile (const char *casefilename)
 
- Static Public Member Functions inherited from vtkMultiBlockDataSetAlgorithm
static vtkMultiBlockDataSetAlgorithmNew ()
 
static int IsTypeOf (const char *type)
 
static vtkMultiBlockDataSetAlgorithmSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkAlgorithm
static vtkAlgorithmNew ()
 
static int IsTypeOf (const char *type)
 
static vtkAlgorithmSafeDownCast (vtkObjectBase *o)
 
static vtkInformationIntegerKeyINPUT_IS_OPTIONAL ()
 
static vtkInformationIntegerKeyINPUT_IS_REPEATABLE ()
 
static vtkInformationInformationVectorKeyINPUT_REQUIRED_FIELDS ()
 
static vtkInformationStringVectorKeyINPUT_REQUIRED_DATA_TYPE ()
 
static vtkInformationInformationVectorKeyINPUT_ARRAYS_TO_PROCESS ()
 
static vtkInformationIntegerKeyINPUT_PORT ()
 
static vtkInformationIntegerKeyINPUT_CONNECTION ()
 
static vtkInformationIntegerKeyCAN_PRODUCE_SUB_EXTENT ()
 
static vtkInformationIntegerKeyCAN_HANDLE_PIECE_REQUEST ()
 
static void SetDefaultExecutivePrototype (vtkExecutive *proto)
 
- Static Public Member Functions inherited from vtkObject
static int IsTypeOf (const char *type)
 
static vtkObjectSafeDownCast (vtkObjectBase *o)
 
static vtkObjectNew ()
 
static void BreakOnError ()
 
static void SetGlobalWarningDisplay (int val)
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
- Static Public Member Functions inherited from vtkObjectBase
static int IsTypeOf (const char *name)
 
static vtkObjectBaseNew ()
 

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkEnSightReader ()
 
 ~vtkEnSightReader ()
 
virtual int RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
virtual void ClearForNewCaseFileName ()
 
int ReadVariableFiles (vtkMultiBlockDataSet *output)
 
void AddVariableFileName (const char *fileName1, const char *fileName2=NULL)
 
void AddVariableDescription (const char *description)
 
void AddVariableType ()
 
int GetElementType (const char *line)
 
int GetSectionType (const char *line)
 
void ReplaceWildcards (char *filename, int num)
 
void RemoveLeadingBlanks (char *line)
 
vtkIdListGetCellIds (int index, int cellType)
 
virtual void SetUseTimeSets (int)
 
virtual int GetUseTimeSets ()
 
virtual void UseTimeSetsOn ()
 
virtual void UseTimeSetsOff ()
 
virtual void SetUseFileSets (int)
 
virtual int GetUseFileSets ()
 
virtual void UseFileSetsOn ()
 
virtual void UseFileSetsOff ()
 
int CheckOutputConsistency ()
 
virtual void SetMeasuredFileName (const char *)
 
virtual void SetMatchFileName (const char *)
 
int ReadCaseFile ()
 
int ReadCaseFileGeometry (char *line)
 
int ReadCaseFileVariable (char *line)
 
int ReadCaseFileTime (char *line)
 
int ReadCaseFileFile (char *line)
 
virtual int ReadGeometryFile (const char *fileName, int timeStep, vtkMultiBlockDataSet *output)=0
 
virtual int ReadMeasuredGeometryFile (const char *fileName, int timeStep, vtkMultiBlockDataSet *output)=0
 
virtual int ReadScalarsPerNode (const char *fileName, const char *description, int timeStep, vtkMultiBlockDataSet *output, int measured=0, int numberOfComponents=1, int component=0)=0
 
virtual int ReadVectorsPerNode (const char *fileName, const char *description, int timeStep, vtkMultiBlockDataSet *output, int measured=0)=0
 
virtual int ReadTensorsPerNode (const char *fileName, const char *description, int timeStep, vtkMultiBlockDataSet *output)=0
 
virtual int ReadScalarsPerElement (const char *fileName, const char *description, int timeStep, vtkMultiBlockDataSet *output, int numberOfComponents=1, int component=0)=0
 
virtual int ReadVectorsPerElement (const char *fileName, const char *description, int timeStep, vtkMultiBlockDataSet *output)=0
 
virtual int ReadTensorsPerElement (const char *fileName, const char *description, int timeStep, vtkMultiBlockDataSet *output)=0
 
virtual int CreateUnstructuredGridOutput (int partId, char line[80], const char *name, vtkMultiBlockDataSet *output)=0
 
virtual int CreateStructuredGridOutput (int partId, char line[80], const char *name, vtkMultiBlockDataSet *output)=0
 
void AddToBlock (vtkMultiBlockDataSet *output, unsigned int blockNo, vtkDataSet *dataset)
 
vtkDataSetGetDataSetFromBlock (vtkMultiBlockDataSet *output, unsigned int blockNo)
 
void SetBlockName (vtkMultiBlockDataSet *output, unsigned int blockNo, const char *name)
 
- Protected Member Functions inherited from vtkGenericEnSightReader
 vtkGenericEnSightReader ()
 
 ~vtkGenericEnSightReader ()
 
virtual int FillOutputPortInformation (int port, vtkInformation *info)
 
int ReadLine (char result[256])
 
int ReadBinaryLine (char result[80])
 
int ReadNextDataLine (char result[256])
 
void SelectionModified ()
 
char ** CreateStringArray (int numStrings)
 
void DestroyStringArray (int numStrings, char **strings)
 
void SetDataArraySelectionSetsFromVariables ()
 
void SetDataArraySelectionSetsFromReader ()
 
void SetReaderDataArraySelectionSetsFromSelf ()
 
virtual void SetTimeSets (vtkDataArrayCollection *)
 
int InsertNewPartId (int partId)
 
virtual void SetGeometryFileName (const char *)
 
void AddVariableDescription (const char *description)
 
void AddComplexVariableDescription (const char *description)
 
void AddVariableType (int variableType)
 
void AddComplexVariableType (int variableType)
 
int ReplaceWildcards (char *fileName, int timeSet, int fileSet)
 
void ReplaceWildcardsHelper (char *fileName, int num)
 
- Protected Member Functions inherited from vtkMultiBlockDataSetAlgorithm
 vtkMultiBlockDataSetAlgorithm ()
 
 ~vtkMultiBlockDataSetAlgorithm ()
 
virtual vtkExecutiveCreateDefaultExecutive ()
 
virtual int FillInputPortInformation (int port, vtkInformation *info)
 
vtkDataObjectGetInput (int port)
 
virtual int RequestDataObject (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
virtual int RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
- Protected Member Functions inherited from vtkAlgorithm
 vtkAlgorithm ()
 
 ~vtkAlgorithm ()
 
virtual void SetNumberOfInputPorts (int n)
 
virtual void SetNumberOfOutputPorts (int n)
 
int InputPortIndexInRange (int index, const char *action)
 
int OutputPortIndexInRange (int index, const char *action)
 
int GetInputArrayAssociation (int idx, vtkInformationVector **inputVector)
 
virtual void ReportReferences (vtkGarbageCollector *)
 
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)
 
virtual void SetErrorCode (unsigned long)
 
- Protected Member Functions inherited from vtkObject
 vtkObject ()
 
virtual ~vtkObject ()
 
virtual void RegisterInternal (vtkObjectBase *, int check)
 
virtual void UnRegisterInternal (vtkObjectBase *, int check)
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
 
void InternalReleaseFocus ()
 
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
 
virtual ~vtkObjectBase ()
 
virtual void CollectRevisions (ostream &)
 
 vtkObjectBase (const vtkObjectBase &)
 
void operator= (const vtkObjectBase &)
 

Protected Attributes

int CaseFileRead
 
char * MeasuredFileName
 
char * MatchFileName
 
vtkEnSightReaderCellIdsType * CellIds
 
vtkIdListUnstructuredPartIds
 
int VariableMode
 
char ** VariableFileNames
 
char ** ComplexVariableFileNames
 
vtkIdListVariableTimeSetIds
 
vtkIdListComplexVariableTimeSetIds
 
vtkIdListVariableFileSetIds
 
vtkIdListComplexVariableFileSetIds
 
vtkIdListCollectionTimeSetFileNameNumbers
 
vtkIdListTimeSetsWithFilenameNumbers
 
vtkIdListCollectionFileSetFileNameNumbers
 
vtkIdListFileSetsWithFilenameNumbers
 
vtkIdListCollectionFileSetNumberOfSteps
 
vtkIdListTimeSetIds
 
vtkIdListFileSets
 
int GeometryTimeSet
 
int GeometryFileSet
 
int MeasuredTimeSet
 
int MeasuredFileSet
 
float GeometryTimeValue
 
float MeasuredTimeValue
 
int UseTimeSets
 
int UseFileSets
 
int NumberOfGeometryParts
 
int NumberOfMeasuredPoints
 
int NumberOfNewOutputs
 
int InitialRead
 
int ParticleCoordinatesByIndex
 
double ActualTimeValue
 
- Protected Attributes inherited from vtkGenericEnSightReader
istream * IS
 
FILE * IFile
 
vtkGenericEnSightReaderReader
 
char * CaseFileName
 
char * GeometryFileName
 
char * FilePath
 
intVariableTypes
 
intComplexVariableTypes
 
char ** VariableDescriptions
 
char ** ComplexVariableDescriptions
 
int NumberOfVariables
 
int NumberOfComplexVariables
 
int NumberOfScalarsPerNode
 
int NumberOfVectorsPerNode
 
int NumberOfTensorsSymmPerNode
 
int NumberOfScalarsPerElement
 
int NumberOfVectorsPerElement
 
int NumberOfTensorsSymmPerElement
 
int NumberOfScalarsPerMeasuredNode
 
int NumberOfVectorsPerMeasuredNode
 
int NumberOfComplexScalarsPerNode
 
int NumberOfComplexVectorsPerNode
 
int NumberOfComplexScalarsPerElement
 
int NumberOfComplexVectorsPerElement
 
float TimeValue
 
float MinimumTimeValue
 
float MaximumTimeValue
 
int TimeValueInitialized
 
vtkDataArrayCollectionTimeSets
 
int ReadAllVariables
 
int ByteOrder
 
int ParticleCoordinatesByIndex
 
int EnSightVersion
 
vtkDataArraySelectionPointDataArraySelection
 
vtkDataArraySelectionCellDataArraySelection
 
vtkCallbackCommandSelectionObserver
 
int SelectionModifiedDoNotCallModified
 
TranslationTableType * TranslationTable
 
- 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
int AbortExecute
 
- Static Protected Member Functions inherited from vtkGenericEnSightReader
static void SelectionModifiedCallback (vtkObject *caller, unsigned long eid, void *clientdata, void *calldata)
 
- Static Protected Member Functions inherited from vtkAlgorithm
static vtkInformationIntegerKeyPORT_REQUIREMENTS_FILLED ()
 
- Static Protected Attributes inherited from vtkAlgorithm
static vtkExecutiveDefaultExecutivePrototype
 

Detailed Description

superclass for EnSight file readers

Definition at line 32 of file vtkEnSightReader.h.

Member Typedef Documentation

Definition at line 35 of file vtkEnSightReader.h.

Member Enumeration Documentation

Enumerator
POINT 
BAR2 
BAR3 
NSIDED 
TRIA3 
TRIA6 
QUAD4 
QUAD8 
NFACED 
TETRA4 
TETRA10 
PYRAMID5 
PYRAMID13 
HEXA8 
HEXA20 
PENTA6 
PENTA15 
NUMBER_OF_ELEMENT_TYPES 

Definition at line 39 of file vtkEnSightReader.h.

Enumerator
SCALAR_PER_NODE 
VECTOR_PER_NODE 
TENSOR_SYMM_PER_NODE 
SCALAR_PER_ELEMENT 
VECTOR_PER_ELEMENT 
TENSOR_SYMM_PER_ELEMENT 
SCALAR_PER_MEASURED_NODE 
VECTOR_PER_MEASURED_NODE 
COMPLEX_SCALAR_PER_NODE 
COMPLEX_VECTOR_PER_NODE 
COMPLEX_SCALAR_PER_ELEMENT 
COMPLEX_VECTOR_PER_ELEMENT 

Definition at line 61 of file vtkEnSightReader.h.

Enumerator
COORDINATES 
BLOCK 
ELEMENT 

Definition at line 77 of file vtkEnSightReader.h.

Constructor & Destructor Documentation

vtkEnSightReader::vtkEnSightReader ( )
protected
vtkEnSightReader::~vtkEnSightReader ( )
protected

Member Function Documentation

static int vtkEnSightReader::IsTypeOf ( const char *  type)
static
virtual int vtkEnSightReader::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 vtkGenericEnSightReader.

Reimplemented in vtkEnSightGoldBinaryReader, vtkEnSightGoldReader, vtkEnSight6BinaryReader, and vtkEnSight6Reader.

static vtkEnSightReader* vtkEnSightReader::SafeDownCast ( vtkObjectBase o)
static
virtual vtkObjectBase* vtkEnSightReader::NewInstanceInternal ( ) const
protectedvirtual
vtkEnSightReader* vtkEnSightReader::NewInstance ( ) const
void vtkEnSightReader::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.

virtual char* vtkEnSightReader::GetMeasuredFileName ( )
virtual

Get the Measured file name. Made public to allow access from apps requiring detailed info about the Data contents

Reimplemented in vtkEnSightGoldReader.

virtual char* vtkEnSightReader::GetMatchFileName ( )
virtual

Get the Match file name. Made public to allow access from apps requiring detailed info about the Data contents

Reimplemented in vtkEnSightGoldReader.

virtual void vtkEnSightReader::SetParticleCoordinatesByIndex ( int  )
virtual

The MeasuredGeometryFile should list particle coordinates from 0->N-1. If a file is loaded where point Ids are listed from 1-N the Id to points reference will be wrong and the data will be generated incorrectly. Setting ParticleCoordinatesByIndex to true will force all Id's to increment from 0->N-1 (relative to their order in the file) and regardless of the actual Id of of the point. Warning, if the Points are listed in non sequential order then setting this flag will reorder them.

Reimplemented from vtkGenericEnSightReader.

virtual int vtkEnSightReader::GetParticleCoordinatesByIndex ( )
virtual

The MeasuredGeometryFile should list particle coordinates from 0->N-1. If a file is loaded where point Ids are listed from 1-N the Id to points reference will be wrong and the data will be generated incorrectly. Setting ParticleCoordinatesByIndex to true will force all Id's to increment from 0->N-1 (relative to their order in the file) and regardless of the actual Id of of the point. Warning, if the Points are listed in non sequential order then setting this flag will reorder them.

Reimplemented from vtkGenericEnSightReader.

virtual void vtkEnSightReader::ParticleCoordinatesByIndexOn ( )
virtual

The MeasuredGeometryFile should list particle coordinates from 0->N-1. If a file is loaded where point Ids are listed from 1-N the Id to points reference will be wrong and the data will be generated incorrectly. Setting ParticleCoordinatesByIndex to true will force all Id's to increment from 0->N-1 (relative to their order in the file) and regardless of the actual Id of of the point. Warning, if the Points are listed in non sequential order then setting this flag will reorder them.

Reimplemented from vtkGenericEnSightReader.

virtual void vtkEnSightReader::ParticleCoordinatesByIndexOff ( )
virtual

The MeasuredGeometryFile should list particle coordinates from 0->N-1. If a file is loaded where point Ids are listed from 1-N the Id to points reference will be wrong and the data will be generated incorrectly. Setting ParticleCoordinatesByIndex to true will force all Id's to increment from 0->N-1 (relative to their order in the file) and regardless of the actual Id of of the point. Warning, if the Points are listed in non sequential order then setting this flag will reorder them.

Reimplemented from vtkGenericEnSightReader.

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

This is called by the superclass. This is the method you should override.

Reimplemented from vtkGenericEnSightReader.

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

This is called by the superclass. This is the method you should override.

Reimplemented from vtkGenericEnSightReader.

virtual void vtkEnSightReader::ClearForNewCaseFileName ( )
protectedvirtual

Clear data structures such that setting a new case file name works. WARNING: Derived classes should call the base version after they clear their own structures.

Reimplemented from vtkGenericEnSightReader.

virtual void vtkEnSightReader::SetMeasuredFileName ( const char *  )
protectedvirtual

Set the Measured file name.

Reimplemented in vtkEnSightGoldReader.

virtual void vtkEnSightReader::SetMatchFileName ( const char *  )
protectedvirtual

Set the Match file name.

Reimplemented in vtkEnSightGoldReader.

int vtkEnSightReader::ReadCaseFile ( )
protected

Read the case file. If an error occurred, 0 is returned; otherwise

int vtkEnSightReader::ReadCaseFileGeometry ( char *  line)
protected

Read the case file. If an error occurred, 0 is returned; otherwise

int vtkEnSightReader::ReadCaseFileVariable ( char *  line)
protected

Read the case file. If an error occurred, 0 is returned; otherwise

int vtkEnSightReader::ReadCaseFileTime ( char *  line)
protected

Read the case file. If an error occurred, 0 is returned; otherwise

int vtkEnSightReader::ReadCaseFileFile ( char *  line)
protected

Read the case file. If an error occurred, 0 is returned; otherwise

virtual int vtkEnSightReader::ReadGeometryFile ( const char *  fileName,
int  timeStep,
vtkMultiBlockDataSet output 
)
protectedpure virtual

Read the geometry file. If an error occurred, 0 is returned; otherwise 1.

Implemented in vtkEnSightGoldBinaryReader, vtkEnSightGoldReader, vtkEnSight6BinaryReader, and vtkEnSight6Reader.

virtual int vtkEnSightReader::ReadMeasuredGeometryFile ( const char *  fileName,
int  timeStep,
vtkMultiBlockDataSet output 
)
protectedpure virtual

Read the measured geometry file. If an error occurred, 0 is returned; otherwise 1.

Implemented in vtkEnSightGoldBinaryReader, vtkEnSightGoldReader, vtkEnSight6BinaryReader, and vtkEnSight6Reader.

int vtkEnSightReader::ReadVariableFiles ( vtkMultiBlockDataSet output)
protected

Read the variable files. If an error occurred, 0 is returned; otherwise 1.

virtual int vtkEnSightReader::ReadScalarsPerNode ( const char *  fileName,
const char *  description,
int  timeStep,
vtkMultiBlockDataSet output,
int  measured = 0,
int  numberOfComponents = 1,
int  component = 0 
)
protectedpure virtual

Read scalars per node for this dataset. If an error occurred, 0 is returned; otherwise 1.

Implemented in vtkEnSightGoldBinaryReader, vtkEnSight6BinaryReader, vtkEnSightGoldReader, and vtkEnSight6Reader.

virtual int vtkEnSightReader::ReadVectorsPerNode ( const char *  fileName,
const char *  description,
int  timeStep,
vtkMultiBlockDataSet output,
int  measured = 0 
)
protectedpure virtual

Read vectors per node for this dataset. If an error occurred, 0 is returned; otherwise 1.

Implemented in vtkEnSightGoldBinaryReader, vtkEnSightGoldReader, vtkEnSight6BinaryReader, and vtkEnSight6Reader.

virtual int vtkEnSightReader::ReadTensorsPerNode ( const char *  fileName,
const char *  description,
int  timeStep,
vtkMultiBlockDataSet output 
)
protectedpure virtual

Read tensors per node for this dataset. If an error occurred, 0 is returned; otherwise 1.

Implemented in vtkEnSightGoldBinaryReader, vtkEnSightGoldReader, vtkEnSight6BinaryReader, and vtkEnSight6Reader.

virtual int vtkEnSightReader::ReadScalarsPerElement ( const char *  fileName,
const char *  description,
int  timeStep,
vtkMultiBlockDataSet output,
int  numberOfComponents = 1,
int  component = 0 
)
protectedpure virtual

Read scalars per element for this dataset. If an error occurred, 0 is returned; otherwise 1.

Implemented in vtkEnSightGoldBinaryReader, vtkEnSight6BinaryReader, vtkEnSightGoldReader, and vtkEnSight6Reader.

virtual int vtkEnSightReader::ReadVectorsPerElement ( const char *  fileName,
const char *  description,
int  timeStep,
vtkMultiBlockDataSet output 
)
protectedpure virtual

Read vectors per element for this dataset. If an error occurred, 0 is returned; otherwise 1.

Implemented in vtkEnSightGoldBinaryReader, vtkEnSight6BinaryReader, vtkEnSightGoldReader, and vtkEnSight6Reader.

virtual int vtkEnSightReader::ReadTensorsPerElement ( const char *  fileName,
const char *  description,
int  timeStep,
vtkMultiBlockDataSet output 
)
protectedpure virtual

Read tensors per element for this dataset. If an error occurred, 0 is returned; otherwise 1.

Implemented in vtkEnSightGoldBinaryReader, vtkEnSight6BinaryReader, vtkEnSightGoldReader, and vtkEnSight6Reader.

virtual int vtkEnSightReader::CreateUnstructuredGridOutput ( int  partId,
char  line[80],
const char *  name,
vtkMultiBlockDataSet output 
)
protectedpure virtual

Read an unstructured part (partId) from the geometry file and create a vtkUnstructuredGrid output. Return 0 if EOF reached.

Implemented in vtkEnSightGoldBinaryReader.

virtual int vtkEnSightReader::CreateStructuredGridOutput ( int  partId,
char  line[80],
const char *  name,
vtkMultiBlockDataSet output 
)
protectedpure virtual

Read a structured part from the geometry file and create a vtkStructuredGridOutput. Return 0 if EOF reached.

void vtkEnSightReader::AddVariableFileName ( const char *  fileName1,
const char *  fileName2 = NULL 
)
protected

Add another file name to the list for a particular variable type.

void vtkEnSightReader::AddVariableDescription ( const char *  description)
protected

Add another description to the list for a particular variable type.

void vtkEnSightReader::AddVariableType ( )
protected

Record the variable type for the variable line just read.

int vtkEnSightReader::GetElementType ( const char *  line)
protected

Determine the element type from a line read a file. Return -1 for invalid element type.

int vtkEnSightReader::GetSectionType ( const char *  line)
protected

Determine the section type from a line read a file. Return -1 for invalid section type.

void vtkEnSightReader::ReplaceWildcards ( char *  filename,
int  num 
)
protected

Replace the *'s in the filename with the given filename number.

void vtkEnSightReader::RemoveLeadingBlanks ( char *  line)
protected

Remove leading blank spaces from a string.

vtkIdList* vtkEnSightReader::GetCellIds ( int  index,
int  cellType 
)
protected
void vtkEnSightReader::AddToBlock ( vtkMultiBlockDataSet output,
unsigned int  blockNo,
vtkDataSet dataset 
)
protected

Convenience method use to convert the readers from VTK 5 multiblock API to the current composite data infrastructure.

vtkDataSet* vtkEnSightReader::GetDataSetFromBlock ( vtkMultiBlockDataSet output,
unsigned int  blockNo 
)
protected

Convenience method use to convert the readers from VTK 5 multiblock API to the current composite data infrastructure.

void vtkEnSightReader::SetBlockName ( vtkMultiBlockDataSet output,
unsigned int  blockNo,
const char *  name 
)
protected

Set the name of a block.

virtual void vtkEnSightReader::SetUseTimeSets ( int  )
protectedvirtual
virtual int vtkEnSightReader::GetUseTimeSets ( )
protectedvirtual
virtual void vtkEnSightReader::UseTimeSetsOn ( )
protectedvirtual
virtual void vtkEnSightReader::UseTimeSetsOff ( )
protectedvirtual
virtual void vtkEnSightReader::SetUseFileSets ( int  )
protectedvirtual
virtual int vtkEnSightReader::GetUseFileSets ( )
protectedvirtual
virtual void vtkEnSightReader::UseFileSetsOn ( )
protectedvirtual
virtual void vtkEnSightReader::UseFileSetsOff ( )
protectedvirtual
int vtkEnSightReader::CheckOutputConsistency ( )
protected

Member Data Documentation

int vtkEnSightReader::CaseFileRead
protected

Definition at line 145 of file vtkEnSightReader.h.

char* vtkEnSightReader::MeasuredFileName
protected

Definition at line 277 of file vtkEnSightReader.h.

char* vtkEnSightReader::MatchFileName
protected

Definition at line 278 of file vtkEnSightReader.h.

vtkEnSightReaderCellIdsType* vtkEnSightReader::CellIds
protected

Definition at line 281 of file vtkEnSightReader.h.

vtkIdList* vtkEnSightReader::UnstructuredPartIds
protected

Definition at line 284 of file vtkEnSightReader.h.

int vtkEnSightReader::VariableMode
protected

Definition at line 286 of file vtkEnSightReader.h.

char** vtkEnSightReader::VariableFileNames
protected

Definition at line 289 of file vtkEnSightReader.h.

char** vtkEnSightReader::ComplexVariableFileNames
protected

Definition at line 290 of file vtkEnSightReader.h.

vtkIdList* vtkEnSightReader::VariableTimeSetIds
protected

Definition at line 293 of file vtkEnSightReader.h.

vtkIdList* vtkEnSightReader::ComplexVariableTimeSetIds
protected

Definition at line 294 of file vtkEnSightReader.h.

vtkIdList* vtkEnSightReader::VariableFileSetIds
protected

Definition at line 297 of file vtkEnSightReader.h.

vtkIdList* vtkEnSightReader::ComplexVariableFileSetIds
protected

Definition at line 298 of file vtkEnSightReader.h.

vtkIdListCollection* vtkEnSightReader::TimeSetFileNameNumbers
protected

Definition at line 301 of file vtkEnSightReader.h.

vtkIdList* vtkEnSightReader::TimeSetsWithFilenameNumbers
protected

Definition at line 302 of file vtkEnSightReader.h.

vtkIdListCollection* vtkEnSightReader::FileSetFileNameNumbers
protected

Definition at line 305 of file vtkEnSightReader.h.

vtkIdList* vtkEnSightReader::FileSetsWithFilenameNumbers
protected

Definition at line 306 of file vtkEnSightReader.h.

vtkIdListCollection* vtkEnSightReader::FileSetNumberOfSteps
protected

Definition at line 309 of file vtkEnSightReader.h.

vtkIdList* vtkEnSightReader::TimeSetIds
protected

Definition at line 312 of file vtkEnSightReader.h.

vtkIdList* vtkEnSightReader::FileSets
protected

Definition at line 313 of file vtkEnSightReader.h.

int vtkEnSightReader::GeometryTimeSet
protected

Definition at line 315 of file vtkEnSightReader.h.

int vtkEnSightReader::GeometryFileSet
protected

Definition at line 316 of file vtkEnSightReader.h.

int vtkEnSightReader::MeasuredTimeSet
protected

Definition at line 317 of file vtkEnSightReader.h.

int vtkEnSightReader::MeasuredFileSet
protected

Definition at line 318 of file vtkEnSightReader.h.

float vtkEnSightReader::GeometryTimeValue
protected

Definition at line 320 of file vtkEnSightReader.h.

float vtkEnSightReader::MeasuredTimeValue
protected

Definition at line 321 of file vtkEnSightReader.h.

int vtkEnSightReader::UseTimeSets
protected

Definition at line 323 of file vtkEnSightReader.h.

int vtkEnSightReader::UseFileSets
protected

Definition at line 326 of file vtkEnSightReader.h.

int vtkEnSightReader::NumberOfGeometryParts
protected

Definition at line 331 of file vtkEnSightReader.h.

int vtkEnSightReader::NumberOfMeasuredPoints
protected

Definition at line 336 of file vtkEnSightReader.h.

int vtkEnSightReader::NumberOfNewOutputs
protected

Definition at line 338 of file vtkEnSightReader.h.

int vtkEnSightReader::InitialRead
protected

Definition at line 339 of file vtkEnSightReader.h.

int vtkEnSightReader::ParticleCoordinatesByIndex
protected

Definition at line 343 of file vtkEnSightReader.h.

double vtkEnSightReader::ActualTimeValue
protected

Definition at line 345 of file vtkEnSightReader.h.


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