pytransform3d.editor.TransformEditor#
- class pytransform3d.editor.TransformEditor(transform_manager, base_frame, xlim=(-1.0, 1.0), ylim=(-1.0, 1.0), zlim=(-1.0, 1.0), s=1.0, figsize=(10, 10), dpi=100, window_size=(500, 600), parent=None)[source]#
Bases:
QMainWindow
GUI to edit transformations.
Warning
Note that this module requires PyQt4.
- Parameters:
- transform_managerTransformManager
All nodes that are reachable from the base frame will be editable
- framestring
Name of the base frame
- xlimtuple, optional (-1, 1)
Lower and upper limit for the x position. Defines the range of the plot and the range of the slider.
- ylimtuple, optional (-1, 1)
Lower and upper limit for the y position. Defines the range of the plot and the range of the slider.
- zlimtuple, optional (-1, 1)
Lower and upper limit for the z position. Defines the range of the plot and the range of the slider.
- sfloat, optional (default: 1)
Scaling of the axis and angle that will be drawn
- figsizetuple of integers, optional (default: (10, 10))
Width, height in inches.
- dpiinteger, optional (default: 100)
Resolution of the figure.
- parentQWidget, optional (default: None)
Parent widget.
- Attributes:
- transform_managerTransformManager
Result, all frames are expressed in the base frame
- __init__(transform_manager, base_frame, xlim=(-1.0, 1.0), ylim=(-1.0, 1.0), zlim=(-1.0, 1.0), s=1.0, figsize=(10, 10), dpi=100, window_size=(500, 600), parent=None)[source]#
Methods
Attributes
Examples using pytransform3d.editor.TransformEditor
#
Transformation Editor