Module vtkio::model[][src]

VTK Data Model

This module defines the main data structures used to represent a VTK file. The structure of the main Vtk struct is general enough to represent both Legacy as well as serial and parallel XML file formats. See the official VTK documentation for details.

Structs

ArrayMetaData

A descriptor of a DataArray.

Attributes

Point and cell attributes.

AttributesMetaData

A descriptor of a collection of Attributes.

Cells

Cells with variable types.

Coordinates

Point coordinates on a RectilinearGrid corresponding to x, y and z axes.

DataArrayBase

A named array of elements.

ImageDataPiece

ImageData piece data.

PolyDataPiece

PolyData piece data.

RectilinearGridPiece

RectilinearGrid piece data.

StructuredGridPiece

StructuredGrid piece data.

UnstructuredGridPiece

UnstructuredGrid piece data.

Version

Version number (e.g. 4.1 => Version { major: 4, minor: 1 })

Vtk

Model of the VTK file.

Enums

Attribute

Data structure that stores a VTK attribute.

ByteOrder
CellType

This enum describes the types of Cells representable by VTK files.

DataSet

Dataset described in the file.

ElementType

The type of element being represented inside a DataArray.

Error

Error type describing failure modes of various model processing tasks and validation.

Extent

The extent of the structured object being represented in 3D space.

IOBuffer

Numeric data buffer.

MetaData

A descriptor of the data set being stored.

Piece

A piece of a data set.

ScalarType

Types of data that can be recognized by the parser. Not all data types are supported for all classes.

VertexNumbers

Vertex numbers for general cells, polygons, lines, strips or stand-alone vertices.

Traits

PieceData
Scalar

Type Definitions

DataArray

A data array whose elements are given a type by elem.

FieldArray

A data array whose elements have a number of components given by the integer elem.

RangeExtent

An extent for structured data specified as a triplet of inclusive ranges.