PV-WAVE Foundation > Reference Guide > U–V Routines > vtkSTRUCTUREDPOINTS Procedure
vtkSTRUCTUREDPOINTS Procedure
Passes data describing structured points to VTK.
Usage
vtkSTRUCTUREDPOINTS, dimensions
Input Parameters
dimensions—A 3-element vector of integers describing dimensions in x, y, and z. Use 1 for the third dimension if only a two-dimensional array is described.
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.
Origin—A 3-element vector of floating point numbers containing the x, y, and z origin point for the data.
Spacing—A 3-element vector of floating point numbers containing the spacing (width, height, length) of the cubical cells that compose the data set.
Attributes—A list created using vtkADDATTRIBUTE containing one or more attributes associated with the points in the dataset.
Discussion
Definition of a 1, 2, or 3D arrays (describing lines, grids and voxels), their origin, and spacing. See the VTK documentation, which can be downloaded from http://public.kitware.com, for more details on the data and attributes for the StructuredPoints dataset format.