タイピング#

タイプエイリアスと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[tuple[Any, ...], dtype[NumberType]] | Sequence[NumberType] | Sequence[ndarray[tuple[Any, ...], dtype[NumberType]]] | Sequence[Sequence[NumberType]] | Sequence[Sequence[ndarray[tuple[Any, ...], dtype[NumberType]]]] | Sequence[Sequence[Sequence[NumberType]]] | Sequence[Sequence[Sequence[ndarray[tuple[Any, ...], dtype[NumberType]]]]] | Sequence[Sequence[Sequence[Sequence[NumberType]]]] | Sequence[Sequence[Sequence[Sequence[ndarray[tuple[Any, ...], dtype[NumberType]]]]]]の別名です。

pyvista.MatrixLike#

MatrixLike#

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

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

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

pyvista.VectorLike#

VectorLike#

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

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

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

Data Object Types#

pyvista._GridType#

_GridType = TypeVar(_GridType, bound=Grid)#

Type:    TypeVar

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

PyVista の Grid クラス用の型変数。

pyvista._PointGridType#

_PointGridType = TypeVar(_PointGridType, bound=PointGrid)#

Type:    TypeVar

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

PyVista の PointGrid クラス用の型変数。

pyvista._PointSetType#

_PointSetType = TypeVar(_PointSetType, bound=_PointSet)#

Type:    TypeVar

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

PyVista の PointSet クラス用の型変数。

pyvista._DataSetType#

_DataSetType = TypeVar(_DataSetType, bound=DataSet)#

Type:    TypeVar

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

DataSet クラスの型変数。

pyvista._DataSetOrMultiBlockType#

_DataSetOrMultiBlockType = TypeVar(_DataSetOrMultiBlockType, bound=Union)#

Type:    TypeVar

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

DataSet または MultiBlock クラスの型変数。

pyvista._DataObjectType#

_DataObjectType = TypeVar(_DataObjectType, bound=DataObject)#

Type:    TypeVar

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

DataObject クラスの型変数。