public class BasicGenerator extends Object implements IGenerator<IAtomContainer>
BasicAtomGenerator
and
BasicBondGenerator
.Constructor and Description |
---|
BasicGenerator()
Make a basic generator that creates elements for atoms and bonds.
|
Modifier and Type | Method and Description |
---|---|
IRenderingElement |
generate(IAtomContainer ac,
RendererModel model)
Converts a
IChemObject from the chemical data model into
something that can be drawn in the chemical drawing. |
List<IGeneratorParameter<?>> |
getParameters()
Returns the list of
IGeneratorParameter for this particular
generator. |
public BasicGenerator()
public IRenderingElement generate(IAtomContainer ac, RendererModel model)
IChemObject
from the chemical data model into
something that can be drawn in the chemical drawing.generate
in interface IGenerator<IAtomContainer>
ac
- the chemical entity to be depictedmodel
- the rendering parameterspublic List<IGeneratorParameter<?>> getParameters()
IGeneratorParameter
for this particular
generator.getParameters
in interface IGenerator<IAtomContainer>
List
of IGeneratorParameter
sCopyright © 2021. All rights reserved.