OEColorOptions

class OEColorOptions : public OESystem::OEOptions

This class provides an interface to setup options required for OEColorFunc calculations.

The OEColorOptions class defines the following public methods:

Constructors

OEColorOptions()
OEColorOptions(const OEColorOptions&)

Default and copy constructors.

operator=

OEColorOptions &operator=(const OEColorOptions &)

GetColorForceField

const OEColorForceField* GetColorForceField() const

See SetColorForceField method.

GetMultiplier

double GetMultiplier() const

See SetMultiplier method.

GetScoreType

unsigned int GetScoreType() const

See SetScoreType method.

SetColorForceField

bool SetColorForceField(unsigned int type)
bool SetColorForceField(OEPlatform::oeistream &is)
bool SetColorForceField(const std::string &filename)
bool SetColorForceField(const OEColorForceField &cff)

Sets the color force field to be used. By default the ImplicitMillsDean color force field is used.

SetMultiplier

bool SetMultiplier(const double)

Sets the multiplier to the color score. THe multiplier only effects the color score and has no effect on the color tanimoto. Default: 1.0

SetScoreType

bool SetScoreType(const unsigned)

Sets the score type to be reported by this function. Possible values are defined in the OEScoreType namespace. Default: OEScoreType::Overlap