Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

ShapeTypes.cc

Go to the documentation of this file.
00001 //-*-c++-*-
00002 
00003 #include "ShapeTypes.h"
00004 
00005 namespace DualCoding {
00006 
00007 const char* data_name(int data_type)
00008 {
00009   switch(data_type) {
00010   case lineDataType:
00011     return("LineData");
00012     break;
00013   case ellipseDataType:
00014     return("EllipseData");
00015     break;
00016   case pointDataType:
00017     return("PointData");
00018     break;
00019   case agentDataType:
00020     return("AgentData");
00021     break;
00022   case sphereDataType:
00023     return("SphereData");
00024     break;
00025   case polygonDataType:
00026     return("PolygonData");
00027     break;
00028   case blobDataType:
00029     return("BlobData");
00030     break;
00031   case brickDataType:
00032     return("BrickData");
00033     break;
00034   case pyramidDataType:
00035     return("PyramidData");
00036     break;
00037   case localizationParticleDataType:
00038     return("LocalizationParticleData");
00039     break;
00040   case targetDataType:
00041     return("TargetData");
00042     break;
00043   case markerDataType:
00044     return("MarkerData");
00045     break;
00046   case cylinderDataType:
00047   return("CylinderData");
00048     break;
00049   case siftDataType:
00050   return("SiftData");
00051     break;
00052   case aprilTagDataType:
00053   return("AprilTagData");
00054     break;
00055   case graphicsDataType:
00056   return("GraphicsData");
00057     break;
00058   case dominoDataType:
00059   return("DominoData");
00060     break;
00061   case naughtDataType:
00062   return("NaughtData");
00063     break;
00064   case crossDataType:
00065   return("CrossData");
00066     break;
00067   case skeletonDataType:
00068   return("SkeletonData");
00069     break;
00070   case unknownDataType:
00071   default:
00072     return("*Unknown*");
00073     break;
00074   }
00075 }
00076 
00077 } // namespace

DualCoding 5.1CVS
Generated Mon May 9 04:56:27 2016 by Doxygen 1.6.3