TuttleOFX  1
IdKeyerDefinitions.hpp
Go to the documentation of this file.
00001 #ifndef _TUTTLE_PLUGIN_IDKEYER_DEFINITIONS_HPP_
00002 #define _TUTTLE_PLUGIN_IDKEYER_DEFINITIONS_HPP_
00003 
00004 #include <tuttle/plugin/global.hpp>
00005 
00006 #include <boost/lexical_cast.hpp>
00007 
00008 namespace tuttle {
00009 namespace plugin {
00010 namespace idKeyer {
00011 
00012 static const std::string kParamNbPoints  = "nbPoints";
00013 static const size_t      kMaxNbPoints    = 5;
00014 static const std::string kParamColor     = "color";
00015 static const std::string kParamUseAlpha  = "useAlpha";
00016 static const std::string kParamTolerance = "tolerance";
00017 
00018 inline std::string getColorParamName( const size_t i )
00019 {
00020         return kParamColor + boost::lexical_cast<std::string>( i );
00021 }
00022 
00023 }
00024 }
00025 }
00026 
00027 #endif