BitObjectDrawModes.H File Reference

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

Go to the source code of this file.

Defines

#define NBBITOBJECTDRAWMODES   4
 number of known BitObject draw modes:

Enumerations

enum  BitObjectDrawMode { BODMnone = 0, BODMshape = 1, BODMoutline = 2, BODMbbox = 3 }
 

Possible BitObject draw modes.

More...

Functions

const char * bitObjectDrawModeName (const BitObjectDrawMode p)
 Returns name of given BitObject draw mode.
std::string convertToString (const BitObjectDrawMode val)
 BitObjectDrawMode overload.
void convertFromString (const std::string &str, BitObjectDrawMode &val)
 BitObjectDrawMode overload.

Detailed Description

definition of the different modes of drawing a BitObject into a frame

Definition in file BitObjectDrawModes.H.


Define Documentation

#define NBBITOBJECTDRAWMODES   4

number of known BitObject draw modes:

Definition at line 54 of file BitObjectDrawModes.H.

Referenced by bitObjectDrawModeName(), and convertFromString().


Enumeration Type Documentation

Possible BitObject draw modes.

Enumerator:
BODMshape 

don't draw the BitObject

BODMoutline 

draw the shape of the BitObject

BODMbbox 

draw the outline of the BitObject

Definition at line 45 of file BitObjectDrawModes.H.


Function Documentation

const char* bitObjectDrawModeName ( const BitObjectDrawMode  p  )  [inline]

Returns name of given BitObject draw mode.

Definition at line 57 of file BitObjectDrawModes.H.

References NBBITOBJECTDRAWMODES.

Referenced by convertFromString(), and convertToString().

void convertFromString ( const std::string str,
BitObjectDrawMode val 
)

BitObjectDrawMode overload.

Format is "name" as defined in BitObjectDrawModes.H

Definition at line 51 of file BitObjectDrawModes.C.

References bitObjectDrawModeName(), and NBBITOBJECTDRAWMODES.

std::string convertToString ( const BitObjectDrawMode  val  ) 

BitObjectDrawMode overload.

Format is "name" as defined in BitObjectDrawModes.H

Definition at line 48 of file BitObjectDrawModes.C.

References bitObjectDrawModeName().

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