charite.christo.interfaces
Interface ProteinViewer
- All Superinterfaces:
- CommandInterpreter, Disposable, HasControlPanel, HasProtein, ProteinListener
public interface ProteinViewer
- extends Disposable, HasProtein, HasControlPanel, CommandInterpreter, ProteinListener
A protein viewer can display proteins three-dimensionally.
PROTEIN
static final String PROTEIN
- See Also:
- Constant Field Values
RESIDUES
static final String RESIDUES
- See Also:
- Constant Field Values
VERBOSE
static final int VERBOSE
- See Also:
- Constant Field Values
ASK
static final int ASK
- See Also:
- Constant Field Values
SEND_ALL_ANNOTATIONS
static final int SEND_ALL_ANNOTATIONS
- See Also:
- Constant Field Values
TOG_CURSOR_PYMOL
static final ChButton TOG_CURSOR_PYMOL
TOG_CURSOR_RASMOL
static final ChButton TOG_CURSOR_RASMOL
TOG_CURSOR_VMD
static final ChButton TOG_CURSOR_VMD
setSelectedResidues
void setSelectedResidues(boolean[] bb,
int atomType,
String representation_id)
- Parameters:
bb
- {false,true,true} means select exactly the snd and 3rdrepresentation_id
- Vmd for instance requires identifiers for each representation. It is a String starting with a letter and containing only letters and numbers. Rasmol for Example ignors this StringatomType
- ProteinViewer.ATOM_TYPE_ANY or ProteinViewer.ATOM_TYPE_CA
setProtein
boolean setProtein(Protein p,
ProteinViewer inSameView,
Runnable runAfterInstallation,
long options)
- The only use of the setProtein and getProtein methods are to
to keep a reference to the protein object.
Otherwise both methods are not important.
isProteinLoaded
boolean isProteinLoaded()
transform
void transform(Matrix3D m)
'The most important classes are StrapAlign, StrapProtein and StrapEvent.'