class OEResidueSVGStandardMarkup : public OEResidueSVGMarkupBase
This class represents OEResidueSVGStandardMarkup residue SVG markup functor. If this functor is passed to the OE2DActiveSiteDisplayOptions::SetResidueSVGMarkupFunctor method, the residues will be in svg image when calling the OERenderActiveSite function.
See also
The following methods are publicly inherited from OEResidueSVGMarkupBase:
CreateCopy | GetClassName | GetGroupId |
OEResidueSVGStandardMarkup(const std::string prefix="",
const std::string classname="residue",
const char separator='-')
Creates an OEResidueSVGStandardMarkup object.
By default, the following will be showed in svg image for marking a Leucine residue with chain id ‘A’ and residue number 715:
<g id='LEU-A-715' class='residue'>
..
list of drawing elements
..
</g>
OEResidueSVGMarkupBase *CreateCopy() const
Deep copy constructor that returns a copy of the object. The memory for the returned OEResidueSVGNoMarkup object is dynamically allocated and owned by the caller.
std::string GetClassName(const OEChem::OEResidue &residue) const
Returns the string that specifies the group id of a residue in an svg image.
std::string GetGroupId(const OEChem::OEResidue &residue) const
Returns the string that specifies the class name of a residue in an svg image.