OERenderShapeQuery¶
void OERenderShapeQuery(OEDepict::OEImageBase &image,
const OEShapeQueryDisplay &disp)
Renders the reference molecule of the shape overlap.
- image
The image on which the reference molecule is rendered.
- disp
The OEShapeQueryDisplay object that holds the data necessary to depict the reference molecule of a shape overlap.
The following code snippet shows how to use the OERenderShapeQuery
function. The image created is shown in
Figure: Example of using the OERenderShapeQuery function.
OEShapeQueryDisplayOptions opts;
opts.SetTitleLocation(OETitleLocation::Hidden);
OEPen arcpen(OEWhite, OELightGrey, OEFill::On, 2.0);
opts.SetSurfaceArcFxn(OEDefaultArcFxn(arcpen));
OEShape::OEColorForceField cff;
cff.Init(OEShape::OEColorFFType::ImplicitMillsDean);
OEShapeQueryDisplay qdisp(refmol, cff, opts);
OEImage image(420.0, 280.0);
OERenderShapeQuery(image, qdisp);
See also
OERenderColorOverlap
functionOERenderShapeOverlap
function
Code Example
Visualizing Shape and Color Overlap OpenEye Python Cookbook recipe