vtkUNSTRUCTUREDGRID Procedure
Passes data describing an unstructured grid to VTK.
Usage
vtkUNSTRUCTUREDGRID, points, cells, cell_types
Input Parameters
points—A two-dimensional array of floating point numbers of size (3, n) describing x, y, and z points.
cells—A Vector of integers describing cells, organized as vertex count followed by indices into Points, repeated for all cells.
Cell_types—A Vector of integers describing the cell type for each cell. Valid types are values between 1–12.
Keywords
Restore—An associative array containing all of the data and attributes for a polydata dataset, usually created using the Save keyword. If this parameter is passed, then only the keywords Name and Filename can be used.
Name—Specifies a name to be used to create this data source. This name can be used in calls to vtkCOMMAND.
Filename—File to store data using standard VTK ASCII format.
Save—Returns the data in the specified variable stored in an associative array. Data is NOT sent to VTK if this parameter is specified.
Attributes—A list created using vtkADDATTRIBUTE containing one or more attributes associated with the points in the dataset.
Discussion
Arbitrary combinations of twelve (12) cell types, ranging from points, lines, polygons to voxels. See the VTK documentation, which can be downloaded from
http://public.kitware.com, for more details on the data and attributes for the UnStructuredGrid dataset format.
Version 2017.0
Copyright © 2017, Rogue Wave Software, Inc. All Rights Reserved.