cigvis.vispynodes.indicator module#
- class cigvis.vispynodes.indicator.FixMixin#
Bases:
object- drag_visual_node(mouse_move_event)#
Drag this visual node while holding left click in the selection mode (<Ctrl> pressed). The highlighted axis will move with the mouse (the anchor point will be ‘hooked’ to the mouse).
- on_mouse_move(event)#
- on_resize(event)#
- set_anchor(mouse_press_event)#
Set an anchor point (2D screen coordinates) when left click in the selection mode (<Ctrl> pressed). After that, the dragging called in func ‘drag_visual_node’ will try to move around the screen and let the anchor follows user’s mouse position.
- class cigvis.vispynodes.indicator.NorthPointer(direction, scale=2, loc=(30, 30), size=60, style='default')#
Bases:
Compound,FixMixin
- class cigvis.vispynodes.indicator.Units(size, label)#
Bases:
Compound
- class cigvis.vispynodes.indicator.XYZAxis(loc=(30, 30), size=60, width=2, antialias=True, visible=True, parent=None)#
Bases:
XYZAxis,FixMixinAn XYZAxis legend visual that add some interactivity fixes to be used in 3D. It rotates correctly, and can be dragged around.
Parameters#
- locTuple
2D position for the location of the axis
- sizeint
size of axis
- widthint
axis line width
- antialiasbool
antialias of XYZAxis
- visablebool
visable when show
- parentAny
parant of this None