22 #ifndef _ExprColorCurve_h_
23 #define _ExprColorCurve_h_
28 #include <QtCore/QObject>
29 #include <QtGui/QComboBox>
30 #include <QtGui/QGraphicsProxyWidget>
31 #include <QtGui/QGraphicsView>
32 #include <QtGui/QLineEdit>
34 #include <SeExpr2/Vec.h>
73 std::vector<T_CURVE::CV>
_cvs;
82 void resize(
const int width,
const int height);
152 ExprColorCurve(QWidget* parent = 0, QString pLabel =
"", QString vLabel =
"", QString iLabel =
"",
153 bool expandable=
true);
virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent *mouseEvent)
virtual void mousePressEvent(QGraphicsSceneMouseEvent *mouseEvent)
ExprCSwatchFrame * _selValEdit
virtual void keyPressEvent(QKeyEvent *event)
void selValChanged(const SeExpr2::Vec3d &val)
Interpolation curve class for double->double and double->Vec3D.
T_CURVE::InterpType T_INTERP
void resize(const int width, const int height)
QComboBox * _interpComboBox
std::vector< T_CURVE::CV > _cvs
void selValChangedSignal(SeExpr2::Vec3d value)
QGraphicsProxyWidget * _baseRect
virtual void mousePressEvent(QMouseEvent *event)
void internalSwatchChanged(QColor color)
std::vector< QGraphicsEllipseItem * > _circleObjects
void addPoint(double x, const SeExpr2::Vec3d y, const T_INTERP interp, const bool select=true)
void selPosChangedSignal(double pos)
SeExpr2::Vec3d getValue() const
For any rgb or hsl value(except for negative s values)
void setValue(const SeExpr2::Vec3d &value)
The result is computed int int< br >< divstyle="margin-left:40px;"> Picks values randomly between loRange and hiRange based on supplied index(which is automatically hashed). 
ExprColorCurve(QWidget *parent=0, QString pLabel="", QString vLabel="", QString iLabel="", bool expandable=true)
SeExpr2::Curve< SeExpr2::Vec3d > T_CURVE
void removePoint(const int index)
SeExpr2::Curve< SeExpr2::Vec3d > T_CURVE
void selPosChanged(double pos)
void interpChanged(const int interp)
void cvSelectedSlot(const double pos, const SeExpr2::Vec3d val, const T_INTERP interp)
</pre >< h3 > A simple variable reference</h3 > This is not a very interesting subclass of expression until we add some additional variables Variables on some applications may be very dynamic In this we only need x
virtual void mouseMoveEvent(QGraphicsSceneMouseEvent *mouseEvent)
virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent *event)
T_CURVE::InterpType T_INTERP
virtual void paintEvent(QPaintEvent *event)
void addPoint(const double x, const SeExpr2::Vec3d y, const T_INTERP interp, bool select=false)
void selValChangedSignal(SeExpr2::Vec3d val)
ExprCSwatchFrame(SeExpr2::Vec3d value, QWidget *parent=0)
void swatchChanged(QColor color)
InterpType
Supported interpolation types.
void cvSelected(double x, const SeExpr2::Vec3d y, const T_INTERP interp)
void swatchChanged(QColor color)
This is the same as the prman cellnoise function< br ></div >< br > float< b > float y< br > float< b > float y
void setSwatchColor(QColor color)