public class DescriptorCalculationProcessor extends AbstractDescriptorCalculationProcessor<org.openscience.cdk.interfaces.IAtomContainer,org.openscience.cdk.qsar.IMolecularDescriptor> implements IStructureDiagramHighlights
Modifier and Type | Field and Description |
---|---|
protected Dimension |
imageSize |
descriptor
Constructor and Description |
---|
DescriptorCalculationProcessor() |
DescriptorCalculationProcessor(org.openscience.cdk.qsar.IMolecularDescriptor descriptor) |
Modifier and Type | Method and Description |
---|---|
org.openscience.cdk.qsar.DescriptorValue |
calculate(org.openscience.cdk.interfaces.IAtomContainer target) |
org.openscience.cdk.qsar.IMolecularDescriptor |
getDescriptor() |
BufferedImage |
getImage(org.openscience.cdk.interfaces.IAtomContainer mol) |
BufferedImage |
getImage(org.openscience.cdk.interfaces.IAtomContainer mol,
String ruleID,
int width,
int height,
boolean atomnumbers) |
Dimension |
getImageSize() |
BufferedImage |
getLegend(int width,
int height) |
void |
setDescriptor(org.openscience.cdk.qsar.IMolecularDescriptor descriptor) |
void |
setImageSize(Dimension imageSize) |
protected BufferedImage |
writeMessages(String[] msg,
int width,
int height) |
process
protected Dimension imageSize
public DescriptorCalculationProcessor()
public DescriptorCalculationProcessor(org.openscience.cdk.qsar.IMolecularDescriptor descriptor)
public Dimension getImageSize()
getImageSize
in interface IStructureDiagramDepiction<BufferedImage>
public void setImageSize(Dimension imageSize)
setImageSize
in interface IStructureDiagramDepiction<BufferedImage>
public org.openscience.cdk.qsar.IMolecularDescriptor getDescriptor()
getDescriptor
in class AbstractDescriptorCalculationProcessor<org.openscience.cdk.interfaces.IAtomContainer,org.openscience.cdk.qsar.IMolecularDescriptor>
public void setDescriptor(org.openscience.cdk.qsar.IMolecularDescriptor descriptor)
setDescriptor
in class AbstractDescriptorCalculationProcessor<org.openscience.cdk.interfaces.IAtomContainer,org.openscience.cdk.qsar.IMolecularDescriptor>
public org.openscience.cdk.qsar.DescriptorValue calculate(org.openscience.cdk.interfaces.IAtomContainer target) throws net.idea.modbcum.i.exceptions.AmbitException
calculate
in class AbstractDescriptorCalculationProcessor<org.openscience.cdk.interfaces.IAtomContainer,org.openscience.cdk.qsar.IMolecularDescriptor>
net.idea.modbcum.i.exceptions.AmbitException
public BufferedImage getImage(org.openscience.cdk.interfaces.IAtomContainer mol) throws net.idea.modbcum.i.exceptions.AmbitException
getImage
in interface IStructureDiagramDepiction<BufferedImage>
net.idea.modbcum.i.exceptions.AmbitException
public BufferedImage getImage(org.openscience.cdk.interfaces.IAtomContainer mol, String ruleID, int width, int height, boolean atomnumbers) throws net.idea.modbcum.i.exceptions.AmbitException
getImage
in interface IStructureDiagramDepiction<BufferedImage>
net.idea.modbcum.i.exceptions.AmbitException
public BufferedImage getLegend(int width, int height) throws net.idea.modbcum.i.exceptions.AmbitException
getLegend
in interface IStructureDiagramDepiction<BufferedImage>
net.idea.modbcum.i.exceptions.AmbitException
protected BufferedImage writeMessages(String[] msg, int width, int height) throws net.idea.modbcum.i.exceptions.AmbitException
net.idea.modbcum.i.exceptions.AmbitException
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.