_Prop3DMixin#

class _Prop3DMixin[source]#

Add 3D transformations to props which do not inherit from pyvista.Prop3D.

Derived classes need to implement the _post_set_update method to define their behavior, for example, manually apply a transformation.

Attributes#

_Prop3DMixin.bounds

Return the bounds of the entity.

_Prop3DMixin.center

Return the center of the entity.

_Prop3DMixin.length

Return the length of the entity.

_Prop3DMixin.orientation

Return or set the entity orientation angles.

_Prop3DMixin.origin

Return or set the entity origin.

_Prop3DMixin.position

Return or set the entity position.

_Prop3DMixin.scale

Return or set entity scale.

_Prop3DMixin.user_matrix

Return or set the user matrix.

Inherited Attributes#

_BoundsSizeMixin.bounds_size

Return the size of each axis of the object’s bounding box.