TuttleOFX  1
MergeDefinitions.hpp
Go to the documentation of this file.
00001 #ifndef _TUTTLE_PLUGIN_MERGE_DEFINITIONS_HPP_
00002 #define _TUTTLE_PLUGIN_MERGE_DEFINITIONS_HPP_
00003 
00004 #include <tuttle/plugin/global.hpp>
00005 
00006 namespace tuttle {
00007 namespace plugin {
00008 namespace merge {
00009 
00010 // Descriptors name
00011 static const std::string kParamSourceA       = "A";
00012 static const std::string kParamSourceB       = "B";
00013 static const std::string kParamFunction      = "mergingFunction";
00014 static const std::string kParamFunctionLabel = "Merging function";
00015 
00016 static const std::string kParamOffsetA       = "offsetA";
00017 static const std::string kParamOffsetB       = "offsetB";
00018 
00019 static const std::string kParamRod           = "rod";
00020 static const std::string kParamRodIntersect  = "intersection";
00021 static const std::string kParamRodUnion      = "union";
00022 static const std::string kParamRodA          = "A";
00023 static const std::string kParamRodB          = "B";
00024 
00025 enum EParamRod
00026 {
00027         eParamRodIntersect = 0,
00028         eParamRodUnion,
00029         eParamRodA,
00030         eParamRodB
00031 };
00032 
00033 // Plugin internal data
00034 
00035 enum EParamMerge
00036 {
00037         eParamMergeATop, eParamMergeAverage,
00038         eParamMergeColor,
00039         eParamMergeColorBurn, eParamMergeColorDodge,
00040         eParamMergeConjointOver, eParamMergeCopy,
00041         eParamMergeDifference, eParamMergeDisjointOver,
00042         eParamMergeDivide, eParamMergeExclusion,
00043         eParamMergeFreeze, eParamMergeFrom,
00044         eParamMergeGeometric, eParamMergeHardLight,
00045         eParamMergeHypot, eParamMergeIn,
00046         eParamMergeInterpolated, eParamMergeMask,
00047         eParamMergeMatte, eParamMergeLighten,
00048         eParamMergeDarken, eParamMergeMinus,
00049         eParamMergeMultiply, eParamMergeOut,
00050         eParamMergeOver, eParamMergeOverlay,
00051         eParamMergePinLight, eParamMergePlus,
00052         eParamMergeReflect, eParamMergeScreen,
00053         eParamMergeStencil, eParamMergeUnder,
00054         eParamMergeXOR
00055 };
00056 
00057 }
00058 }
00059 }
00060 
00061 #endif