'STRAP:multiple sequence alignments '

charite.christo.interfaces
Interface Superimpose3D


public interface Superimpose3D

Implemented by plugins that perform a 3D-superposition of the C-alpha atoms of two protein chains.


Nested Class Summary
static class Superimpose3D.Result
           
 
Field Summary
static byte[] NO_BYTE
          The Result class bundles the result returned after computation
 
Method Summary
 void compute()
          STRAP calls this method to invoke computation.
 Protein getMobileProtein()
           
 Protein getReferenceProtein()
           
 Superimpose3D.Result getResult()
          returns a 3X3 rotation matrix and a translation vector.
 boolean[] getSelectedMobileResidues()
           
 boolean[] getSelectedReferenceResidues()
           
 void selectMobileResidues(boolean[] bb)
          selects residues to be superimposed.
 void selectReferenceResidues(boolean[] bb)
          selects residues to be superimposed.
 void setMobileProtein(Protein p)
          STRAP calls this method to set the mobile protein.
 void setReferenceProtein(Protein p)
          STRAP calls this method to set the reference protein.
 

Field Detail

NO_BYTE

static final byte[] NO_BYTE
The Result class bundles the result returned after computation

Method Detail

setMobileProtein

void setMobileProtein(Protein p)
STRAP calls this method to set the mobile protein.


setReferenceProtein

void setReferenceProtein(Protein p)
STRAP calls this method to set the reference protein.


getReferenceProtein

Protein getReferenceProtein()
Returns:
The plugin should return the reference protein.

getMobileProtein

Protein getMobileProtein()
Returns:
The plugin should return the mobile protein.

compute

void compute()
STRAP calls this method to invoke computation. It is run in a different thread so that STRAP is still responding to user interactions.


selectMobileResidues

void selectMobileResidues(boolean[] bb)
selects residues to be superimposed. This method is only called when the user selects residues. If the respective text field is kept empty, this method is not invoked.


selectReferenceResidues

void selectReferenceResidues(boolean[] bb)
selects residues to be superimposed.


getSelectedReferenceResidues

boolean[] getSelectedReferenceResidues()

getSelectedMobileResidues

boolean[] getSelectedMobileResidues()

getResult

Superimpose3D.Result getResult()
returns a 3X3 rotation matrix and a translation vector. returns a {dx,dy,dz} translation vector This method is invoked by STRAP after the compute() method returned.


'STRAP:multiple sequence alignments '

'The most important classes are StrapAlign, StrapProtein and StrapEvent.'