TuttleOFX  1
ResizeDefinitions.hpp
Go to the documentation of this file.
00001 #ifndef _TUTTLE_PLUGIN_RESIZE_DEFINITIONS_HPP_
00002 #define _TUTTLE_PLUGIN_RESIZE_DEFINITIONS_HPP_
00003 
00004 #include <tuttle/plugin/global.hpp>
00005 #include <tuttle/plugin/context/ResolutionDefinition.hpp>
00006 #include <tuttle/plugin/context/SamplerDefinition.hpp>
00007 
00008 
00009 namespace tuttle {
00010 namespace plugin {
00011 namespace resize {
00012 
00013 static const std::string kParamMode             = "mode";
00014 static const std::string kParamModeFormat       = "format";
00015 static const std::string kParamModeSize         = "size";
00016 static const std::string kParamModeScale        = "scale";
00017 enum EParamMode
00018 {
00019         eParamModeFormat = 0,
00020         eParamModeSize,
00021         eParamModeScale
00022 };
00023 
00024 static const std::string kParamFormat           = "format";
00025 
00026 static const std::string kParamSize             = "size";
00027 static const std::string kParamSizeWidth        = "width";
00028 static const std::string kParamSizeHeight       = "height";
00029 static const std::string kParamSizeKeepRatio    = "keepRatio";
00030 static const std::string kParamSizeOrientation  = "orientation";
00031 static const std::string kParamSizeOrientationX = kParamSizeWidth;
00032 static const std::string kParamSizeOrientationY = kParamSizeHeight;
00033 enum EParamSizeOrientation
00034 {
00035         eParamSizeOrientationX = 0,
00036         eParamSizeOrientationY
00037 };
00038 
00039 static const std::string kParamScale            = "scale";
00040 
00041 #ifndef TUTTLE_PRODUCTION
00042 static const std::string kParamCenter           = "center";
00043 static const std::string kParamCenterPoint      = "centerPoint";
00044 #endif
00045 
00046 }
00047 }
00048 }
00049 
00050 #endif