pyvista.Prop3D#
- class Prop3D(*args, **kwargs)[ソース]#
Prop3D wrapper for vtkProp3D.
Used to represent an entity in a rendering scene. It provides spatial properties and methods relating to an entity's position, orientation and scale. It is used as parent class for
pyvista.Actor,pyvista.AxesActor, andpyvista.plotting.volume.Volume.Prop3Dapplies transformations in the following order:Translate entity to its
origin.Scale entity by the values in
scale.Rotate entity using the values in
orientation. Internally, rotations are applied in the orderrotate_y(), thenrotate_x(), thenrotate_z().Translate entity away from its origin and to its
position.Transform entity with
user_matrix.
メソッド#
|
Return a copy of this prop. |
|
Rotate the entity about the x-axis. |
|
Rotate the entity about the y-axis. |
|
Rotate the entity about the z-axis. |
|
Set the entity's orientation from a rotation. |
|
Apply a transformation to this object's |
アトリビュート#
エンティティの境界を返します. |
|
エンティティの中央を返します. |
|
Return the length of the entity. |
|
Return or set the entity orientation angles. |
|
Return or set the entity origin. |
|
エンティティの位置を返すか設定します. |
|
エンティティスケールを返すか設定します. |
|
ユーザー行列を返すか設定します. |