Enum vtkio::model::DataSet[][src]

pub enum DataSet {
    StructuredPoints {
        dims: [u32; 3],
        origin: [f32; 3],
        spacing: [f32; 3],
        data: Attributes,
    },
    StructuredGrid {
        dims: [u32; 3],
        points: IOBuffer,
        data: Attributes,
    },
    UnstructuredGrid {
        points: IOBuffer,
        cells: Cells,
        cell_types: Vec<CellType>,
        data: Attributes,
    },
    PolyData {
        points: IOBuffer,
        topo: Vec<PolyDataTopology>,
        data: Attributes,
    },
    RectilinearGrid {
        dims: [u32; 3],
        x_coords: IOBuffer,
        y_coords: IOBuffer,
        z_coords: IOBuffer,
        data: Attributes,
    },
    Field {
        name: String,
        data_array: Vec<FieldArray>,
    },
}

Dataset described in the file. For 2D objects, dims[2] will be set to 0. For 1D objects, dims[1] will also be 0. This enum is designed to closely represent the data as it is stored in the vtk file.

Variants

Fields of StructuredPoints

Fields of StructuredGrid

3D Unstructured grid. Note that cells.num_cells must equal cell_types.len().

Fields of UnstructuredGrid

A contiguous array of coordinates (x,y,z) representing the points in the mesh.

3D Polygon data.

Fields of PolyData

Fields of RectilinearGrid

Same as one field attribute.

Fields of Field

Trait Implementations

impl Clone for DataSet
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for DataSet
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for DataSet
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for DataSet

impl Sync for DataSet