OEAddGlyph¶
void OEAddGlyph(OEDepict::OE2DMolDisplay &disp,
const OEAtomGlyphBase &atomglyph,
const OEChem::OEMatchBase &match)
void OEAddGlyph(OEDepict::OE2DMolDisplay &disp,
const OEAtomGlyphBase &atomglyph,
const OEChem::OEAtomBondSet &abset)
void OEAddGlyph(OEDepict::OE2DMolDisplay &disp,
const OEAtomGlyphBase &atomglyph,
const OESystem::OEUnaryPredicate<OEChem::OEAtomBase> &pred)
Annotates atoms with the style implemented in the given OEAtomGlyphBase object. The atoms being annotated can be specified either by an OEMatchBase or an OEAtomBondSet object or by an atom predicate.
- disp
The OE2DMolDisplay object whose atoms are being annotated.
- atomglyph
Specifies the style of the annotation. Each atom is being annotated by calling the
OEAtomGlyphBase::RenderGlyphmethod.- match
OEAddGlyphfunction annotates the target atoms of the OEMatchBase object.- abset
OEAddGlyphfunction annotates the atoms returned by theGetAtomsmethod.- pred
OEAddGlyphfunction annotates only atoms for which the given atom predicate returns true.
See also
Annotating Atoms and Bonds chapter
OEAtomGlyphBase class
OEAtomGlyphCircle class
void OEAddGlyph(OEDepict::OE2DMolDisplay &disp,
const OEBondGlyphBase &bondglyph,
const OEChem::OEMatchBase &match)
void OEAddGlyph(OEDepict::OE2DMolDisplay &disp,
const OEBondGlyphBase &bondglyph,
const OEChem::OEAtomBondSet &abset)
void OEAddGlyph(OEDepict::OE2DMolDisplay &disp,
const OEBondGlyphBase &bondglyph,
const OESystem::OEUnaryPredicate<OEChem::OEBondBase> &pred)
Annotates bonds with the style implemented in the given OEBondGlyphBase object. The bond being annotated can be specified either by an OEMatchBase or an OEAtomBondSet object or by a bond predicate.
- disp
The OE2DMolDisplay object whose bonds are being annotated.
- bondglyph
Specifies the style of the annotation. Each bond is being annotated by calling the
OEBondGlyphBase::RenderGlyphmethod.- match
OEAddGlyphfunction annotates the target bonds of the OEMatchBase object.- abset
OEAddGlyphfunction annotates the bonds returned by theGetBondsmethod.- pred
OEAddGlyphfunction annotates only bonds for which the given bond predicate returns true.
See also
Annotating Atoms and Bonds chapter
OEBondGlyphBase class
OEBondGlyphCross class
OEBondGlyphCurvedArrow class
OEBondGlyphScissors class