TuttleOFX
1
|
00001 #ifndef _TUTTLE_PLUGIN_PUSHPIXEL_DEFINITIONS_HPP_ 00002 #define _TUTTLE_PLUGIN_PUSHPIXEL_DEFINITIONS_HPP_ 00003 00004 #include <tuttle/common/utils/global.hpp> 00005 00006 00007 namespace tuttle { 00008 namespace plugin { 00009 namespace pushPixel { 00010 00011 const static std::string kClipMask = "mask"; 00012 const static std::string kParamSize = "size"; 00013 const static std::string kParamNormalizedKernel = "normalizedKernel"; 00014 const static std::string kParamIntensity = "intensity"; 00015 const static std::string kParamAngle = "angle"; 00016 00017 const std::string kParamInterpolation( "interpolation" ); 00018 const std::string kParamInterpolationNearest( "nearest neighbor" ); 00019 const std::string kParamInterpolationBilinear( "bilinear" ); 00020 enum EParamInterpolation 00021 { 00022 eParamInterpolationNearest = 0, 00023 eParamInterpolationBilinear, 00024 }; 00025 00026 const static std::string kParamBorder = "border"; 00027 const static std::string kParamBorderMirror = "Mirror"; 00028 const static std::string kParamBorderConstant = "Constant"; 00029 const static std::string kParamBorderBlack = "Black"; 00030 const static std::string kParamBorderPadded = "Padded"; 00031 enum EParamBorder 00032 { 00033 eParamBorderMirror = 0, 00034 eParamBorderConstant, 00035 eParamBorderBlack, 00036 eParamBorderPadded 00037 }; 00038 00039 const static std::string kParamOutput = "output"; 00040 const static std::string kParamOutputMotionVectors = "Motion vectors"; 00041 const static std::string kParamOutputPushPixel = "Push pixel"; 00042 enum EParamOutput 00043 { 00044 eParamOutputMotionVectors = 0, 00045 eParamOutputPushPixel 00046 }; 00047 00048 const static std::string kHelpButton = "Help"; 00049 const static std::string kHelpString = "<b>PushPixel</b>\n" 00050 "Move pixels depending on the mask's gradient."; 00051 00052 00053 } 00054 } 00055 } 00056 00057 #endif