タイピング#

タイプエイリアスとPyVistaで使用されるタイプ変数。

数値の配列に似た型#

pyvista.NumberType#

NumberType = TypeVar(NumberType, bound=Union)#

Type:    TypeVar

Invariant TypeVar bound to typing.Union[numpy.floating, numpy.integer, numpy.bool, float, int, bool].

数値データ型のための変数型。

pyvista.ArrayLike#

ArrayLike#

任意次元の数値を持つ配列のようなオブジェクト。

シーケンス、ネストされたシーケンス、およびnumpy配列が含まれます。スカラー値は含まれていません。

ndarray[Any, dtype[NumberType]] | Sequence[NumberType] | Sequence[ndarray[Any, dtype[NumberType]]] | Sequence[Sequence[NumberType]] | Sequence[Sequence[ndarray[Any, dtype[NumberType]]]] | Sequence[Sequence[Sequence[NumberType]]] | Sequence[Sequence[Sequence[ndarray[Any, dtype[NumberType]]]]] | Sequence[Sequence[Sequence[Sequence[NumberType]]]] | Sequence[Sequence[Sequence[Sequence[ndarray[Any, dtype[NumberType]]]]]]の別名です。

pyvista.MatrixLike#

MatrixLike#

2次元の数値を持つ配列のようなオブジェクト。

単一ネストされたシーケンスとnumpy配列を含みます。

ndarray[Any, dtype[NumberType]] | Sequence[Sequence[NumberType]] | Sequence[Sequence[ndarray[Any, dtype[NumberType]]]]の別名です。

pyvista.VectorLike#

VectorLike#

1次元の数値を持つ配列のようなオブジェクト。

シーケンスとnumpy配列を含みます。

ndarray[Any, dtype[NumberType]] | Sequence[NumberType] | Sequence[ndarray[Any, dtype[NumberType]]]の別名です。

Data Object Types#

pyvista._GridType#

_GridType = TypeVar(_GridType, bound=Grid)#

Type:    TypeVar

Invariant TypeVar bound to pyvista.core.grid.Grid.

Type variable for PyVista Grid classes.

pyvista._PointGridType#

_PointGridType = TypeVar(_PointGridType, bound=PointGrid)#

Type:    TypeVar

Invariant TypeVar bound to pyvista.core.pointset.PointGrid.

Type variable for PyVista PointGrid classes.

pyvista._PointSetType#

_PointSetType = TypeVar(_PointSetType, bound=_PointSet)#

Type:    TypeVar

Invariant TypeVar bound to pyvista.core.pointset._PointSet.

Type variable for PyVista PointSet classes.

pyvista._DataSetType#

_DataSetType = TypeVar(_DataSetType, bound=DataSet)#

Type:    TypeVar

Invariant TypeVar bound to pyvista.core.dataset.DataSet.

Type variable for DataSet classes.

pyvista._DataSetOrMultiBlockType#

_DataSetOrMultiBlockType = TypeVar(_DataSetOrMultiBlockType, bound=Union)#

Type:    TypeVar

Invariant TypeVar bound to typing.Union[pyvista.core.dataset.DataSet, pyvista.core.composite.MultiBlock].

Type variable for DataSet or MultiBlock classes.

pyvista._DataObjectType#

_DataObjectType = TypeVar(_DataObjectType, bound=DataObject)#

Type:    TypeVar

Invariant TypeVar bound to pyvista.core.dataobject.DataObject.

Type variable for DataObject classes.