#include <vtkGenericEnSightReader.h>
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.
Definition at line 38 of file vtkGenericEnSightReader.h.
Reimplemented from vtkMultiBlockDataSetAlgorithm.
Reimplemented in vtkEnSight6BinaryReader, vtkEnSight6Reader, vtkEnSightGoldBinaryReader, vtkEnSightGoldReader, vtkEnSightMasterServerReader, and vtkEnSightReader.
Definition at line 42 of file vtkGenericEnSightReader.h.
Definition at line 162 of file vtkGenericEnSightReader.h.
anonymous enum |
Definition at line 184 of file vtkGenericEnSightReader.h.
vtkGenericEnSightReader::vtkGenericEnSightReader | ( | ) | [protected] |
vtkGenericEnSightReader::~vtkGenericEnSightReader | ( | ) | [protected] |
static vtkGenericEnSightReader* vtkGenericEnSightReader::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkMultiBlockDataSetAlgorithm.
Reimplemented in vtkEnSight6BinaryReader, vtkEnSight6Reader, vtkEnSightGoldBinaryReader, vtkEnSightGoldReader, and vtkEnSightMasterServerReader.
virtual const char* vtkGenericEnSightReader::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkMultiBlockDataSetAlgorithm.
Reimplemented in vtkEnSight6BinaryReader, vtkEnSight6Reader, vtkEnSightGoldBinaryReader, vtkEnSightGoldReader, vtkEnSightMasterServerReader, and vtkEnSightReader.
static int vtkGenericEnSightReader::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkMultiBlockDataSetAlgorithm.
Reimplemented in vtkEnSight6BinaryReader, vtkEnSight6Reader, vtkEnSightGoldBinaryReader, vtkEnSightGoldReader, vtkEnSightMasterServerReader, and vtkEnSightReader.
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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkMultiBlockDataSetAlgorithm.
Reimplemented in vtkEnSight6BinaryReader, vtkEnSight6Reader, vtkEnSightGoldBinaryReader, vtkEnSightGoldReader, vtkEnSightMasterServerReader, and vtkEnSightReader.
static vtkGenericEnSightReader* vtkGenericEnSightReader::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkMultiBlockDataSetAlgorithm.
Reimplemented in vtkEnSight6BinaryReader, vtkEnSight6Reader, vtkEnSightGoldBinaryReader, vtkEnSightGoldReader, vtkEnSightMasterServerReader, and vtkEnSightReader.
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.
Reimplemented in vtkEnSight6BinaryReader, vtkEnSight6Reader, vtkEnSightGoldBinaryReader, vtkEnSightGoldReader, vtkEnSightMasterServerReader, and vtkEnSightReader.
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::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 | ( | ) |
Reads the FORMAT part of the case file to determine whether this is an EnSight6 or EnSightGold data set. Returns 0 if the format is EnSight6, 1 if it is EnSightGold, and -1 otherwise (meaning an error occurred).
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.
virtual int vtkGenericEnSightReader::FillOutputPortInformation | ( | int | port, | |
vtkInformation * | info | |||
) | [protected, virtual] |
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 * | ||||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkMultiBlockDataSetAlgorithm.
Reimplemented in vtkEnSightMasterServerReader, and vtkEnSightReader.
virtual int vtkGenericEnSightReader::RequestData | ( | vtkInformation * | , | |
vtkInformationVector ** | , | |||
vtkInformationVector * | ||||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkMultiBlockDataSetAlgorithm.
Reimplemented in vtkEnSightMasterServerReader, and vtkEnSightReader.
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 * | ) | [protected, virtual] |
Set the geometry file name.
Reimplemented in vtkEnSightGoldReader.
void vtkGenericEnSightReader::AddVariableDescription | ( | const char * | description | ) | [protected] |
Add a variable description to the appropriate array.
Reimplemented in vtkEnSightReader.
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.
void 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 | |||
) | [static, protected] |
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 * | ) | [protected, virtual] |
int vtkGenericEnSightReader::InsertNewPartId | ( | int | partId | ) | [protected] |
istream* vtkGenericEnSightReader::IS [protected] |
Definition at line 282 of file vtkGenericEnSightReader.h.
FILE* vtkGenericEnSightReader::IFile [protected] |
Reimplemented in vtkEnSight6BinaryReader, and vtkEnSightGoldBinaryReader.
Definition at line 283 of file vtkGenericEnSightReader.h.
vtkGenericEnSightReader* vtkGenericEnSightReader::Reader [protected] |
Definition at line 284 of file vtkGenericEnSightReader.h.
char* vtkGenericEnSightReader::CaseFileName [protected] |
Definition at line 286 of file vtkGenericEnSightReader.h.
char* vtkGenericEnSightReader::GeometryFileName [protected] |
Definition at line 287 of file vtkGenericEnSightReader.h.
char* vtkGenericEnSightReader::FilePath [protected] |
Definition at line 288 of file vtkGenericEnSightReader.h.
int* vtkGenericEnSightReader::VariableTypes [protected] |
Definition at line 291 of file vtkGenericEnSightReader.h.
int* vtkGenericEnSightReader::ComplexVariableTypes [protected] |
Definition at line 292 of file vtkGenericEnSightReader.h.
char** vtkGenericEnSightReader::VariableDescriptions [protected] |
Definition at line 295 of file vtkGenericEnSightReader.h.
char** vtkGenericEnSightReader::ComplexVariableDescriptions [protected] |
Definition at line 296 of file vtkGenericEnSightReader.h.
int vtkGenericEnSightReader::NumberOfVariables [protected] |
Definition at line 298 of file vtkGenericEnSightReader.h.
int vtkGenericEnSightReader::NumberOfComplexVariables [protected] |
Definition at line 299 of file vtkGenericEnSightReader.h.
int vtkGenericEnSightReader::NumberOfScalarsPerNode [protected] |
Definition at line 302 of file vtkGenericEnSightReader.h.
int vtkGenericEnSightReader::NumberOfVectorsPerNode [protected] |
Definition at line 303 of file vtkGenericEnSightReader.h.
int vtkGenericEnSightReader::NumberOfTensorsSymmPerNode [protected] |
Definition at line 304 of file vtkGenericEnSightReader.h.
int vtkGenericEnSightReader::NumberOfScalarsPerElement [protected] |
Definition at line 305 of file vtkGenericEnSightReader.h.
int vtkGenericEnSightReader::NumberOfVectorsPerElement [protected] |
Definition at line 306 of file vtkGenericEnSightReader.h.
int vtkGenericEnSightReader::NumberOfTensorsSymmPerElement [protected] |
Definition at line 307 of file vtkGenericEnSightReader.h.
int vtkGenericEnSightReader::NumberOfScalarsPerMeasuredNode [protected] |
Definition at line 308 of file vtkGenericEnSightReader.h.
int vtkGenericEnSightReader::NumberOfVectorsPerMeasuredNode [protected] |
Definition at line 309 of file vtkGenericEnSightReader.h.
int vtkGenericEnSightReader::NumberOfComplexScalarsPerNode [protected] |
Definition at line 310 of file vtkGenericEnSightReader.h.
int vtkGenericEnSightReader::NumberOfComplexVectorsPerNode [protected] |
Definition at line 311 of file vtkGenericEnSightReader.h.
int vtkGenericEnSightReader::NumberOfComplexScalarsPerElement [protected] |
Definition at line 312 of file vtkGenericEnSightReader.h.
int vtkGenericEnSightReader::NumberOfComplexVectorsPerElement [protected] |
Definition at line 313 of file vtkGenericEnSightReader.h.
float vtkGenericEnSightReader::TimeValue [protected] |
Definition at line 315 of file vtkGenericEnSightReader.h.
float vtkGenericEnSightReader::MinimumTimeValue [protected] |
Definition at line 316 of file vtkGenericEnSightReader.h.
float vtkGenericEnSightReader::MaximumTimeValue [protected] |
Definition at line 317 of file vtkGenericEnSightReader.h.
int vtkGenericEnSightReader::TimeValueInitialized [protected] |
Definition at line 320 of file vtkGenericEnSightReader.h.
vtkDataArrayCollection* vtkGenericEnSightReader::TimeSets [protected] |
Definition at line 322 of file vtkGenericEnSightReader.h.
int vtkGenericEnSightReader::ReadAllVariables [protected] |
Definition at line 325 of file vtkGenericEnSightReader.h.
int vtkGenericEnSightReader::ByteOrder [protected] |
Definition at line 327 of file vtkGenericEnSightReader.h.
int vtkGenericEnSightReader::ParticleCoordinatesByIndex [protected] |
int vtkGenericEnSightReader::EnSightVersion [protected] |
Definition at line 332 of file vtkGenericEnSightReader.h.
Definition at line 336 of file vtkGenericEnSightReader.h.
Definition at line 337 of file vtkGenericEnSightReader.h.
Definition at line 341 of file vtkGenericEnSightReader.h.
int vtkGenericEnSightReader::SelectionModifiedDoNotCallModified [protected] |
Definition at line 345 of file vtkGenericEnSightReader.h.
TranslationTableType* vtkGenericEnSightReader::TranslationTable [protected] |
Definition at line 352 of file vtkGenericEnSightReader.h.