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

class to read any type of EnSight files More...

#include <vtkGenericEnSightReader.h>

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

Public Types

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
 
- Public Types inherited from vtkObject
typedef vtkObjectBase Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
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 ()
 
virtual void SetParticleCoordinatesByIndex (int)
 
virtual int GetParticleCoordinatesByIndex ()
 
virtual void ParticleCoordinatesByIndexOn ()
 
virtual void ParticleCoordinatesByIndexOff ()
 
- Public Member Functions inherited from vtkMultiBlockDataSetAlgorithm
vtkMultiBlockDataSetGetOutput ()
 
vtkMultiBlockDataSetGetOutput (int)
 
void SetInput (vtkDataObject *)
 
void SetInput (int, vtkDataObject *)
 
virtual int ProcessRequest (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
 
- Public Member Functions inherited from vtkAlgorithm
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)
 
int GetNumberOfInputConnections (int port)
 
int GetTotalNumberOfInputConnections ()
 
vtkAlgorithmOutputGetInputConnection (int port, int index)
 
virtual void Update ()
 
virtual void UpdateInformation ()
 
virtual void UpdateWholeExtent ()
 
void ConvertTotalInputToPortConnection (int ind, int &port, int &conn)
 
virtual double ComputePriority ()
 
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)
 
vtkAlgorithmOutputGetOutputPort (int index)
 
vtkAlgorithmOutputGetOutputPort ()
 
virtual void SetReleaseDataFlag (int)
 
virtual int GetReleaseDataFlag ()
 
void ReleaseDataFlagOn ()
 
void ReleaseDataFlagOff ()
 
int UpdateExtentIsEmpty (vtkDataObject *output)
 
int UpdateExtentIsEmpty (vtkInformation *pinfo, int extentType)
 
- Public Member Functions inherited from vtkObject
virtual void DebugOn ()
 
virtual void DebugOff ()
 
unsigned char GetDebug ()
 
void SetDebug (unsigned char 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)
 
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 &os)
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
int GetReferenceCount ()
 

Static Public Member Functions

static vtkGenericEnSightReaderNew ()
 
static int IsTypeOf (const char *type)
 
static vtkGenericEnSightReaderSafeDownCast (vtkObject *o)
 
static int CanReadFile (const char *casefilename)
 
- Static Public Member Functions inherited from vtkMultiBlockDataSetAlgorithm
static
vtkMultiBlockDataSetAlgorithm
New ()
 
static int IsTypeOf (const char *type)
 
static
vtkMultiBlockDataSetAlgorithm
SafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkAlgorithm
static vtkAlgorithmNew ()
 
static int IsTypeOf (const char *type)
 
static vtkAlgorithmSafeDownCast (vtkObject *o)
 
static void SetDefaultExecutivePrototype (vtkExecutive *proto)
 
static vtkInformationIntegerKeyINPUT_IS_OPTIONAL ()
 
static vtkInformationIntegerKeyINPUT_IS_REPEATABLE ()
 
static
vtkInformationInformationVectorKey
INPUT_REQUIRED_FIELDS ()
 
static
vtkInformationStringVectorKey
INPUT_REQUIRED_DATA_TYPE ()
 
static
vtkInformationInformationVectorKey
INPUT_ARRAYS_TO_PROCESS ()
 
static vtkInformationIntegerKeyINPUT_PORT ()
 
static vtkInformationIntegerKeyINPUT_CONNECTION ()
 
static vtkInformationIntegerKeyPRESERVES_DATASET ()
 
static vtkInformationIntegerKeyPRESERVES_GEOMETRY ()
 
static vtkInformationIntegerKeyPRESERVES_BOUNDS ()
 
static vtkInformationIntegerKeyPRESERVES_TOPOLOGY ()
 
static vtkInformationIntegerKeyPRESERVES_ATTRIBUTES ()
 
static vtkInformationIntegerKeyPRESERVES_RANGES ()
 
- Static Public Member Functions inherited from vtkObject
static int IsTypeOf (const char *type)
 
static vtkObjectSafeDownCast (vtkObject *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

 vtkGenericEnSightReader ()
 
 ~vtkGenericEnSightReader ()
 
virtual int FillOutputPortInformation (int port, vtkInformation *info)
 
virtual int RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
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)
 
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 &os)
 
 vtkObjectBase (const vtkObjectBase &)
 
void operator= (const vtkObjectBase &)
 

