HappyDoc Generated Documentation Class: Model_Piece

. / MultiScale / Model_Piece 

Base class for pieces of multiscale model.

Methods   
  delete 
delete ( self )
  hide 
hide ( self )
  add_model_closed_callback 
add_model_closed_callback ( self,  cb )
  surface_model_created 
surface_model_created ( self )

Override this in derived classes.

The purpose of this call is so Pieces can align their models to the surface model.

  surface_model 
surface_model ( self,  create=True )
  surface_model_initial_xform 
surface_model_initial_xform ( self )

Model pieces should override this routine if they want to suggest an initial xform matrix for the Surface_Model, for example, to keep an already existing molecule model from being moved.

  surface_model_closed 
surface_model_closed ( self )
  show_style 
show_style (
        self,
        style,
        params=None,
        )
  show_only_style 
show_only_style (
        self,
        style,
        params=None,
        )
  remove_model_closed_callback 
remove_model_closed_callback ( self,  cb )
  root 
root ( self )
  __init__ 
__init__ ( self )
  surface_model_closed_cb 
surface_model_closed_cb ( self,  surf )

This document was automatically generated Thu Feb 02 15:18:13 2006 by HappyDoc version 3.0.a1