/*-----------------------------------------------------------------
LOG
    GEM - Graphics Environment for Multimedia

    A linear path

    Copyright (c) 1997-1998 Mark Danks. mark@danks.org
    Copyright (c) Günther Geiger. geiger@epy.co.at
    Copyright (c) 2001-2011 IOhannes m zmölnig. forum::für::umläute. IEM. zmoelnig@iem.at
    For information on usage and redistribution, and for a DISCLAIMER OF ALL
    WARRANTIES, see the file, "GEM.LICENSE.TERMS" in this distribution.

-----------------------------------------------------------------*/

#ifndef _INCLUDE__GEM_MANIPS_LINEAR_PATH_H_
#define _INCLUDE__GEM_MANIPS_LINEAR_PATH_H_

#include "Base/GemPathBase.h"

/*-----------------------------------------------------------------
-------------------------------------------------------------------
CLASS
    linear_path


DESCRIPTION


-----------------------------------------------------------------*/
class GEM_EXTERN linear_path : public GemPathBase
{
  CPPEXTERN_HEADER(linear_path, GemPathBase);

public:

  //////////
  // Constructor
  linear_path(int argc, t_atom *argv);

protected:

  //////////
  // Destructor
  virtual ~linear_path();

  //////////
  // When a float val is received
  virtual void lookupFunc(t_float x, t_float *ret, int numDimen, int npnts,
                          t_float *pnts);
};

#endif  // for header file
