OEHighlightMonomerDisplayOptions
Attention
This is a preliminary API and may be improved based on user feedback. It is currently available in C++ and Python.
class OEHighlightMonomerDisplayOptions : public OEDepict::OE2DMolDisplayOptions
The OEHighlightMonomerDisplayOptions class
is used to customize molecule depiction when using OEHighlightMonomers function.
Example of using OEHighlightMonomers function
The following methods are publicly inherited from OE2DMolDisplayOptions:
Constructors
OEHighlightMonomerDisplayOptions()
Default constructor.
OEHighlightMonomerDisplayOptions(double width, double height,
double scale)
Constructor that sets the image dimensions and scale.
OEHighlightMonomerDisplayOptions(const OEHighlightMonomerDisplayOptions& rhs)
Copy constructor.
operator=
OEHighlightMonomerDisplayOptions &operator=(const OEHighlightMonomerDisplayOptions &rhs)
Assignment operator.
GetMonomerHighlightColorFunctor
const OEMonomerColorBase& GetMonomerHighlightColorFunctor() const
Returns the functor that is used to determine the color used
to highlight the monomers.
By default, the OEMonomerColorDefault functor is used.
GetMonomerLabelColorFunctor
const OEMonomerColorBase& GetMonomerLabelColorFunctor() const
Returns the functor that is used to determine the color of the font use to draw the monomer code.
By default, the OEMonomerColorMonochrome functor is used
to set all monomer code fonts to black.
SetMonomerHighlightColorFunctor
void SetMonomerHighlightColorFunctor(const OEMonomerColorBase& func)
Sets the functor that is used to determine the color used to highlight the monomers.
SetMonomerLabelColorFunctor
void SetMonomerLabelColorFunctor(const OEMonomerColorBase& func)
Sets the functor that is used to determine the color of the font used to draw the monomer code.
GetHighlightUnspecifiedStereo
bool GetHighlightUnspecifiedStereo() const
Returns whether monomers with unspecified stereo are highlighted.
SetHighlightUnspecifiedStereo
void SetHighlightUnspecifiedStereo(bool highlight)
Sets whether monomers with unspecified stereo are highlighted.