35 #ifndef CN3D_MESSENGER__HPP
36 #define CN3D_MESSENGER__HPP
118 void AddHighlights(
const Molecule *molecule,
int residueIDFrom,
int residueIDTo,
bool scrollViewersTo =
false);
User-defined methods of the data storage class.
RedrawSequenceViewerList redrawSequenceViewers
bool redrawAllSequenceViewers
void SetAllWindowTitles(void) const
void RedrawMoleculesWithIdentifier(const MoleculeIdentifier *identifier, const StructureSet *set)
void RestoreCachedHighlights(void)
void NewSequenceViewerFont(void)
std::map< const Molecule *, bool > RedrawMoleculeList
void ToggleHighlights(const Sequence *sequence, unsigned int seqIndexFrom, unsigned int seqIndexTo)
void PostRedrawMolecule(const Molecule *molecule)
void GetHighlights(MoleculeHighlightMap *copyHighlights)
ncbi::objects::CBiostruc_annot_set * CreateBiostrucAnnotSetForHighlightsOnSingleObject(void) const
bool IsHighlighted(const Molecule *molecule, int residueID) const
bool IsHighlightedAnywhere(const MoleculeIdentifier *identifier) const
bool IsFileMessengerActive(void) const
void SequenceWindowsSave(bool prompt)
void RemoveStructureWindow(const StructureWindow *structureWindow)
MoleculeHighlightMap highlightCache
bool GetHighlightedResiduesWithStructure(MoleculeHighlightMap *residues) const
bool highlightingSuspended
void PostRedrawSequenceViewer(ViewerBase *viewer)
void KeepHighlightsOnlyOnSequence(const Sequence *sequence)
MoleculeHighlightMap highlights
void HighlightAndShowSequence(const Sequence *sequence)
void UnPostRedrawAllSequenceViewers(void)
bool RemoveAllHighlights(bool postRedraws)
void ToggleHighlight(const Molecule *molecule, int residueID, bool scrollViewersTo=false)
void FileMessengerSend(const std::string &toApp, const std::string &command, const std::string &data)
void RemoveHighlights(const Sequence *sequence, unsigned int seqIndexFrom, unsigned int seqIndexTo)
void PostRedrawAllStructures(void)
bool GetHighlightsForSelectionMessage(std::string *data) const
void UnPostRedrawSequenceViewer(ViewerBase *viewer)
SequenceViewerList sequenceViewers
void RemoveSequenceViewer(const ViewerBase *sequenceViewer)
std::list< ViewerBase * > SequenceViewerList
RedrawMoleculeList redrawMolecules
void SuspendHighlighting(bool suspend)
void AddStructureWindow(StructureWindow *window)
void AddSequenceViewer(ViewerBase *sequenceViewer)
void PostRedrawAllSequenceViewers(void)
StructureWindow * structureWindow
void AddHighlights(const Sequence *sequence, unsigned int seqIndexFrom, unsigned int seqIndexTo)
void SetHighlights(const MoleculeHighlightMap &newHighlights)
void CacheHighlights(void)
void ProcessRedraws(void)
std::map< const MoleculeIdentifier *, std::vector< bool > > MoleculeHighlightMap
void UnPostStructureRedraws(void)
std::map< ViewerBase *, bool > RedrawSequenceViewerList
bool IsAnythingHighlighted(void) const
#define END_SCOPE(ns)
End the previously defined scope.
#define BEGIN_SCOPE(ns)
Define a new scope.
Messenger * GlobalMessenger(void)
The NCBI C++/STL use hints.