/* dtkComposerNodePlotCurveAppendPoint.h --- * * Author: Julien Wintz * Copyright (C) 2008-2011 - Julien Wintz, Inria. * Created: Tue May 29 14:32:55 2012 (+0200) * Version: $Id: 7dfdc9ced2ed38882eb35239ec529bb7e0e3440c $ * Last-Updated: mar. nov. 5 11:05:08 2013 (+0100) * By: edelclau * Update #: 36 */ /* Commentary: * */ /* Change log: * */ #ifndef DTKCOMPOSERNODEPLOTCURVEAPPENDPOINT_H #define DTKCOMPOSERNODEPLOTCURVEAPPENDPOINT_H #include #include "dtkComposerNodeLeaf.h" #include class dtkPlotCurve; class dtkComposerNodePlotCurveAppendPointPrivate; class DTKCOMPOSER_EXPORT dtkComposerNodePlotCurveAppendPoint : public QObject, public dtkComposerNodeLeaf { Q_OBJECT public: dtkComposerNodePlotCurveAppendPoint(void); ~dtkComposerNodePlotCurveAppendPoint(void); public: inline QString type(void) { return "dtkPlotCurveAppendPoint"; } inline QString titleHint(void) { return "Plot curve append point"; } public: inline QString inputLabelHint(int port) { switch (port) { case 0: return "curve"; case 1: return "x"; case 2: return "y"; default: return "port"; } } inline QString outputLabelHint(int) { return "curve"; } public: dtkPlotCurve *curve(void); public: void run(void); private: dtkComposerNodePlotCurveAppendPointPrivate *d; }; #endif