OEMonomerColorBase
Attention
This is a preliminary API and may be improved based on user feedback. It is currently available in C++ and Python.
OESystem::OEUnaryFunction<OEChem::OEMonomerData, OESystem::OEColor, true, true> OEMonomerColorBase
OEMonomerColorBase is an abstract class that
defines the API used to assign colors to monomers.
The following classes derive from this abstract class:
OEMonomerColorDefaultclassOEMonomerColorMonochromeclass
operator()
__call__(arg0: OEMonomerData) -> OEColor
This is a virtual const method that must be implemented in the concrete derived classes.
CreateCopy
CreateCopy() -> OEMonomerColorBase
Virtual const constructor which allows copying of concrete derived objects using a reference to this base class.