#include "iclAffineOp.h" #ifndef ROTATE_OP_H #define ROTATE_OP_H namespace icl{ /// Class to rotate images class RotateOp : public AffineOp { public: /// Constructor RotateOp (double dAngle=0.0, scalemode eInterpolate=interpolateLIN) : AffineOp (eInterpolate) {} /// change rotation angle void setAngle (double dAngle) { AffineOp::reset (); AffineOp::rotate (dAngle); } /// apply should still be public AffineOp::apply; private: // hide the following methods AffineOp::translate; AffineOp::scale; }; } #endif