PiXTrace Namespace Reference

Sets number of Objects based on Base and number of Color Layers. More...


Enumerations

enum  BaseTypes
enum  color_src

Functions

const char * color_name (uint n)
 Returns full name for color layer number.
const char * color_short_name (uint n)
 Returns short name for color layer number.
const char color_initial (uint n)
 Returns name initial for color layer number.
const char * type_name (uchar tn)
 Returns the full name of the base type.
const char type_initial (uchar tn)
 Returns the first letter of the base type.
uchar type_num (char c)
 Returns the type number.


Detailed Description

Sets number of Objects based on Base and number of Color Layers.

Enumeration Type Documentation

B_TYPE=0, C_TYPE, L_TYPE, S_TYPE, R_TYPE, NUM_BASE_TYPES

layers LUM=0, URG, VYB, CHR, HUE, NUM_SOURCES


Function Documentation

const char PiXTrace::color_initial ( uint  n  )  [inline]

Returns name initial for color layer number.

Returns:
L, U, V, C, H.
Parameters:
n must be LUM, URG, VYB, CHR, or HUE

const char* PiXTrace::color_name ( uint  n  )  [inline]

Returns full name for color layer number.

Returns:
"luminance", "red-green(U)", "yellow-blue(V)", "chroma", or "hue"
Parameters:
n must be LUM, URG, VYB, CHR, or HUE

const char* PiXTrace::color_short_name ( uint  n  )  [inline]

Returns short name for color layer number.

Returns:
"lum", "urg", "vyb", "chr", or "hue".
Parameters:
n must be LUM, URG, VYB, CHR, or HUE

const char PiXTrace::type_initial ( uchar  tn  )  [inline]

Returns the first letter of the base type.

Returns:
'B', 'C', 'L', 'S', or 'R'
Parameters:
tn must be the type number since it is a uchar.

const char* PiXTrace::type_name ( uchar  tn  )  [inline]

Returns the full name of the base type.

Returns:
"Blob", "CentLine", "Line", "Spot", or "Region".
Parameters:
tn must be the type number since it is a uchar.

uchar PiXTrace::type_num ( char  c  )  [inline]

Returns the type number.

Returns:
B_TYPE, C_TYPE, L_TYPE, S_TYPE, or R_TYPE.
Parameters:
c must be the char 'B', 'C', 'L', 'S', or 'R'


Generated on Fri Aug 1 22:02:12 2008 for pixtrace by  doxygen 1.5.5