OEAddHighlightOverlayΒΆ

void OEAddHighlightOverlay(OE2DMolDisplay &disp,
                           const OEHighlightOverlayBase &highlight,
                           OESystem::OEIter<OEChem::OEMatchBase> &matches)
void OEAddHighlightOverlay(OE2DMolDisplay &disp,
                           const OEHighlightOverlayBase &highlight,
                           OESystem::OEIter<OEChem::OEAtomBondSet> &absets)
void OEAddHighlightOverlay(OE2DMolDisplay &disp,
                           const OEHighlightOverlayBase &highlight,
                           OESystem::OEIterBase<OEChem::OEMatchBase> *matches)
void OEAddHighlightOverlay(OE2DMolDisplay &disp,
                           const OEHighlightOverlayBase &highlight,
                           OESystem::OEIterBase<OEChem::OEAtomBondSet> *absets)
void OEAddHighlightOverlay(OE2DMolDisplay& disp, const OEHighlightOverlayBase& highlight,
                           const std::vector<OEChem::OEAtomBondSet>& absets)

Highlights a set of atoms and/or bonds of the displayed molecule.

Parameters :

disp

The OE2DMolDisplay object of which atoms add/or bonds being highlighted.

highlight

The OEHighlightOverlayBase object that specifies the style of the highlighting.

matches

The iterator of OEMatchBase objects of which target atoms and bonds being highlighted.

absets

The iterator of OEAtomBondSet objects of which atoms and bonds being highlighted.

Note

Each pattern will be highlighted with a different color returned by the OEHighlightOverlayBase.GetColors method.