プロット#

プロットAPIリファレンス#

プロットモジュールAPIリファレンス.これらのプロットモジュールは,PyVistaのすべてのプロット機能の基礎となります.

Actor(*args, **kwargs)

Wrap vtkActor.

Axes(*args, **kwargs)

VTK AxesクラスのPyVistaラッパー.

AxesActor(*args, **kwargs)

vtkAxesActor の軸のアクターラッパーです.

AxesAssembly(*args, **kwargs)

Assembly of arrow-style axes parts.

AxesAssemblySymmetric(*args, **kwargs)

Symmetric assembly of arrow-style axes parts.

CameraPosition(*args, **kwargs)

カメラ位置の属性を保持するためのコンテナ.

CornerAnnotation(*args, **kwargs)

四隅のテキスト注釈.

CubeAxesActor(*args, **kwargs)

Wrap vtkCubeAxesActor.

DataSetMapper(*args, **kwargs)

Wrap vtkDataSetMapper.

Follower(*args, **kwargs)

Wrap vtkFollower.

Label(*args, **kwargs)

2D label actor with a 3D position coordinate.

LookupTable(*args, **kwargs)

スカラからRGBAへのマッピングテーブル.

PlanesAssembly(*args, **kwargs)

Assembly of orthogonal planes.

Plotter(*args, **kwargs)

vtkメッシュまたは無感覚な配列を表示するためのオブジェクトのプロット.

Prop3D(*args, **kwargs)

Prop3D wrapper for vtkProp3D.

Property(*args, **kwargs)

Wrap vtkProperty and expose it pythonically.

Renderer(*args, **kwargs)

Rendererクラス.

RenderWindowInteractor(*args, **kwargs)

Wrap vtkRenderWindowInteractor.

Text(*args, **kwargs)

デフォルトのテーマでテキストを定義します.

TextProperty(*args, **kwargs)

テキストのプロパティを定義します.

Timer(*args, **kwargs)

Timer クラス.

plotting.mapper._BaseMapper(*args, **kwargs)

他のマッパーと共通するメソッドを持つベースマッパーです.

plotting.opts.InterpolationType(*values)

照明補間の種類.

plotting.opts.RepresentationType(*values)

モデルが持つことのできる表現の種類.

plotting.opts.ElementType(*values)

要素幾何学の種類.

plotting.volume.Volume(*args, **kwargs)

VTKボリュームのラッパークラスです.

plotting.volume_property.VolumeProperty(...)

Wrap the VTK class vtkVolumeProperty.

複合プロットリファレンス#

これらのクラスは pyvista.MultiBlock データセットをプロットするときに使用されます.

CompositePolyDataMapper(*args, **kwargs)

複合 PolyData マッパー.

CompositeAttributes(*args, **kwargs)

ブロックの属性.

BlockAttributes(*args, **kwargs)

ブロックの属性を設定するために使用するブロック属性.

チャートAPI#

Charts APIのリファレンスです.これらの専用クラスは,プロットウィンドウにチャートを埋め込むために使用することができます.なお,チャートの全機能を利用するには,少なくともVTKのバージョン9.3が必要です.しかし,ほとんどのコンポーネントは,古いバージョンでも問題なく動作します.

ウィジェットAPI#

pyvista.Plotter クラスは pyvista.plotting.widgets.WidgetHelper クラスで記述されているすべてのウィジェットメソッドを継承しています.詳しくは ウィジェット の例を参照してください.

plotting.widgets.WidgetHelper(*args, **kwargs)

ウィジェットを管理する内部クラス.

plotting.widgets.AffineWidget3D(*args, **kwargs)

3D affine 変換ウィジェット.

ピッキングAPI#

pyvista.Plotter クラスは pyvista.plotting.picking.PickingHelper クラスで記述されているすべてのピッキングメソッドを継承しています.

plotting.picking.PickingHelper(*args, **kwargs)

ピッキングヘルパーメソッドを含む内部コンテナクラス.

Interactor Style API#

An interactor style sets mouse and key bindings to interact with the plot. Most often methods like pyvista.Plotter.enable_trackball_style() would be used, but this API can be used as a starting point for customizing the interaction styles.

plotting.render_window_interactor.InteractorStyleCaptureMixin(...)

A mixin for subclasses of vtkInteractorStyle with capturing ability.

plotting.render_window_interactor.InteractorStyleImage(...)

Image interactor style.

plotting.render_window_interactor.InteractorStyleJoystickActor(...)

Joystick actor interactor style.

plotting.render_window_interactor.InteractorStyleJoystickCamera(...)

Joystick camera interactor style.

plotting.render_window_interactor.InteractorStyleRubberBand2D(...)

Rubber band 2D interactor style.

plotting.render_window_interactor.InteractorStyleRubberBandPick(...)

Rubber band pick interactor style.

plotting.render_window_interactor.InteractorStyleTrackballActor(...)

Trackball actor interactor style.

plotting.render_window_interactor.InteractorStyleTrackballCamera(...)

Trackball camera interactor style.

plotting.render_window_interactor.InteractorStyleTerrain(...)

Terrain interactor style.

plotting.render_window_interactor.InteractorStyleZoom(...)

Rubber band zoom interactor style.

便利な機能#

これらの関数を使用すると,PyVistaのさまざまなプロットルーチンへのインタフェースが簡単になります.