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 = new OEImage(800, 600);

OERamachandranPlot ramaplot = new OERamachandranPlot();
ramaplot.AddMolecule(protein);

oegrapheme.OERenderRamachandranPlot(image, ramaplot);

Example of using the OERenderRamachandranPlot function

../../_images/RenderRamachandranPlot.svg

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

Example:

OEImage image = new OEImage(800, 600);

OERamachandranPlot ramaplot = new OERamachandranPlot();
ramaplot.AddMolecule(protein);

oegrapheme.OERenderRamachandranPlot(image, ramaplot, OERamaType.General);

Example of using the OERenderRamachandranPlot function

../../_images/RenderRamachandranPlot-General.svg

Code Example