25 #ifndef __vtkGenericEnSightReader_h
26 #define __vtkGenericEnSightReader_h
37 class TranslationTableType;
63 void SetCaseFileName(
const char* fileName);
86 int GetNumberOfVariables(
int type);
102 const char* GetDescription(
int n);
105 const char* GetComplexDescription(
int n);
115 const char* GetDescription(
int n,
int type);
119 int GetVariableType(
int n);
120 int GetComplexVariableType(
int n);
125 virtual void SetTimeValue(
float value);
144 int DetermineEnSightVersion(
int quiet=0);
162 int GetNumberOfPointArrays();
163 int GetNumberOfCellArrays();
169 const char* GetPointArrayName(
int index);
170 const char* GetCellArrayName(
int index);
176 int GetPointArrayStatus(
const char*
name);
177 int GetCellArrayStatus(
const char*
name);
178 void SetPointArrayStatus(
const char*
name,
int status);
179 void SetCellArrayStatus(
const char*
name,
int status);
186 ENSIGHT_6_BINARY = 1,
188 ENSIGHT_GOLD_BINARY = 3,
189 ENSIGHT_MASTER_SERVER = 4
197 void SetByteOrderToBigEndian();
198 void SetByteOrderToLittleEndian();
201 const char *GetByteOrderAsString();
208 FILE_LITTLE_ENDIAN=1,
209 FILE_UNKNOWN_ENDIAN=2
235 static int CanReadFile(
const char *casefilename);
255 int ReadLine(
char result[256]);
259 int ReadBinaryLine(
char result[80]);
264 int ReadNextDataLine(
char result[256]);
273 void AddVariableDescription(
const char*
description);
274 void AddComplexVariableDescription(
const char*
description);
279 void AddVariableType(
int variableType);
280 void AddComplexVariableType(
int variableType);
286 int ReplaceWildcards(
char* fileName,
int timeSet,
int fileSet);
287 void ReplaceWildcardsHelper(
char* fileName,
int num);
291 static void SelectionModifiedCallback(
vtkObject* caller,
unsigned long eid,
292 void* clientdata,
void* calldata);
293 void SelectionModified();
296 char** CreateStringArray(
int numStrings);
297 void DestroyStringArray(
int numStrings,
char**
strings);
301 void SetDataArraySelectionSetsFromVariables();
305 void SetDataArraySelectionSetsFromReader();
309 void SetReaderDataArraySelectionSetsFromSelf();
377 int InsertNewPartId(
int partId);
vtkDataArrayCollection * TimeSets
int NumberOfComplexVectorsPerNode
GLuint GLuint GLsizei GLenum type
vtkCallbackCommand * SelectionObserver
abstract base class for most VTK objects
int NumberOfVectorsPerMeasuredNode
#define vtkGetMacro(name, type)
int NumberOfTensorsSymmPerNode
int NumberOfScalarsPerMeasuredNode
int NumberOfComplexScalarsPerElement
GLsizei const GLfloat * value
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
int NumberOfScalarsPerElement
#define vtkSetStringMacro(name)
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
#define vtkTypeMacro(thisClass, superclass)
int NumberOfTensorsSymmPerElement
static vtkMultiBlockDataSetAlgorithm * New()
vtkDataArraySelection * PointDataArraySelection
virtual int FillOutputPortInformation(int port, vtkInformation *info)
GLsizei const GLchar ** strings
supports function callbacks
GLuint const GLchar * name
int NumberOfComplexVariables
int NumberOfComplexScalarsPerNode
a simple class to control print indentation
Store on/off settings for data arrays for a vtkSource.
int * ComplexVariableTypes
char ** ComplexVariableDescriptions
int NumberOfScalarsPerNode
#define vtkGetStringMacro(name)
#define vtkGetObjectMacro(name, type)
int NumberOfVectorsPerElement
TranslationTableType * TranslationTable
vtkGenericEnSightReader * Reader
maintain an unordered list of dataarray objects
char ** VariableDescriptions
maintain an unordered list of dataarray objects
void PrintSelf(ostream &os, vtkIndent indent)
#define vtkBooleanMacro(name, type)
int SelectionModifiedDoNotCallModified
vtkDataArraySelection * CellDataArraySelection
#define VTKIOENSIGHT_EXPORT
class to read any type of EnSight files
int NumberOfVectorsPerNode
int NumberOfComplexVectorsPerElement
int ParticleCoordinatesByIndex
vtkGenericEnSightReader * GetReader()
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
#define vtkSetMacro(name, type)