TuttleOFX  1
AnisotropicTensorsMargin.hpp
Go to the documentation of this file.
00001 #ifndef TENSORS_MARGIN_HPP
00002 #define TENSORS_MARGIN_HPP
00003 
00004 #include <ofxsImageEffect.h>
00005 #include <ofxsInteract.h>
00006 
00007 namespace tuttle {
00008 namespace plugin {
00009 namespace anisotropicFilter {
00010 namespace tensors {
00011 
00012 
00013 class TensorsMargin : public OFX::OverlayInteract
00014 {
00015 public:
00016 
00017     TensorsMargin( OfxInteractHandle handle, OFX::ImageEffect *effect ) : OFX::OverlayInteract( handle )
00018     {
00019         _effect = effect;
00020     }
00021     virtual bool draw( const OFX::DrawArgs &args );
00022 };
00023 
00024 class TensorsMarginOverlay : public OFX::EffectOverlayDescriptor
00025 {
00026 public:
00027 
00028     OFX::Interact* createInstance( OfxInteractHandle handle, OFX::ImageEffect *effect )
00029     {
00030         return new TensorsMargin( handle, effect );
00031     }
00032 
00033     OfxPluginEntryPoint* getMainEntry( )
00034     {
00035         return NULL;
00036     }
00037 };
00038 
00039 }
00040 }
00041 }
00042 }
00043 
00044 #endif