blenderproc.python.modules.provider.sampler.UniformSO3Module module

class blenderproc.python.modules.provider.sampler.UniformSO3Module.UniformSO3Module(config)[source]

Bases: blenderproc.python.modules.main.Provider.Provider

Uniformly samples rotations from SO(3). Allows to limit the rotation around Blender World coordinate axes.

Configuration:

Parameter Description Type
around_x Whether to rotate around X-axis. Default: True. bool
around_y Whether to rotate around Y-axis. Default: True. bool
around_z Whether to rotate around Z-axis. Default: True. bool
run()[source]
Returns:Sampled rotation in euler angles. Type: mathutils.Vector