pyvista.Prop3D#

class Prop3D[source]#

Prop3D wrapper for vtkProp3D.

Used to represent an entity in a rendering scene. It handles functions related to the position, orientation and scaling. Used as parent class in Actor and Volume class.

Methods

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.

Attributes

Prop3D.bounds

Return the bounds of the entity.

Prop3D.center

Return the center of the entity.

Prop3D.orientation

Return or set the entity orientation.

Prop3D.position

Return or set the entity position.

Prop3D.scale

Return or set entity scale.

Prop3D.user_matrix

Return or set the user matrix.