OERenderBFactorMap¶
bool OERenderBFactorMap(OEDepict::OEImageBase &image, const OE2DActiveSiteDisplay &adisp)Renders the B-factor information of an active site display into an image.
- image
The image in which the active site is drawn.
- adisp
The OE2DActiveSiteDisplay object that holds the data necessary to depict the B-Factor information of an active site.
Example:
OEInteractionHintContainer asite = new OEInteractionHintContainer(receptor, ligand); oebio.OEPerceiveInteractionHints(asite); oegrapheme.OEPrepareActiveSiteDepiction(asite); OEImage image = new OEImage(800.0, 600.0); OE2DActiveSiteDisplayOptions opts = new OE2DActiveSiteDisplayOptions(image.GetWidth(), image.GetHeight()); opts.SetRenderInteractiveLegend(true); OE2DActiveSiteDisplay adisp = new OE2DActiveSiteDisplay(asite, opts); oegrapheme.OERenderContactMap(image, adisp); oedepict.OEWriteImage("RenderBFactorMap.svg", image);
See also
OEDrawBFactorMapLegend
function
OERenderActiveSite
function
OERenderActiveSiteMaps
function
OERenderContactMap
function
OERenderUnpairedInteractionMap
functionCode Example
Visualizing Protein-Ligand B-Factor OpenEye Python Cookbook example
Visualizing Protein-Ligand B-Factor Map OpenEye Python Cookbook example