ColorComputeTypes.H File Reference

#include <string>
Include dependency graph for ColorComputeTypes.H:
This graph shows which files directly or indirectly include this file:

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.

Detailed Description

Definition in file ColorComputeTypes.H.


Define Documentation

#define NBCOLORCOMPUTETYPES   3

number of known OrientComputeTypes:

Definition at line 53 of file ColorComputeTypes.H.

Referenced by convertFromString().


Enumeration Type Documentation

Possible types computing orientations.

Enumerator:
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.


Function Documentation

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.

Generated on Sun May 8 08:09:27 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3