OEBondGlyphBase¶
class OEBondGlyphBase
OEBondGlyphBase is an abstract class that defines the interface used for bond annotation.
See also
Annotating Atoms and Bonds chapter
OEAddGlyph
function.
The following classes derive from this class:
OEBondGlyphCross class
OEBondGlyphCurvedArrow class
OEBondGlyphScissors class
OEBondGlyphStitch class
OEBondGlyphZigZag class
CreateCopy¶
virtual OEBondGlyphBase *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 &, const OEChem::OEBondBase *) const =0
It is a virtual const method that is implemented in the concrete derived classes to annotate the given bond (i.e. to draw a glyph to mark the bond).
- disp
The OE2DMolDisplay object that is modified to annotate the specified bond.
- atom
The OEBondBase object being annotated.