dispmap/svabstractkernel.h
Andrey Tkachenko 772bf4e9ae Migrate to Qt
2014-07-11 20:35:48 +04:00

23 lines
468 B
C++

#ifndef SVABSTRACTKERNEL_H
#define SVABSTRACTKERNEL_H
#include "svimage.h"
class SvAbstractKernel
{
protected:
SvImage* m_left;
SvImage* m_right;
SvImage* m_result;
public:
void setLeftImage(SvImage* image) {m_left = image;}
void setRightImage(SvImage* image) {m_right = image;}
void setResultImage(SvImage* image) {m_result = image;}
virtual void exec(int line) = 0;
virtual ~SvAbstractKernel() {}
};
#endif // SVABSTRACTKERNEL_H