Static Protected Member Functions

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

Protected Attributes

istream * IS
 
FILE * IFile
 
vtkGenericEnSightReaderReader
 
char * CaseFileName
 
char * GeometryFileName
 
char * FilePath
 
int * VariableTypes
 
int * ComplexVariableTypes
 
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
 

Additional Inherited Members

- Public Attributes inherited from vtkAlgorithm
int AbortExecute
 
- Static Protected Attributes inherited from vtkAlgorithm
static vtkExecutiveDefaultExecutivePrototype
 
- Friends inherited from vtkObject

Detailed Description

class to read any type of EnSight files

The class vtkGenericEnSightReader allows the user to read an EnSight data set without a priori knowledge of what type of EnSight data set it is.

Tests:
vtkGenericEnSightReader (Tests)

Definition at line 53 of file vtkGenericEnSightReader.h.

Member Typedef Documentation

Definition at line 57 of file vtkGenericEnSightReader.h.

Member Enumeration Documentation

Enumerator
ENSIGHT_6 
ENSIGHT_6_BINARY 
ENSIGHT_GOLD 
ENSIGHT_GOLD_BINARY 
ENSIGHT_MASTER_SERVER 

Definition at line 182 of file vtkGenericEnSightReader.h.

anonymous enum
Enumerator
FILE_BIG_ENDIAN 
FILE_LITTLE_ENDIAN 
FILE_UNKNOWN_ENDIAN 

Definition at line 204 of file vtkGenericEnSightReader.h.

Constructor & Destructor Documentation

vtkGenericEnSightReader::vtkGenericEnSightReader ( )
protected
vtkGenericEnSightReader::~vtkGenericEnSightReader ( )
protected

Member Function Documentation

static vtkGenericEnSightReader* vtkGenericEnSightReader::New ( )
static
virtual const char* vtkGenericEnSightReader::GetClassName ( )
virtual
static int vtkGenericEnSightReader::IsTypeOf ( const char *  type)
static
virtual int vtkGenericEnSightReader::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 vtkEnSightGoldBinaryReader, vtkEnSightGoldReader, vtkEnSight6BinaryReader, vtkEnSight6Reader, vtkEnSightReader, and vtkEnSightMasterServerReader.

static vtkGenericEnSightReader* vtkGenericEnSightReader::SafeDownCast ( vtkObject o)
static
void vtkGenericEnSightReader::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 vtkGenericEnSightReader::SetCaseFileName ( const char *  fileName)

Set/Get the Case file name.

virtual char* vtkGenericEnSightReader::GetCaseFileName ( )
virtual

Set/Get the Case file name.

virtual void vtkGenericEnSightReader::SetFilePath ( const char *  )
virtual

Set/Get the file path.

virtual char* vtkGenericEnSightReader::GetFilePath ( )
virtual

Set/Get the file path.

virtual int vtkGenericEnSightReader::GetEnSightVersion ( )
virtual

Get the EnSight file version being read.

virtual int vtkGenericEnSightReader::GetNumberOfVariables ( )
virtual

Get the number of variables listed in the case file.

virtual int vtkGenericEnSightReader::GetNumberOfComplexVariables ( )
virtual

Get the number of variables listed in the case file.

int vtkGenericEnSightReader::GetNumberOfVariables ( int  type)

Get the number of variables of a particular type.

virtual int vtkGenericEnSightReader::GetNumberOfScalarsPerNode ( )
virtual

Get the number of variables of a particular type.

virtual int vtkGenericEnSightReader::GetNumberOfVectorsPerNode ( )
virtual

Get the number of variables of a particular type.

virtual int vtkGenericEnSightReader::GetNumberOfTensorsSymmPerNode ( )
virtual

Get the number of variables of a particular type.

virtual int vtkGenericEnSightReader::GetNumberOfScalarsPerElement ( )
virtual

Get the number of variables of a particular type.

virtual int vtkGenericEnSightReader::GetNumberOfVectorsPerElement ( )
virtual

Get the number of variables of a particular type.

virtual int vtkGenericEnSightReader::GetNumberOfTensorsSymmPerElement ( )
virtual

Get the number of variables of a particular type.

virtual int vtkGenericEnSightReader::GetNumberOfScalarsPerMeasuredNode ( )
virtual

Get the number of variables of a particular type.

virtual int vtkGenericEnSightReader::GetNumberOfVectorsPerMeasuredNode ( )
virtual

