Inherits from
- Base: enthought.mayavi.core.base.Base
Attributes
- create_lut
Create a new LUT.
create_lut = Button('Launch LUT editor', desc = 'if we launch a Lookup table editor in a separate process')
- data_name
The optionally user specified name of the data.
data_name = Str('', enter_set = True, auto_set = False, desc = 'the title of the legend')
- data_range
The optionally user defined range of the data.
data_range = Array(shape = (2), value = [ 0.0, 1.0 ], dtype = float, enter_set = True, auto_set = False, desc = 'the range of the data mapped')
- default_data_name
The default data name -- set by the module manager.
default_data_name = Str('data', enter_set = True, auto_set = False, desc = 'the default data name')
- default_data_range
The default data range -- this is computed and set by the module manager.
default_data_range = Array(shape = (2), value = [ 0.0, 1.0 ], dtype = float, enter_set = True, auto_set = False, desc = 'the default range of the data mapped')
- file_name
File name of the LUT file to use.
file_name = Str('', editor = FileEditor, desc = 'the filename containing the LUT')
- label_text_property
The label text property of the axes.
label_text_property = Property(record = True)
- lut
The lookup table.
lut = Instance(tvtk.LookupTable, (), record = False)
- lut_mode
The current mode of the LUT.
lut_mode = Enum('blue-red', lut_mode_list(), desc = 'the type of the lookup table')
- number_of_colors
Number of colors for the LUT.
number_of_colors = Range(2, 2147483647, 256, enter_set = True, auto_set = False, desc = 'the number of colors for the LUT')
- number_of_labels
The number of labels to use for the scalar bar.
number_of_labels = Range(0, 64, 8, enter_set = True, auto_set = False, desc = 'the number of labels to display')
- reverse_lut
Reverse the colors of the LUT.
reverse_lut = Bool(False, desc = 'if the lut is to be reversed')
- scalar_bar
The scalar bar.
scalar_bar = Instance(tvtk.ScalarBarActor, (), record = True)
- scalar_bar_widget
The scalar_bar_widget
scalar_bar_widget = Instance(tvtk.ScalarBarWidget, ())
- shadow
Enable shadowing of the labels and text.
shadow = Bool(False, desc = 'if the labels and text have shadows')
- show_scalar_bar
Turn on/off the visibility of the scalar bar.
show_scalar_bar = Bool(False, desc = 'if scalar bar is shown or not')
- title_text_property
The title text property of the axes.
title_text_property = Property(record = True)
- use_default_name
Use the default data name or the user specified one.
use_default_name = Bool(True, desc = 'if the default data name is to be used')
- use_default_range
Use the default range or user specified one.
use_default_range = Bool(True, desc = 'if the default data range is to be used')
Inherited from base classes
Method summary
- __init__(self, **traits)
- load_lut_from_file(self, file_name)
- load_lut_from_list(self, list)
- start(self)
- stop(self)
Inherited from base classes
- __prefix_trait__(self, name, is_set)
- __reduce_ex__(self, protocol)
- add_class_trait(cls, name, *trait)
- add_trait(self, name, *trait)
- add_trait_category(cls, category)
- add_trait_listener(self, object, prefix = '')
- all_trait_names(self)
- base_trait(self, name)
- class_default_traits_view(cls)
- class_editable_traits(cls)
- class_trait_names(cls, **metadata)
- class_trait_view(cls, name = None, view_element = None)
- class_trait_view_elements(cls)
- class_traits(cls, **metadata)
- clone_traits(self, traits = None, memo = None, copy = None, **metadata)
- configure_traits(self, filename = None, view = None, kind = None, edit = True, context = None, handler = None, id = '', scrollable = None, **args)
- copy_traits(self, other, traits = None, memo = None, copy = None, **metadata)
- copyable_trait_names(self, **metadata)
- default_traits_view(self)
- edit_traits(self, view = None, parent = None, kind = None, context = None, handler = None, id = '', scrollable = None, **args)
- editable_traits(self)
- has_traits_interface(self, *interfaces)
- on_trait_change(self, handler, name = None, remove = False, dispatch = 'same', priority = False, deferred = False)
- print_traits(self, show_help = False, **metadata)
- remove_trait(self, name)
- remove_trait_listener(self, object, prefix = '')
- reset_traits(self, traits = None, **metadata)
- set_trait_dispatch_handler(cls, name, klass, override = False)
- sync_trait(self, trait_name, object, alias = None, mutual = True, remove = False)
- tno_allows_children(self, node)
- tno_can_add(self, node, add_object)
- tno_can_auto_close(self, node)
- tno_can_auto_open(self, node)
- tno_can_copy(self, node)
- tno_can_delete(self, node)
- tno_can_delete_me(self, node)
- tno_can_insert(self, node)
- tno_can_rename(self, node)
- tno_can_rename_me(self, node)
- tno_click(self, node)
- tno_dclick(self, node)
- tno_drop_object(self, node, dropped_object)
- tno_get_add(self, node)
- tno_get_children(self, node)
- tno_get_children_id(self, node)
- tno_get_drag_object(self, node)
- tno_get_name(self, node)
- tno_get_tooltip(self, node)
- tno_has_children(self, node)
- tno_is_node_for(self, node)
- tno_select(self, node)
- tno_set_label(self, node, label)
- tno_when_children_changed(self, node, listener, remove)
- tno_when_children_replaced(self, node, listener, remove)
- tno_when_label_changed(self, node, listener, remove)
- trait(self, name, force = False, copy = False)
- trait_context(self)
- trait_get(self, *names, **metadata)
- trait_monitor(cls, handler, remove = False)
- trait_names(self, **metadata)
- trait_set(self, trait_change_notify = True, **traits)
- trait_setq(self, **traits)
- trait_subclasses(cls, all = False)
- trait_view_elements(self)
- trait_views(self, klass = None)
- traits(self, **metadata)
- validate_trait(self, name, value)
Methods
- __init__(self, **traits)
- load_lut_from_file(self, file_name)
- load_lut_from_list(self, list)
- start(self)
This is invoked when this object is added to the mayavi pipeline.
- stop(self)
Invoked when this object is removed from the mayavi pipeline.