Skip to content
Rotation.h 1.36 KiB
Newer Older
//###########################################################################
// This file is part of ProcessLib, a submodule of LImA project the
// Library for Image Acquisition
//
// Copyright (C) : 2009-2011
// European Synchrotron Radiation Facility
// BP 220, Grenoble 38043
// FRANCE
//
// This is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 3 of the License, or
// (at your option) any later version.
//
// This software is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, see <http://www.gnu.org/licenses/>.
//###########################################################################
#ifndef PROCESSLIB_ROTATION_H
#define PROCESSLIB_ROTATION_H

#include "processlib/LinkTask.h"
Samuel Debionne's avatar
Samuel Debionne committed
class PROCESSLIB_EXPORT Rotation : public LinkTask
    enum Type { R_90, R_180, R_270 };
    Rotation(const Rotation &);
    virtual Data process(Data &);
    void setType(Type);
  private:
    Type m_type;