OERenderRamachandranPlot¶
bool OERenderRamachandranPlot(OEDepict::OEImageBase &image, const OERamachandranPlot &plot)Renders the six Ramachandran plots into separate tabs of the given image.
- image
The image on which the Ramachandran plots are rendered.
- plot
The OERamachandranPlot object that stores the data of a Ramachandran plot.
Note
This functionality is only available for
.svg
image format.Example:
OEImage image(80u, 600u); OERamachandranPlot ramaplot; ramaplot.AddMolecule(protein); OERenderRamachandranPlot(image, ramaplot);
bool OERenderRamachandranPlot(OEDepict::OEImageBase &image,
const OERamachandranPlot &plot,
unsigned int ramatype)
Renders a specific Ramachandran plot into the given image.
- image
The image on which the specific Ramachandran plot is rendered.
- plot
The OERamachandranPlot object that stores the data of a Ramachandran plot.
- ramatype
The type of the Ramachandran plot being rendered. This value has to be from the
OERamaType
namespace.
See also
OERamachandranAnalysis class in OEChem TK manual
Example:
OEImage image(800u, 600u);
OERamachandranPlot ramaplot;
ramaplot.AddMolecule(protein);
OERenderRamachandranPlot(image, ramaplot, OERamaType::General);
Code Example
Ramachandran Plot OpenEye Python Cookbook recipe