TuttleOFX  1
MathOperatorDefinitions.hpp
Go to the documentation of this file.
00001 #ifndef _TUTTLE_PLUGIN_MATHOPERATOR_DEFINITIONS_HPP_
00002 #define _TUTTLE_PLUGIN_MATHOPERATOR_DEFINITIONS_HPP_
00003 
00004 #include <tuttle/plugin/global.hpp>
00005 
00006 
00007 namespace tuttle {
00008 namespace plugin {
00009 namespace mathOperator {
00010 
00011 
00012 
00013 const static std::string kMathOperatorOperator  = "operation";
00014 
00015 const static std::string kMathOperatorPlus      = "plus";
00016 const static std::string kMathOperatorMultiply  = "multiply";
00017 const static std::string kMathOperatorPow       = "pow";
00018 const static std::string kMathOperatorSqrt      = "sqrt";
00019 const static std::string kMathOperatorLog       = "log";
00020 const static std::string kMathOperatorLn        = "ln";
00021 
00022 const static std::string kMathOperatorType      = "type";
00023 
00024 const static std::string kMathOperatorRgba      = "rgba";
00025 const static std::string kMathOperatorRgb       = "rgb";
00026 const static std::string kMathOperatorChannels  = "split";
00027 
00028 const static std::string kMasterValue           = "master";
00029 const static std::string kRedValue              = "red";
00030 const static std::string kGreenValue            = "green";
00031 const static std::string kBlueValue             = "blue";
00032 const static std::string kAlphaValue            = "alpha";
00033 
00034 const static std::string kRedChannel            = "red_channel";
00035 const static std::string kGreenChannel          = "green_channel";
00036 const static std::string kBlueChannel           = "blue_channel";
00037 const static std::string kAlphaChannel          = "alpha_channel";
00038 
00039 enum EMathOperatorMathOperator
00040 {
00041         eMathOperatorOperatorPlus     = 0,
00042         eMathOperatorOperatorMultiply,
00043         eMathOperatorOperatorPow,
00044         eMathOperatorOperatorSqrt,
00045         eMathOperatorOperatorLog,
00046         eMathOperatorOperatorLn
00047 };
00048 
00049 enum EMathOperatorType
00050 {
00051         eMathOperatorTypeRgba     = 0,
00052         eMathOperatorTypeRgb      = 1,
00053         eMathOperatorTypeChannels = 2
00054 };
00055 
00056 
00057 }
00058 }
00059 }
00060 
00061 #endif