TuttleOFX
1
|
00001 #ifndef _TUTTLE_PLUGIN_LUTPLUGIN_HPP_ 00002 #define _TUTTLE_PLUGIN_LUTPLUGIN_HPP_ 00003 00004 #include "lutEngine/LutReader.hpp" 00005 #include "lutEngine/Lut.hpp" 00006 00007 #include <tuttle/plugin/ImageEffectGilPlugin.hpp> 00008 00009 namespace tuttle { 00010 namespace plugin { 00011 namespace lut { 00012 00013 /** 00014 * @brief 00015 * 00016 */ 00017 class LutPlugin : public ImageEffectGilPlugin 00018 { 00019 public: 00020 LutPlugin( OfxImageEffectHandle handle ); 00021 00022 public: 00023 void render( const OFX::RenderArguments& args ); 00024 void changedParam( const OFX::InstanceChangedArgs& args, const std::string& paramName ); 00025 00026 public: 00027 OFX::StringParam* _sFilename; ///< Filename 00028 00029 LutReader _lutReader; ///< Reader 00030 Lut3D _lut3D; 00031 }; 00032 00033 } 00034 } 00035 } 00036 00037 #endif