Method summary
- __init__(self, master, vtk_table, on_change_color_table = None)
- load_gradient(self)
- nonlinear_function_string_changed(self, event)
- nonlinear_parameter_scale_changed(self, final_update)
- nonlinear_scaling_option_changed(self)
- ok(self)
- save_gradient(self)
Methods
- __init__(self, master, vtk_table, on_change_color_table = None)
Initialize the gradient editor window.
Parameters
- master
- Owning widget, for example a tk root object.
- VtkTable
- Instance of vtkLookupTable, designating the table which is to be edited.
- OnChangeColorTable
- Callback function taking no arguments. Called when the color table was changed and rendering is requested.
- load_gradient(self)
- nonlinear_function_string_changed(self, event)
Invoked when Return is pressed in the nonlinear-function edit
- nonlinear_parameter_scale_changed(self, final_update)
Event Handler for the nonlinear-parameter scaling bar. FinalUpdate is true on ButtonRelease and False on Motion
- nonlinear_scaling_option_changed(self)
called when the 'nonlin'-button is pressed to toggle if nonlinear- scaling is activated and the corresponding controls are shown
- ok(self)
- save_gradient(self)