#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 53 of file vtkGenericEnSightReader.h.
Reimplemented from vtkMultiBlockDataSetAlgorithm.
Reimplemented in vtkEnSight6BinaryReader, vtkEnSight6Reader, vtkEnSightGoldBinaryReader, vtkEnSightGoldReader, vtkEnSightMasterServerReader, and vtkEnSightReader.
Definition at line 57 of file vtkGenericEnSightReader.h.
Definition at line 182 of file vtkGenericEnSightReader.h.
anonymous enum |
Definition at line 204 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 vtkTypeMacro 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 vtkTypeMacro 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::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.
Reimplemented in vtkEnSightMasterServerReader.
vtkGenericEnSightReader* vtkGenericEnSightReader::GetReader | ( | ) | [inline] |
Definition at line 237 of file vtkGenericEnSightReader.h.
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.
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 | |||
) | [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 310 of file vtkGenericEnSightReader.h.
FILE* vtkGenericEnSightReader::IFile [protected] |
Reimplemented in vtkEnSight6BinaryReader, and vtkEnSightGoldBinaryReader.
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] |
int vtkGenericEnSightReader::EnSightVersion [protected] |
Definition at line 360 of file vtkGenericEnSightReader.h.
Definition at line 364 of file vtkGenericEnSightReader.h.
Definition at line 365 of file vtkGenericEnSightReader.h.
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.