PYME.LMVis.Extras.scaleBox module

PYME.LMVis.Extras.scaleBox.Plug(vis_fr)

There’s no chance to determine if shaders are supported or not. Since this layer is only added to the shader version, it will fail in the non-shader version. The later doesn’t have the required methods. It will fail, when you try to get a bounding box. If you don’t select the menu item, the program will run normally Parameters ———- vis_fr

class PYME.LMVis.Extras.scaleBox.ScaleBoxPanel(parent_panel, **kwargs)

Bases: PYME.LMVis.Extras.dockedPanel.DockedPanel

This panel is the gui for creating and controlling the bounding box of the
data and setting a grid with a given tick distance

Methods

create_gui(vertical_sizer)
flip([x_flip, y_flip, z_flip])
get_scale_box_layer()
pick_color() This is mostly from the wxPython Demo!
refresh_canvas()
show_box()
create_gui(vertical_sizer)
flip(x_flip=False, y_flip=False, z_flip=False)
get_scale_box_layer()
pick_color()

This is mostly from the wxPython Demo!

refresh_canvas()
show_box()