Volume#

class Volume(*args, **kwargs)[source]#

Wrapper class for VTK volume.

This class represents a volume in a rendered scene. It inherits functions related to the volume’s position, orientation, and origin from Prop3D.

Inheritance#

Inherited members are documented on Prop3D, _NameMixin, _BoundsSizeMixin.

See them all under Inherited Attributes and Inherited Methods.

Wraps vtkVolume.

Attributes#

Volume.mapper

Return or set the mapper of the volume.

Volume.prop

Return or set the property of this actor.

Inherited Attributes#

Prop3D.bounds

Return the bounds of the entity.

_BoundsSizeMixin.bounds_size

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

Prop3D.center

Return the center of the entity.

Prop3D.length

Return the length of the entity.

_NameMixin.name

Get or set the unique name identifier used by PyVista.

Prop3D.orientation

Return or set the entity orientation angles.

Prop3D.origin

Return or set the entity origin.

Prop3D.position

Return or set the entity position.

Prop3D.scale

Return or set entity scale.

Prop3D.user_matrix

Return or set the user matrix.

Methods#

Volume.copy([deep])

Create a copy of this volume.

Inherited Methods#

Prop3D.rotate_x

Rotate the entity about the x-axis.

Prop3D.rotate_y

Rotate the entity about the y-axis.

Prop3D.rotate_z

Rotate the entity about the z-axis.

Prop3D.rotation_from

Set the entity’s orientation from a rotation.

Prop3D.transform

Apply a transformation to this object’s user_matrix.