#include <string>
Go to the source code of this file.
Defines | |
#define | NBCOLORCOMPUTETYPES 3 |
number of known OrientComputeTypes: | |
Enumerations | |
enum | ColorComputeType { COLstandard = 0, COLsimple = 1, COLstandardFull = 2 } |
Possible types computing orientations. More... | |
Functions | |
const char * | colorComputeTypeName (const ColorComputeType p) |
std::string | convertToString (const ColorComputeType val) |
ColorCOmputeType overload. | |
void | convertFromString (const std::string &str, ColorComputeType &val) |
ColorComputeType overload. |
Definition in file ColorComputeTypes.H.
#define NBCOLORCOMPUTETYPES 3 |
number of known OrientComputeTypes:
Definition at line 53 of file ColorComputeTypes.H.
Referenced by convertFromString().
enum ColorComputeType |
Possible types computing orientations.
COLstandard |
use the standard way of computing RG and BY |
COLsimple |
use the straight-forward simple way to do it |
COLstandardFull |
use the standard way of computing RG,RG and BY,YB |
Definition at line 45 of file ColorComputeTypes.H.
void convertFromString | ( | const std::string & | str, | |
ColorComputeType & | val | |||
) |
ColorComputeType overload.
Format is "name" as defined by colorComputeTypeName() in ColorComputeTypes.H
Definition at line 50 of file ColorComputeTypes.C.
References NBCOLORCOMPUTETYPES.
std::string convertToString | ( | const ColorComputeType | val | ) |
ColorCOmputeType overload.
Format is "name" as defined by colorComputeTypeName() in ColorComputeTypes.H
Definition at line 47 of file ColorComputeTypes.C.