This repository has been archived on 2021-03-01. You can view files and clone it, but cannot push or open issues or pull requests.
prpa/src/filterSample/rotate.hh
2012-07-16 11:02:12 +02:00

18 lines
325 B
C++

#ifndef ROTATE_HH_
# define ROTATE_HH_
# include "tbb/pipeline.h"
# include "opencv2/opencv.hpp"
class Rotate: public tbb::filter
{
public:
Rotate(char direction)
: filter(tbb::filter::parallel), direction_(direction) {}
void* operator()(void*);
private:
char direction_;
};
#endif /* !ROTATE_HH_ */