TuttleOFX  1
TuttleOFX/libraries/tuttle/src/tuttle/plugin/context/GeneratorDefinition.hpp
Go to the documentation of this file.
00001 #ifndef _TUTTLE_PLUGIN_CONTEXT_GENERATORDEFINITION_HPP_
00002 #define _TUTTLE_PLUGIN_CONTEXT_GENERATORDEFINITION_HPP_
00003 
00004 #include "Definition.hpp"
00005 #include "ResolutionDefinition.hpp"
00006 
00007 namespace tuttle {
00008 namespace plugin {
00009 
00010 static const std::string kParamGeneratorExplicitConversion = "explicitConversion";
00011 enum EParamGeneratorExplicitConversion
00012 {
00013         eParamGeneratorExplicitConversionAuto = 0,
00014         eParamGeneratorExplicitConversionByte,
00015         eParamGeneratorExplicitConversionShort,
00016         eParamGeneratorExplicitConversionFloat
00017 };
00018 
00019 enum EParamGeneratorComponents
00020 {
00021         eParamGeneratorComponentsAlpha = 0,
00022         eParamGeneratorComponentsRGB,
00023         eParamGeneratorComponentsRGBA
00024 };
00025 
00026 
00027 static const std::string kParamMode              = "mode";
00028 static const std::string kParamModeFormat        = "format";
00029 static const std::string kParamModeSize          = "size";
00030 enum EParamMode
00031 {
00032         eParamModeFormat = 0,
00033         eParamModeSize
00034 };
00035 
00036 static const std::string kParamFormat            = "format";
00037 
00038 static const std::string kParamSize              = "size";
00039 static const std::string kParamSizeWidth         = "width";
00040 static const std::string kParamSizeHeight        = "height";
00041 static const std::string kParamSizeSpecificRatio = "specificRatio";
00042 static const std::string kParamSizeRatioValue    = "ratio";
00043 static const std::string kParamSizeOrientation   = "orientation";
00044 static const std::string kParamSizeOrientationX  = kParamSizeWidth;
00045 static const std::string kParamSizeOrientationY  = kParamSizeHeight;
00046 
00047 enum EParamSizeOrientation
00048 {
00049         eParamSizeOrientationX = 0,
00050         eParamSizeOrientationY
00051 };
00052 
00053 }
00054 }
00055 
00056 #endif
00057