Table of Contents

Class: Scalebar_Dialog ScaleBar/__init__.py

Base Classes   
ModelessDialog
Methods   
add_position_handler
close_session_cb
fillInUI
freeze_data_models
make_model
model_closed_cb
model_id
move_scalebar_cb
orient_bar
orientation_cb
remove_position_handler
save_session_cb
set_depth
set_screen_position
set_screen_position_entries
settings_changed_cb
unfreeze_data_models
update_model
update_position_cb
update_screen_position_from_entries
  add_position_handler 
add_position_handler ( self )

  close_session_cb 
close_session_cb (
        self,
        trigger,
        a1,
        a2,
        )

  fillInUI 
fillInUI ( self,  parent )

  freeze_data_models 
freeze_data_models ( self )

  make_model 
make_model (
        self,
        length,
        thickness,
        rgb,
        label,
        xy_offset,
        label_rgb,
        )

  model_closed_cb 
model_closed_cb ( self,  model )

  model_id 
model_id ( self )

Choose a model id higher than all currently opened models and at least 9. The point of this is to avoid having newly opened models aligned to the scale bar. Chimera aligns newly opened models to the model with lowest id number.

  move_scalebar_cb 
move_scalebar_cb ( self )

  orient_bar 
orient_bar ( self,  horizontal=1 )

  orientation_cb 
orientation_cb ( self )

  remove_position_handler 
remove_position_handler ( self )

  save_session_cb 
save_session_cb (
        self,
        trigger,
        x,
        file,
        )

  set_depth 
set_depth ( self,  z )

  set_screen_position 
set_screen_position ( self,  xy_n )

Screen position given in normalized coordinates [-1,1].

  set_screen_position_entries 
set_screen_position_entries ( self )

  settings_changed_cb 
settings_changed_cb ( self,  event=None )

  unfreeze_data_models 
unfreeze_data_models ( self )

  update_model 
update_model (
        self,
        length,
        thickness,
        rgb,
        label,
        xy_offset,
        label_rgb,
        )

  update_position_cb 
update_position_cb (
        self,
        trigger,
        callData,
        triggerData,
        )

Move scale bar to keep it at same screen position when camera view changes.

  update_screen_position_from_entries 
update_screen_position_from_entries ( self )


Table of Contents

This document was automatically generated on Wed Mar 26 19:02:34 2003 by HappyDoc version 2.1