OEMonomerColorMonochrome

Attention

This is a preliminary API and may be improved based on user feedback. It is currently available in C++ and Python.

class OEMonomerColorMonochrome : public OEMonomerColorBase

The OEMonomerColorMonochrome class is used to assign the same color to every monomer.

The following methods are publicly inherited from OEMonomerColorBase:

CreateCopy

operator()

Constructors

OEMonomerColorMonochrome() -> OEMonomerColorMonochrome

Default constructor that sets the color to OEBlack.

OEMonomerColorMonochrome(color: OEColor) -> OEMonomerColorMonochrome

Constructor with the given color (OEColor).

operator()

__call__(arg2: OEMonomerData) -> OEColor

Returns the color that the functor was initialized with for each monomer input.

CreateCopy

CreateCopy() -> OEMonomerColorBase

Deep copy constructor that returns a copy of the object. The memory for the returned OEMonomerColorMonochrome object is dynamically allocated and owned by the caller.