Get the number of variables of a particular type.

virtual int vtkGenericEnSightReader::GetNumberOfComplexScalarsPerNode ( )
virtual

Get the number of variables of a particular type.

virtual int vtkGenericEnSightReader::GetNumberOfComplexVectorsPerNode ( )
virtual

Get the number of variables of a particular type.

virtual int vtkGenericEnSightReader::GetNumberOfComplexScalarsPerElement ( )
virtual

Get the number of variables of a particular type.

virtual int vtkGenericEnSightReader::GetNumberOfComplexVectorsPerElement ( )
virtual

Get the number of variables of a particular type.

const char* vtkGenericEnSightReader::GetDescription ( int  n)

Get the nth description for a non-complex variable.

const char* vtkGenericEnSightReader::GetComplexDescription ( int  n)

Get the nth description for a complex variable.

const char* vtkGenericEnSightReader::GetDescription ( int  n,
int  type 
)

Get the nth description of a particular variable type. Returns NULL if no variable of this type exists in this data set. 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

int vtkGenericEnSightReader::GetVariableType ( int  n)

Get the variable type of variable n.

int vtkGenericEnSightReader::GetComplexVariableType ( int  n)

Get the variable type of variable n.

virtual void vtkGenericEnSightReader::SetTimeValue ( float  value)
virtual

Set/Get the time value at which to get the value.

virtual float vtkGenericEnSightReader::GetTimeValue ( )
virtual

Set/Get the time value at which to get the value.

virtual float vtkGenericEnSightReader::GetMinimumTimeValue ( )
virtual

Get the minimum or maximum time value for this data set.

virtual float vtkGenericEnSightReader::GetMaximumTimeValue ( )
virtual

Get the minimum or maximum time value for this data set.

virtual vtkDataArrayCollection* vtkGenericEnSightReader::GetTimeSets ( )
virtual

Get the time values per time set

int vtkGenericEnSightReader::DetermineEnSightVersion ( int  quiet = 0)

Reads the FORMAT part of the case file to determine whether this is an EnSight6 or EnSightGold data set. Returns an identifier listed in the FileTypes enum or -1 if an error occurred or the file could not be indentified as any EnSight type.

virtual void vtkGenericEnSightReader::ReadAllVariablesOn ( )
virtual

Set/get the flag for whether to read all the variables

virtual void vtkGenericEnSightReader::ReadAllVariablesOff ( )
virtual

Set/get the flag for whether to read all the variables

virtual void vtkGenericEnSightReader::SetReadAllVariables ( int  )
virtual

Set/get the flag for whether to read all the variables

virtual int vtkGenericEnSightReader::GetReadAllVariables ( )
virtual

Set/get the flag for whether to read all the variables

virtual vtkDataArraySelection* vtkGenericEnSightReader::GetPointDataArraySelection ( )
virtual

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

virtual vtkDataArraySelection* vtkGenericEnSightReader::GetCellDataArraySelection ( )
virtual

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

int vtkGenericEnSightReader::GetNumberOfPointArrays ( )

Get the number of point or cell arrays available in the input.

int vtkGenericEnSightReader::GetNumberOfCellArrays ( )

Get the number of point or cell arrays available in the input.

const char* vtkGenericEnSightReader::GetPointArrayName ( int  index)

Get the name of the point or cell array with the given index in the input.

const char* vtkGenericEnSightReader::GetCellArrayName ( int  index)

Get the name of the point or cell array with the given index in the input.

int vtkGenericEnSightReader::GetPointArrayStatus ( const char *  name)

Get/Set whether the point or cell array with the given name is to be read.

int vtkGenericEnSightReader::GetCellArrayStatus ( const char *  name)

Get/Set whether the point or cell array with the given name is to be read.

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

Get/Set whether the point or cell array with the given name is to be read.

void vtkGenericEnSightReader::SetCellArrayStatus ( const char *  name,
int  status 
)

Get/Set whether the point or cell array with the given name is to be read.

void vtkGenericEnSightReader::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 vtkGenericEnSightReader::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 vtkGenericEnSightReader::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 vtkGenericEnSightReader::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* vtkGenericEnSightReader::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 char* vtkGenericEnSightReader::GetGeometryFileName ( )
virtual

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

Reimplemented in vtkEnSightGoldReader.

virtual void vtkGenericEnSightReader::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 in vtkEnSightReader.

