HappyDoc Generated Documentation Class: Scalebar_Dialog

. / ScaleBar / Scalebar_Dialog 

Methods   
  freeze_data_models 
freeze_data_models ( self )
  update_model 
update_model (
        self,
        length,
        thickness,
        rgb,
        label,
        xy_offset,
        label_rgb,
        model_id=None,
        )
  frozen_models 
frozen_models ( self )
  move_scalebar_cb 
move_scalebar_cb ( self )
  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.

  update_screen_position_from_entries 
update_screen_position_from_entries ( self )
  close_session_cb 
close_session_cb (
        self,
        trigger,
        a1,
        a2,
        )
  set_screen_position 
set_screen_position ( self,  xy_n )

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

  settings_changed_cb 
settings_changed_cb (
        self,
        event=None,
        model_id=None,
        )
  remove_position_handler 
remove_position_handler ( self )
  update_position_cb 
update_position_cb (
        self,
        trigger,
        callData,
        triggerData,
        )

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

  unfreeze_data_models 
unfreeze_data_models ( self )
  add_position_handler 
add_position_handler ( self )
  orient_bar 
orient_bar ( self,  horizontal=None )
  fillInUI 
fillInUI ( self,  parent )
  set_screen_position_entries 
set_screen_position_entries ( self )
  orientation_cb 
orientation_cb ( self )
  save_session_cb 
save_session_cb (
        self,
        trigger,
        x,
        file,
        )
  set_depth 
set_depth ( self,  z )
  make_model 
make_model (
        self,
        length,
        thickness,
        rgb,
        label,
        xy_offset,
        label_rgb,
        model_id,
        )

This document was automatically generated Fri May 30 21:13:58 2008 by HappyDoc version 3.1