22#ifndef _ExprColorCurve_h_
23#define _ExprColorCurve_h_
29#include <QGraphicsProxyWidget>
30#include <QGraphicsView>
70 std::vector<T_CURVE::CV>
_cvs;
78 void resize(
const int width,
const int height);
148 bool expandable =
true);
virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent *event)
QGraphicsProxyWidget * _baseRect
void removePoint(const int index)
std::vector< QGraphicsEllipseItem * > _circleObjects
void selPosChanged(double pos)
virtual void mouseMoveEvent(QGraphicsSceneMouseEvent *mouseEvent)
SeExpr2::Curve< SeExpr2::Vec3d > T_CURVE
std::vector< T_CURVE::CV > _cvs
void cvSelected(double x, const SeExpr2::Vec3d y, const T_INTERP interp)
void addPoint(double x, const SeExpr2::Vec3d y, const T_INTERP interp, const bool select=true)
void selValChanged(const SeExpr2::Vec3d &val)
virtual void keyPressEvent(QKeyEvent *event)
T_CURVE::InterpType T_INTERP
virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent *mouseEvent)
void interpChanged(const int interp)
void resize(const int width, const int height)
virtual void mousePressEvent(QGraphicsSceneMouseEvent *mouseEvent)
void selValChangedSignal(SeExpr2::Vec3d value)
void swatchChanged(QColor color)
virtual void paintEvent(QPaintEvent *event)
ExprCSwatchFrame(SeExpr2::Vec3d value, QWidget *parent=0)
SeExpr2::Vec3d getValue() const
void setValue(const SeExpr2::Vec3d &value)
virtual void mousePressEvent(QMouseEvent *event)
void internalSwatchChanged(QColor color)
void addPoint(const double x, const SeExpr2::Vec3d y, const T_INTERP interp, bool select=false)
void swatchChanged(QColor color)
T_CURVE::InterpType T_INTERP
void setSwatchColor(QColor color)
ExprColorCurve(QWidget *parent=0, QString pLabel="", QString vLabel="", QString iLabel="", bool expandable=true)
void selValChangedSignal(SeExpr2::Vec3d val)
SeExpr2::Curve< SeExpr2::Vec3d > T_CURVE
void cvSelectedSlot(const double pos, const SeExpr2::Vec3d val, const T_INTERP interp)
QComboBox * _interpComboBox
ExprCSwatchFrame * _selValEdit
void selPosChangedSignal(double pos)
Interpolation curve class for double->double and double->Vec3D.
InterpType
Supported interpolation types.
</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
This is the same as the prman cellnoise function< br ></div >< br > float< b > float y< br > float< b > float y
The result is computed int int< br >< div style="margin-left: 40px;"> Picks values randomly between loRange and hiRange based on supplied index(which is automatically hashed).  
For any rgb or hsl value(except for negative s values)