virtual int vtkGenericEnSightReader::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 in vtkEnSightReader.

virtual void vtkGenericEnSightReader::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 in vtkEnSightReader.

virtual void vtkGenericEnSightReader::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 in vtkEnSightReader.

static int vtkGenericEnSightReader::CanReadFile ( const char *  casefilename)
static

Returns true if the file pointed to by casefilename appears to be a valid EnSight case file.

vtkGenericEnSightReader* vtkGenericEnSightReader::GetReader ( )
inline

Definition at line 237 of file vtkGenericEnSightReader.h.

virtual int vtkGenericEnSightReader::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 vtkGenericEnSightReader::RequestInformation ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
)
protectedvirtual

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

Reimplemented from vtkMultiBlockDataSetAlgorithm.

Reimplemented in vtkEnSightReader, and vtkEnSightMasterServerReader.

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

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

Reimplemented from vtkMultiBlockDataSetAlgorithm.

Reimplemented in vtkEnSightReader, and vtkEnSightMasterServerReader.

int vtkGenericEnSightReader::ReadLine ( char  result[256])
protected

Internal function to read in a line up to 256 characters. Returns zero if there was an error.

int vtkGenericEnSightReader::ReadBinaryLine ( char  result[80])
protected

Internal function to read up to 80 characters from a binary file. Returns zero if there was an error.

int vtkGenericEnSightReader::ReadNextDataLine ( char  result[256])
protected
virtual void vtkGenericEnSightReader::SetGeometryFileName ( const char *  )
protectedvirtual

Set the geometry file name.

Reimplemented in vtkEnSightGoldReader.

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

Add a variable description to the appropriate array.

void vtkGenericEnSightReader::AddComplexVariableDescription ( const char *  description)
protected

Add a variable description to the appropriate array.

void vtkGenericEnSightReader::AddVariableType ( int  variableType)
protected

Add a variable type to the appropriate array.

void vtkGenericEnSightReader::AddComplexVariableType ( int  variableType)
protected

Add a variable type to the appropriate array.

int vtkGenericEnSightReader::ReplaceWildcards ( char *  fileName,
int  timeSet,
int  fileSet 
)
protected

Replace the wildcards in the geometry file name with appropriate filename numbers as specified in the time set or file set.

void vtkGenericEnSightReader::ReplaceWildcardsHelper ( char *  fileName,
int  num 
)
protected

Replace the wildcards in the geometry file name with appropriate filename numbers as specified in the time set or file set.

static void vtkGenericEnSightReader::SelectionModifiedCallback ( vtkObject caller,
unsigned long  eid,
void *  clientdata,
void *  calldata 
)
staticprotected
void vtkGenericEnSightReader::SelectionModified ( )
protected
char** vtkGenericEnSightReader::CreateStringArray ( int  numStrings)
protected
void vtkGenericEnSightReader::DestroyStringArray ( int  numStrings,
char **  strings 
)
protected
void vtkGenericEnSightReader::SetDataArraySelectionSetsFromVariables ( )
protected
void vtkGenericEnSightReader::SetDataArraySelectionSetsFromReader ( )
protected
void vtkGenericEnSightReader::SetReaderDataArraySelectionSetsFromSelf ( )
protected
virtual void vtkGenericEnSightReader::SetTimeSets ( vtkDataArrayCollection )
protectedvirtual
int vtkGenericEnSightReader::InsertNewPartId ( int  partId)
protected

Member Data Documentation

istream* vtkGenericEnSightReader::IS
protected

Definition at line 310 of file vtkGenericEnSightReader.h.

FILE* vtkGenericEnSightReader::IFile
protected

Definition at line 311 of file vtkGenericEnSightReader.h.

vtkGenericEnSightReader* vtkGenericEnSightReader::Reader
protected

Definition at line 312 of file vtkGenericEnSightReader.h.

char* vtkGenericEnSightReader::CaseFileName
protected

Definition at line 314 of file vtkGenericEnSightReader.h.

char* vtkGenericEnSightReader::GeometryFileName
protected

Definition at line 315 of file vtkGenericEnSightReader.h.

char* vtkGenericEnSightReader::FilePath
protected

Definition at line 316 of file vtkGenericEnSightReader.h.

int* vtkGenericEnSightReader::VariableTypes
protected

Definition at line 319 of file vtkGenericEnSightReader.h.

int* vtkGenericEnSightReader::ComplexVariableTypes
protected

