TuttleOFX  1
WarpDefinitions.hpp
Go to the documentation of this file.
00001 #ifndef _TUTTLE_PLUGIN_WARP_DEFINITIONS_HPP_
00002 #define _TUTTLE_PLUGIN_WARP_DEFINITIONS_HPP_
00003 
00004 #include <tuttle/plugin/global.hpp>
00005 
00006 
00007 namespace tuttle {
00008 namespace plugin {
00009 namespace warp {
00010 
00011 static const std::size_t kMaxNbPoints = 20;
00012 //static const std::size_t kPasBezier = 0.2;
00013 static const float lineWidth = 0.5;
00014 static const float pointWidth = 3.0;
00015 static const int seuil = 15;
00016 
00017 static const float positionOrigine = -200.0;
00018 
00019 //static const int nbCoeffBezier = 50;
00020 
00021 //static const std::string kClipSourceA = "A";
00022 static const std::string kClipSourceB = "B";
00023 
00024 static const std::string kParamMethod = "method";
00025 static const std::string kParamMethodCreation = "creation";
00026 static const std::string kParamMethodDelete = "delete";
00027 static const std::string kParamMethodMove = "move";
00028 enum EParamMethod
00029 {
00030         eParamMethodCreation = 0,
00031         eParamMethodDelete,
00032         eParamMethodMove,
00033 
00034 };
00035 
00036 
00037 static const std::string kParamOverlay = "overlay";
00038 static const std::string kParamInverse = "inverse";
00039 static const std::string kParamNbPoints = "nbPoints";
00040 static const std::string kParamTransition = "transition";
00041 static const std::string kParamReset = "reset";
00042 static const std::string kParamNextCurve = "nextCurve";
00043 static const std::string kParamSetKey = "setKey";
00044 
00045 static const std::string kParamGroupSettings = "settings";
00046 static const std::string kParamNbPointsBezier = "Points Bezier";
00047 static const std::string kParamRigiditeTPS = "Rigidite TPS";
00048 
00049 static const std::string kParamGroupIn = "groupIn";
00050 static const std::string kParamPointIn = "pIn";
00051 static const std::string kParamOverlayIn = "overlayIn";
00052 static const std::string kParamOverlayInColor = "overlayInColor";
00053 
00054 static const std::string kParamGroupOut = "groupOut";
00055 static const std::string kParamPointOut = "pOut";
00056 static const std::string kParamOverlayOut = "overlayOut";
00057 static const std::string kParamOverlayOutColor = "overlayOutColor";
00058 
00059 static const std::string kParamGroupTgtIn = "groupTgtIn";
00060 static const std::string kParamPointTgtIn = "pTangenteIn";
00061 static const std::string kParamOverlayTgtIn = "overlayTgtIn";
00062 static const std::string kParamOverlayTgtInColor = "overlayTangentInColor";
00063 
00064 static const std::string kParamGroupTgtOut = "groupTgtOut";
00065 static const std::string kParamPointTgtOut = "pTangenteOut";
00066 static const std::string kParamOverlayTgtOut = "overlayTgtOut";
00067 static const std::string kParamOverlayTgtOutColor = "overlayTangentOutColor";
00068 
00069 static const std::string kParamGroupCurveBegin = "groupCurveBegin";
00070 static const std::string kParamCurveBegin = "pCurveBegin";
00071 
00072 static const std::string kParamGroupOverlay = "groupOverlay";
00073 
00074 }
00075 }
00076 }
00077 
00078 #endif