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.
メソッド
Prop3D.copy([deep])Return a copy of this prop.
Prop3D.rotate_x(angle)Rotate the entity about the x-axis.
Prop3D.rotate_y(angle)Rotate the entity about the y-axis.
Prop3D.rotate_z(angle)Rotate the entity about the z-axis.
Prop3D.rotation_from(rotation)Set the entity's orientation from a rotation.
Prop3D.transform(trans[, multiply_mode, inplace])Apply a transformation to this object's
user_matrix.アトリビュート
エンティティの境界を返します.
エンティティの中央を返します.
Return the length of the entity.
Return or set the entity orientation angles.
Return or set the entity origin.
エンティティの位置を返すか設定します.
エンティティスケールを返すか設定します.
ユーザー行列を返すか設定します.