Definition at line 320 of file vtkGenericEnSightReader.h.

char** vtkGenericEnSightReader::VariableDescriptions
protected

Definition at line 323 of file vtkGenericEnSightReader.h.

char** vtkGenericEnSightReader::ComplexVariableDescriptions
protected

Definition at line 324 of file vtkGenericEnSightReader.h.

int vtkGenericEnSightReader::NumberOfVariables
protected

Definition at line 326 of file vtkGenericEnSightReader.h.

int vtkGenericEnSightReader::NumberOfComplexVariables
protected

Definition at line 327 of file vtkGenericEnSightReader.h.

int vtkGenericEnSightReader::NumberOfScalarsPerNode
protected

Definition at line 330 of file vtkGenericEnSightReader.h.

int vtkGenericEnSightReader::NumberOfVectorsPerNode
protected

Definition at line 331 of file vtkGenericEnSightReader.h.

int vtkGenericEnSightReader::NumberOfTensorsSymmPerNode
protected

Definition at line 332 of file vtkGenericEnSightReader.h.

int vtkGenericEnSightReader::NumberOfScalarsPerElement
protected

Definition at line 333 of file vtkGenericEnSightReader.h.

int vtkGenericEnSightReader::NumberOfVectorsPerElement
protected

Definition at line 334 of file vtkGenericEnSightReader.h.

int vtkGenericEnSightReader::NumberOfTensorsSymmPerElement
protected

Definition at line 335 of file vtkGenericEnSightReader.h.

int vtkGenericEnSightReader::NumberOfScalarsPerMeasuredNode
protected

Definition at line 336 of file vtkGenericEnSightReader.h.

int vtkGenericEnSightReader::NumberOfVectorsPerMeasuredNode
protected

Definition at line 337 of file vtkGenericEnSightReader.h.

int vtkGenericEnSightReader::NumberOfComplexScalarsPerNode
protected

Definition at line 338 of file vtkGenericEnSightReader.h.

int vtkGenericEnSightReader::NumberOfComplexVectorsPerNode
protected

Definition at line 339 of file vtkGenericEnSightReader.h.

int vtkGenericEnSightReader::NumberOfComplexScalarsPerElement
protected

Definition at line 340 of file vtkGenericEnSightReader.h.

int vtkGenericEnSightReader::NumberOfComplexVectorsPerElement
protected

Definition at line 341 of file vtkGenericEnSightReader.h.

float vtkGenericEnSightReader::TimeValue
protected

Definition at line 343 of file vtkGenericEnSightReader.h.

float vtkGenericEnSightReader::MinimumTimeValue
protected

Definition at line 344 of file vtkGenericEnSightReader.h.

float vtkGenericEnSightReader::MaximumTimeValue
protected

Definition at line 345 of file vtkGenericEnSightReader.h.

int vtkGenericEnSightReader::TimeValueInitialized
protected

Definition at line 348 of file vtkGenericEnSightReader.h.

vtkDataArrayCollection* vtkGenericEnSightReader::TimeSets
protected

Definition at line 350 of file vtkGenericEnSightReader.h.

int vtkGenericEnSightReader::ReadAllVariables
protected

Definition at line 353 of file vtkGenericEnSightReader.h.

int vtkGenericEnSightReader::ByteOrder
protected

Definition at line 355 of file vtkGenericEnSightReader.h.

int vtkGenericEnSightReader::ParticleCoordinatesByIndex
protected

Definition at line 356 of file vtkGenericEnSightReader.h.

int vtkGenericEnSightReader::EnSightVersion
protected

Definition at line 360 of file vtkGenericEnSightReader.h.

vtkDataArraySelection* vtkGenericEnSightReader::PointDataArraySelection
protected

Definition at line 364 of file vtkGenericEnSightReader.h.

vtkDataArraySelection* vtkGenericEnSightReader::CellDataArraySelection
protected

Definition at line 365 of file vtkGenericEnSightReader.h.

vtkCallbackCommand* vtkGenericEnSightReader::SelectionObserver
protected

Definition at line 369 of file vtkGenericEnSightReader.h.

int vtkGenericEnSightReader::SelectionModifiedDoNotCallModified
protected

Definition at line 373 of file vtkGenericEnSightReader.h.

TranslationTableType* vtkGenericEnSightReader::TranslationTable
protected

Definition at line 379 of file vtkGenericEnSightReader.h.


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