OEHighlightOverlayStyleΒΆ

This namespace contains constants representing various styles of overlay highlighting.

The OEHighlightOverlayStyle namespace contains the following constants:

Default

The default highlighting style is OEHighlightOverlayStyle::BallAndStick.

BallAndStick

See example in Figure: Example of overlay highlighting using the ‘BallAndStick’ style.

  • Atoms are highlighted by depicting spheres underneath them. If an atom is part of more than one patterns, then all the colors associated with the patterns are used by turns to color pie segments of the sphere.
  • Bonds are highlighted by depicting sticks underneath them. If a bond is part of more than one patterns, then all the colors associated with the patterns are used by turns to color line segments of the stick.
../../_images/OEHighlightOverlayStyle_BallAndStick.png

Example of overlay highlighting using the ‘BallAndStick’ style

The radius of the spheres and the width of the sticks are automatically scaled with the molecule. See example in Figure: Example of scaling the ‘BallAndStick’ style highlighting along with the molecule.

../../_images/HighlightOverlayScaling_BallAndStick.png

Example of scaling the ‘BallAndStick’ style highlighting along with the molecule

Note

It is recommended to select colors with high contrast when highlighting overlapped patterns with the OEHighlightOverlayStyle::BallAndStick style.

See also

Event though there is not limit on the number of overlapping patterns that can be highlighted simultaneously, attempting to highlight to many patterns will result in a complex image that will be difficult to visually interpret. See example in Figure: Example of highlighting extremely overlapping patterns In this image, all unique ‘phenol’ substructures of a molecule are highlighted simultaneously.

../../_images/HighlightOverlayManyPatterns_BallAndStick.png

Example of highlighting extremely overlapping patterns