Reader for vtk UNSTRUCTURED_GRID legacy files. Supports single CELLS, POINTS etc. entry only. More...
Public Types | |
enum | vtkDataType { VTK_INT, VTK_INT64, VTK_UINT, VTK_LONG, VTK_ULONG, VTK_FLOAT, VTK_DOUBLE, VTK_STRING, VTK_ID } |
Enumeration defining the vtk data types. More... | |
enum | vtkDataSetType { VTK_FIELD, VTK_SCALARS, VTK_VECTORS } |
Enumeration defining the vtk dataset types. More... | |
enum | parseMode { NOMODE, UNSTRUCTURED_GRID, POLYDATA, CELL_DATA, POINT_DATA } |
Enumeration defining the parse mode - type of data being read. More... | |
Public Member Functions | |
ClassName ("vtkUnstructuredReader") | |
Runtime type information. More... | |
vtkUnstructuredReader (const objectRegistry &obr, ISstream &is) | |
Construct from input stream, read all. More... | |
const string & | header () const noexcept |
Header. More... | |
const string & | title () const noexcept |
Title. More... | |
const string & | dataType () const noexcept |
DataType. More... | |
const pointField & | points () const noexcept |
Points. More... | |
pointField & | points () noexcept |
const cellShapeList & | cells () const noexcept |
3D cells More... | |
cellShapeList & | cells () noexcept |
const labelList & | cellMap () const noexcept |
const faceList & | faces () const noexcept |
2D cells (=faces) More... | |
faceList & | faces () noexcept |
const labelList & | faceMap () const noexcept |
const labelListList & | lines () const noexcept |
1D cells (=open lines) More... | |
labelListList & | lines () noexcept |
const labelList & | lineMap () const noexcept |
const objectRegistry & | cellData () const noexcept |
Cell based fields. More... | |
objectRegistry & | cellData () noexcept |
const objectRegistry & | pointData () const noexcept |
Point based fields. More... | |
objectRegistry & | pointData () noexcept |
const objectRegistry & | otherData () const noexcept |
Other fields. More... | |
objectRegistry & | otherData () noexcept |
Static Public Member Functions | |
template<class Type > | |
static void | printFieldStats (const objectRegistry &) |
Debug: print contents of objectRegistry. More... | |
Static Public Attributes | |
static const Enum< vtkDataType > | vtkDataTypeNames |
static const Enum< vtkDataSetType > | vtkDataSetTypeNames |
static const Enum< parseMode > | parseModeNames |
Reader for vtk UNSTRUCTURED_GRID legacy files. Supports single CELLS, POINTS etc. entry only.
- all integer types (int, unsigned_int, long etc.) become Foam::label
Definition at line 67 of file vtkUnstructuredReader.H.
enum vtkDataType |
Enumeration defining the vtk data types.
Enumerator | |
---|---|
VTK_INT | |
VTK_INT64 | |
VTK_UINT | |
VTK_LONG | |
VTK_ULONG | |
VTK_FLOAT | |
VTK_DOUBLE | |
VTK_STRING | |
VTK_ID |
Definition at line 74 of file vtkUnstructuredReader.H.
enum vtkDataSetType |
Enumeration defining the vtk dataset types.
Enumerator | |
---|---|
VTK_FIELD | |
VTK_SCALARS | |
VTK_VECTORS |
Definition at line 91 of file vtkUnstructuredReader.H.
enum parseMode |
Enumeration defining the parse mode - type of data being read.
Enumerator | |
---|---|
NOMODE | |
UNSTRUCTURED_GRID | |
POLYDATA | |
CELL_DATA | |
POINT_DATA |
Definition at line 102 of file vtkUnstructuredReader.H.
vtkUnstructuredReader | ( | const objectRegistry & | obr, |
ISstream & | is | ||
) |
Construct from input stream, read all.
Definition at line 594 of file vtkUnstructuredReader.C.
References Foam::read().
ClassName | ( | "vtkUnstructuredReader" | ) |
Runtime type information.
|
inlinenoexcept |
Header.
Definition at line 236 of file vtkUnstructuredReader.H.
|
inlinenoexcept |
Title.
Definition at line 242 of file vtkUnstructuredReader.H.
|
inlinenoexcept |
DataType.
Definition at line 248 of file vtkUnstructuredReader.H.
|
inlinenoexcept |
Points.
Definition at line 255 of file vtkUnstructuredReader.H.
Referenced by VTKedgeFormat::read(), and VTKsurfaceFormat< Face >::read().
|
inlinenoexcept |
Definition at line 260 of file vtkUnstructuredReader.H.
|
inlinenoexcept |
3D cells
Definition at line 266 of file vtkUnstructuredReader.H.
|
inlinenoexcept |
Definition at line 271 of file vtkUnstructuredReader.H.
|
inlinenoexcept |
Definition at line 276 of file vtkUnstructuredReader.H.
|
inlinenoexcept |
2D cells (=faces)
Definition at line 282 of file vtkUnstructuredReader.H.
Referenced by VTKsurfaceFormat< Face >::read().
|
inlinenoexcept |
Definition at line 287 of file vtkUnstructuredReader.H.
|
inlinenoexcept |
Definition at line 292 of file vtkUnstructuredReader.H.
|
inlinenoexcept |
1D cells (=open lines)
Definition at line 298 of file vtkUnstructuredReader.H.
Referenced by VTKedgeFormat::read().
|
inlinenoexcept |
Definition at line 303 of file vtkUnstructuredReader.H.
|
inlinenoexcept |
Definition at line 308 of file vtkUnstructuredReader.H.
|
inlinenoexcept |
Cell based fields.
Definition at line 314 of file vtkUnstructuredReader.H.
Referenced by VTKsurfaceFormat< Face >::read().
|
inlinenoexcept |
Definition at line 319 of file vtkUnstructuredReader.H.
|
inlinenoexcept |
Point based fields.
Definition at line 325 of file vtkUnstructuredReader.H.
|
inlinenoexcept |
Definition at line 330 of file vtkUnstructuredReader.H.
|
inlinenoexcept |
Other fields.
Definition at line 336 of file vtkUnstructuredReader.H.
|
inlinenoexcept |
Definition at line 341 of file vtkUnstructuredReader.H.
|
static |
Debug: print contents of objectRegistry.
Definition at line 34 of file vtkUnstructuredReaderTemplates.C.
References Foam::endl(), fieldNames(), Foam::Info, objectRegistry::lookupObject(), objectRegistry::names(), and Foam::nl.
|
static |
Definition at line 87 of file vtkUnstructuredReader.H.
|
static |
Definition at line 98 of file vtkUnstructuredReader.H.
|
static |
Definition at line 111 of file vtkUnstructuredReader.H.