Go to the documentation of this file.
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);
void cvSelectedSlot(const double pos, const SeExpr2::Vec3d val, const T_INTERP interp)
ExprCSwatchFrame * _selValEdit
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).  
ExprColorCurve(QWidget *parent=0, QString pLabel="", QString vLabel="", QString iLabel="", bool expandable=true)
void swatchChanged(QColor color)
virtual void keyPressEvent(QKeyEvent *event)
void addPoint(double x, const SeExpr2::Vec3d y, const T_INTERP interp, const bool select=true)
T_CURVE::InterpType T_INTERP
virtual void mousePressEvent(QGraphicsSceneMouseEvent *mouseEvent)
void selValChanged(const SeExpr2::Vec3d &val)
QGraphicsProxyWidget * _baseRect
void resize(const int width, const int height)
virtual void paintEvent(QPaintEvent *event)
SeExpr2::Vec3d getValue() const
std::vector< T_CURVE::CV > _cvs
std::vector< QGraphicsEllipseItem * > _circleObjects
QComboBox * _interpComboBox
This is the same as the prman cellnoise function< br ></div >< br > float< b > float y< br > float< b > float y
ExprCSwatchFrame(SeExpr2::Vec3d value, QWidget *parent=0)
void interpChanged(const int interp)
SeExpr2::Curve< SeExpr2::Vec3d > T_CURVE
void selPosChanged(double pos)
Interpolation curve class for double->double and double->Vec3D.
virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent *event)
void swatchChanged(QColor color)
void addPoint(const double x, const SeExpr2::Vec3d y, const T_INTERP interp, bool select=false)
void selValChangedSignal(SeExpr2::Vec3d value)
void removePoint(const int index)
T_CURVE::InterpType T_INTERP
virtual void mouseMoveEvent(QGraphicsSceneMouseEvent *mouseEvent)
virtual void mousePressEvent(QMouseEvent *event)
For any rgb or hsl value(except for negative s values)
void selPosChangedSignal(double pos)
void cvSelected(double x, const SeExpr2::Vec3d y, const T_INTERP interp)
void selValChangedSignal(SeExpr2::Vec3d val)
virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent *mouseEvent)
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
SeExpr2::Curve< SeExpr2::Vec3d > T_CURVE
void setValue(const SeExpr2::Vec3d &value)
void internalSwatchChanged(QColor color)
void setSwatchColor(QColor color)