OEAtomGlyphBase¶
class OEAtomGlyphBase
OEAtomGlyphBase is an abstract class that defines the interface used for atom annotation.
See also
- Annotating Atoms and Bonds chapter
- OEAddGlyph function.
The following classes derive from this class:
CreateCopy¶
virtual OEAtomGlyphBase *CreateCopy() const =0
Virtual const constructor which allows copying of concrete derived objects using a reference to this base class.
RenderGlyph¶
bool RenderGlyph(OEDepict::OE2DMolDisplay &disp, const OEChem::OEAtomBase *atom) const =0
It is a virtual const method that is implemented in the concrete derived classes to annotate the given atom (i.e. to draw a glyph to mark the atom).
- disp
- The OE2DMolDisplay object that is modified to annotate the specified atom.
- atom
- The OEAtomBase object being annotated.