TuttleOFX
1
|
00001 #ifndef _TUTTLE_PLUGIN_PINNING_DEFINITIONS_HPP_ 00002 #define _TUTTLE_PLUGIN_PINNING_DEFINITIONS_HPP_ 00003 00004 #include <tuttle/plugin/global.hpp> 00005 #include <tuttle/plugin/context/SamplerDefinition.hpp> 00006 00007 namespace tuttle { 00008 namespace plugin { 00009 namespace pinning { 00010 00011 static const std::string kParamMethod = "method"; 00012 static const std::string kParamMethodAffine = "affine"; 00013 static const std::string kParamMethodPerspective = "perspective"; 00014 static const std::string kParamMethodBilinear = "bilinear"; 00015 enum EParamMethod 00016 { 00017 eParamMethodAffine = 0, 00018 eParamMethodPerspective, 00019 eParamMethodBilinear 00020 }; 00021 00022 static const std::string kParamSetToCornersIn = "setToCornersIn"; 00023 static const std::string kParamSetToCornersOut = "setToCornersOut"; 00024 static const std::string kParamOverlay = "overlay"; 00025 static const std::string kParamInverse = "inverse"; 00026 00027 static const std::string kParamGroupCentre = "groupCentre"; 00028 static const std::string kParamPointCentre = "pCentre"; 00029 static const std::string kParamOverlayCentre = "overlayCentre"; 00030 static const std::string kParamOverlayCentreColor = "overlayCentreColor"; 00031 00032 static const std::string kParamGroupIn = "groupIn"; 00033 static const std::string kParamPointIn = "pIn"; 00034 static const std::string kParamOverlayIn = "overlayIn"; 00035 static const std::string kParamOverlayInColor = "overlayInColor"; 00036 00037 static const std::string kParamGroupOut = "groupOut"; 00038 static const std::string kParamPointOut = "pOut"; 00039 static const std::string kParamOverlayOut = "overlayOut"; 00040 static const std::string kParamOverlayOutColor = "overlayOutColor"; 00041 00042 static const std::string kParamGroupPerspMatrix = "groupPerspMatrix"; 00043 static const std::string kParamPerspMatrixRow = "perpMatrix"; 00044 static const std::string kParamGroupBilinearMatrix = "groupBilinearMatrix"; 00045 static const std::string kParamBilinearMatrixRow = "bilinearMatrix"; 00046 00047 00048 static const std::string kParamManipulatorMode = "manipulatorMode"; 00049 static const std::string kParamManipulatorModeTranslate = "translate"; 00050 static const std::string kParamManipulatorModeRotate = "rotate"; 00051 static const std::string kParamManipulatorModeScale = "scale"; 00052 enum EParamManipulatorMode 00053 { 00054 eParamManipulatorModeTranslate = 0, 00055 eParamManipulatorModeRotate, 00056 eParamManipulatorModeScale, 00057 }; 00058 00059 } 00060 } 00061 } 00062 00063 #endif