Vectors

../../../_images/vectors_example.png

A vectors data object stores one or more vectors to be added to the data collection for visualization. Users can create arrow glyphs programmatically using the Python DataCollection.DataCollection.vectors.create() method.

Each vector is defined by a base point (property Position) and a direction (property Direction). More per-vector properties can be defined for each data element. The Color property controls the color for each rendered arrow. The property Transparency controls the transparency of individual arrow glyphs.

The visual appearance of the vector glyphs in rendered images is controlled by the associated vectors visual element.

Added in version 3.11.0.

See also

ovito.data.Vectors (Python API)