ParaView
|
Superclass for EnSight file parallel readers. More...
#include <vtkPEnSightReader.h>
Classes | |
class | vtkPEnSightReaderCellIds |
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 vtkPGenericEnSightReader | Superclass |
![]() | |
typedef vtkGenericEnSightReader | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual char * | GetMeasuredFileName () |
Get the Measured file name. More... | |
virtual char * | GetMatchFileName () |
Get the Match file name. More... | |
virtual void | SetParticleCoordinatesByIndex (int) |
The MeasuredGeometryFile should list particle coordinates from 0->N-1. More... | |
virtual int | GetParticleCoordinatesByIndex () |
The MeasuredGeometryFile should list particle coordinates from 0->N-1. More... | |
virtual void | ParticleCoordinatesByIndexOn () |
The MeasuredGeometryFile should list particle coordinates from 0->N-1. More... | |
virtual void | ParticleCoordinatesByIndexOff () |
The MeasuredGeometryFile should list particle coordinates from 0->N-1. More... | |
![]() | |
void | PrintSelf (ostream &os, vtkIndent indent) |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkPEnSightReader * | SafeDownCast (vtkObject *o) |
![]() | |
static vtkPGenericEnSightReader * | New () |
static int | IsTypeOf (const char *type) |
static vtkPGenericEnSightReader * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkPEnSightReader () | |
~vtkPEnSightReader () | |
virtual int | RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
virtual int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
virtual int | ReadGeometryFile (const char *fileName, int timeStep, vtkMultiBlockDataSet *output)=0 |
Read the geometry file. More... | |
virtual int | ReadMeasuredGeometryFile (const char *fileName, int timeStep, vtkMultiBlockDataSet *output)=0 |
Read the measured geometry file. More... | |
int | ReadVariableFiles (vtkMultiBlockDataSet *output) |
Read the variable files. More... | |
virtual int | ReadScalarsPerNode (const char *fileName, const char *description, int timeStep, vtkMultiBlockDataSet *output, int measured=0, int numberOfComponents=1, int component=0)=0 |
Read scalars per node for this dataset. More... | |
virtual int | ReadVectorsPerNode (const char *fileName, const char *description, int timeStep, vtkMultiBlockDataSet *output, int measured=0)=0 |
Read vectors per node for this dataset. More... | |
virtual int | ReadTensorsPerNode (const char *fileName, const char *description, int timeStep, vtkMultiBlockDataSet *output)=0 |
Read tensors per node for this dataset. More... | |
virtual int | ReadScalarsPerElement (const char *fileName, const char *description, int timeStep, vtkMultiBlockDataSet *output, int numberOfComponents=1, int component=0)=0 |
Read scalars per element for this dataset. More... | |
virtual int | ReadVectorsPerElement (const char *fileName, const char *description, int timeStep, vtkMultiBlockDataSet *output)=0 |
Read vectors per element for this dataset. More... | |
virtual int | ReadTensorsPerElement (const char *fileName, const char *description, int timeStep, vtkMultiBlockDataSet *output)=0 |
Read tensors per element for this dataset. More... | |
virtual int | CreateUnstructuredGridOutput (int partId, char line[80], const char *name, vtkMultiBlockDataSet *output)=0 |
Read an unstructured part (partId) from the geometry file and create a vtkUnstructuredGrid output. More... | |
virtual int | CreateStructuredGridOutput (int partId, char line[80], const char *name, vtkMultiBlockDataSet *output)=0 |
Read a structured part from the geometry file and create a vtkStructuredGridOutput. More... | |
void | AddVariableFileName (const char *fileName1, const char *fileName2=NULL) |
Add another file name to the list for a particular variable type. More... | |
void | AddVariableDescription (const char *description) |
Add another description to the list for a particular variable type. More... | |
void | AddVariableType () |
Record the variable type for the variable line just read. More... | |
int | GetElementType (const char *line) |
Determine the element type from a line read a file. More... | |
int | GetSectionType (const char *line) |
Determine the section type from a line read a file. More... | |
void | ReplaceWildcards (char *filename, int num) |
Replace the *'s in the filename with the given filename number. More... | |
void | RemoveLeadingBlanks (char *line) |
Remove leading blank spaces from a string. More... | |
vtkPEnSightReaderCellIds * | GetCellIds (int index, int cellType) |
Get the list for the given output index and cell type. More... | |
vtkPEnSightReaderCellIds * | GetPointIds (int index) |
Distributed Read Only. More... | |
void | AddToBlock (vtkMultiBlockDataSet *output, unsigned int blockNo, vtkDataSet *dataset) |
Convenience method use to convert the readers from VTK 5 multiblock API to the current composite data infrastructure. More... | |
vtkDataSet * | GetDataSetFromBlock (vtkMultiBlockDataSet *output, unsigned int blockNo) |
Convenience method use to convert the readers from VTK 5 multiblock API to the current composite data infrastructure. More... | |
void | SetBlockName (vtkMultiBlockDataSet *output, unsigned int blockNo, const char *name) |
Set the name of a block. More... | |
void | PrepareStructuredDimensionsForDistribution (int partId, int *oldDimensions, int *newDimensions, int *splitDimension, int *splitDimensionBeginIndex, int ghostLevel, vtkUnsignedCharArray *pointGhostArray, vtkUnsignedCharArray *cellGhostArray) |
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 *) |
Set the Measured file name. More... | |
virtual void | SetMatchFileName (const char *) |
Set the Match file name. More... | |
int | ReadCaseFile () |
Read the case file. More... | |
int | ReadCaseFileGeometry (char *line) |
Read the case file. More... | |
int | ReadCaseFileVariable (char *line) |
Read the case file. More... | |
int | ReadCaseFileTime (char *line) |
Read the case file. More... | |
int | ReadCaseFileFile (char *line) |
Read the case file. More... | |
vtkIdType | GetTotalNumberOfCellIds (int index) |
Distributed Read Only. More... | |
vtkIdType | GetLocalTotalNumberOfCellIds (int index) |
Distributed Read Only. More... | |
void | InsertNextCellAndId (vtkUnstructuredGrid *, int vtkCellType, vtkIdType numPoints, vtkIdType *points, int partId, int ensightCellType, vtkIdType globalId, vtkIdType numElements) |
Merge InsertNextCell & GetId->InsertNextId Take Distributed Read into account. More... | |
void | InsertVariableComponent (vtkFloatArray *array, int i, int component, float *content, int partId, int ensightCellType, int insertionType) |
Merge InsertNextCell & GetId->InsertNextId Take Distributed Read into account. More... | |
![]() | |
vtkPGenericEnSightReader () | |
~vtkPGenericEnSightReader () | |
int | GetMultiProcessLocalProcessId () |
Multi Process cache. More... | |
int | GetMultiProcessNumberOfProcesses () |
Multi Process cache. More... | |
Superclass for EnSight file parallel readers.
Definition at line 63 of file vtkPEnSightReader.h.
Definition at line 66 of file vtkPEnSightReader.h.
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 532 of file vtkPEnSightReader.h.
Definition at line 554 of file vtkPEnSightReader.h.
Enumerator | |
---|---|
COORDINATES | |
BLOCK | |
ELEMENT |
Definition at line 570 of file vtkPEnSightReader.h.
|
protected |
|
protected |
|
virtual |
Reimplemented from vtkPGenericEnSightReader.
Reimplemented in vtkPEnSightGoldReader, and vtkPEnSightGoldBinaryReader.
|
static |
|
virtual |
Reimplemented from vtkPGenericEnSightReader.
Reimplemented in vtkPEnSightGoldReader, and vtkPEnSightGoldBinaryReader.
|
static |
void vtkPEnSightReader::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
virtual |
Get the Measured file name.
Made public to allow access from apps requiring detailed info about the Data contents
Reimplemented in vtkPEnSightGoldReader.
|
virtual |
Get the Match file name.
Made public to allow access from apps requiring detailed info about the Data contents
Reimplemented in vtkPEnSightGoldReader.
|
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.
|
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.
|
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.
|
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.
|
protectedvirtual |
Reimplemented from vtkPGenericEnSightReader.
|
protectedvirtual |
|
protectedvirtual |
Set the Measured file name.
Reimplemented in vtkPEnSightGoldReader.
|
protectedvirtual |
Set the Match file name.
Reimplemented in vtkPEnSightGoldReader.
|
protected |
Read the case file.
If an error occurred, 0 is returned; otherwise 1.
|
protected |
Read the case file.
If an error occurred, 0 is returned; otherwise 1.
|
protected |
Read the case file.
If an error occurred, 0 is returned; otherwise 1.
|
protected |
Read the case file.
If an error occurred, 0 is returned; otherwise 1.
|
protected |
Read the case file.
If an error occurred, 0 is returned; otherwise 1.
|
protectedpure virtual |
Read the geometry file.
If an error occurred, 0 is returned; otherwise 1.
Implemented in vtkPEnSightGoldBinaryReader, and vtkPEnSightGoldReader.
|
protectedpure virtual |
Read the measured geometry file.
If an error occurred, 0 is returned; otherwise 1.
Implemented in vtkPEnSightGoldBinaryReader, and vtkPEnSightGoldReader.
|
protected |
Read the variable files.
If an error occurred, 0 is returned; otherwise 1.
|
protectedpure virtual |
Read scalars per node for this dataset.
If an error occurred, 0 is returned; otherwise 1.
Implemented in vtkPEnSightGoldBinaryReader, and vtkPEnSightGoldReader.
|
protectedpure virtual |
Read vectors per node for this dataset.
If an error occurred, 0 is returned; otherwise 1.
Implemented in vtkPEnSightGoldBinaryReader, and vtkPEnSightGoldReader.
|
protectedpure virtual |
Read tensors per node for this dataset.
If an error occurred, 0 is returned; otherwise 1.
Implemented in vtkPEnSightGoldBinaryReader, and vtkPEnSightGoldReader.
|
protectedpure virtual |
Read scalars per element for this dataset.
If an error occurred, 0 is returned; otherwise 1.
Implemented in vtkPEnSightGoldBinaryReader, and vtkPEnSightGoldReader.
|
protectedpure virtual |
Read vectors per element for this dataset.
If an error occurred, 0 is returned; otherwise 1.
Implemented in vtkPEnSightGoldBinaryReader, and vtkPEnSightGoldReader.
|
protectedpure virtual |
Read tensors per element for this dataset.
If an error occurred, 0 is returned; otherwise 1.
Implemented in vtkPEnSightGoldBinaryReader, and vtkPEnSightGoldReader.
|
protectedpure virtual |
Read an unstructured part (partId) from the geometry file and create a vtkUnstructuredGrid output.
Return 0 if EOF reached.
Implemented in vtkPEnSightGoldBinaryReader.
|
protectedpure virtual |
Read a structured part from the geometry file and create a vtkStructuredGridOutput.
Return 0 if EOF reached.
|
protected |
Add another file name to the list for a particular variable type.
|
protected |
Add another description to the list for a particular variable type.
|
protected |
Record the variable type for the variable line just read.
|
protected |
Determine the element type from a line read a file.
Return -1 for invalid element type.
|
protected |
Determine the section type from a line read a file.
Return -1 for invalid section type.
|
protected |
Replace the *'s in the filename with the given filename number.
|
protected |
Remove leading blank spaces from a string.
|
protected |
Get the list for the given output index and cell type.
|
protected |
Distributed Read Only.
Get the vtkIdList for the given GLOBAL output index and cell type.
|
protected |
Distributed Read Only.
Get the vtkIdList for the given GLOBAL output index and cell type.
|
protected |
Distributed Read Only.
Get the list for the given points index.
|
protected |
Convenience method use to convert the readers from VTK 5 multiblock API to the current composite data infrastructure.
|
protected |
Convenience method use to convert the readers from VTK 5 multiblock API to the current composite data infrastructure.
|
protected |
Set the name of a block.
|
protected |
Merge InsertNextCell & GetId->InsertNextId Take Distributed Read into account.
|
protected |
Merge InsertNextCell & GetId->InsertNextId Take Distributed Read into account.
|
protected |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protected |
|
protected |
Definition at line 650 of file vtkPEnSightReader.h.
|
protected |
Definition at line 822 of file vtkPEnSightReader.h.
|
protected |
Definition at line 823 of file vtkPEnSightReader.h.
|
protected |
Definition at line 826 of file vtkPEnSightReader.h.
|
protected |
Definition at line 829 of file vtkPEnSightReader.h.
|
protected |
Definition at line 832 of file vtkPEnSightReader.h.
|
protected |
Definition at line 834 of file vtkPEnSightReader.h.
|
protected |
Definition at line 836 of file vtkPEnSightReader.h.
|
protected |
Definition at line 837 of file vtkPEnSightReader.h.
|
protected |
Definition at line 838 of file vtkPEnSightReader.h.
|
protected |
Definition at line 839 of file vtkPEnSightReader.h.
|
protected |
Definition at line 841 of file vtkPEnSightReader.h.
|
protected |
Definition at line 844 of file vtkPEnSightReader.h.
|
protected |
Definition at line 845 of file vtkPEnSightReader.h.
|
protected |
Definition at line 848 of file vtkPEnSightReader.h.
|
protected |
Definition at line 849 of file vtkPEnSightReader.h.
|
protected |
Definition at line 852 of file vtkPEnSightReader.h.
|
protected |
Definition at line 853 of file vtkPEnSightReader.h.
|
protected |
Definition at line 856 of file vtkPEnSightReader.h.
|
protected |
Definition at line 857 of file vtkPEnSightReader.h.
|
protected |
Definition at line 860 of file vtkPEnSightReader.h.
|
protected |
Definition at line 861 of file vtkPEnSightReader.h.
|
protected |
Definition at line 864 of file vtkPEnSightReader.h.
|
protected |
Definition at line 867 of file vtkPEnSightReader.h.
|
protected |
Definition at line 868 of file vtkPEnSightReader.h.
|
protected |
Definition at line 870 of file vtkPEnSightReader.h.
|
protected |
Definition at line 871 of file vtkPEnSightReader.h.
|
protected |
Definition at line 872 of file vtkPEnSightReader.h.
|
protected |
Definition at line 873 of file vtkPEnSightReader.h.
|
protected |
Definition at line 875 of file vtkPEnSightReader.h.
|
protected |
Definition at line 876 of file vtkPEnSightReader.h.
|
protected |
Definition at line 878 of file vtkPEnSightReader.h.
|
protected |
Definition at line 881 of file vtkPEnSightReader.h.
|
protected |
Definition at line 886 of file vtkPEnSightReader.h.
|
protected |
Definition at line 891 of file vtkPEnSightReader.h.
|
protected |
Definition at line 893 of file vtkPEnSightReader.h.
|
protected |
Definition at line 894 of file vtkPEnSightReader.h.
|
protected |
Definition at line 898 of file vtkPEnSightReader.h.
|
protected |
Definition at line 900 of file vtkPEnSightReader.h.
|
protected |
Definition at line 902 of file vtkPEnSightReader.h.
|
protected |
Definition at line 904 of file vtkPEnSightReader.h.