| 
        
 
/ . / MultiScale / Model_Piece  
Base class for pieces of multiscale model. 
        
            | 
                
                  Methods 
                
             | 
            
                 
             | 
         
        
        
        
        
            | 
                
                   
                
             | 
            
                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,
        model_id=None,
        )
 |  
 
        
            | 
                
                   
                
             | 
            
                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 )
 
 |  
 
        
            | 
                
                   
                
             | 
            
                __init__ 
             | 
         
        
        
        
__init__ ( self )
 
 |  
 
        
            | 
                
                   
                
             | 
            
                surface_model_closed_cb 
             | 
         
        
        
        
surface_model_closed_cb ( self,  surf )
 
 |  
  |  
 
         |