SeExpr
|
#include <ExprColorCurve.h>
Public Slots | |
void | cvSelectedSlot (const double pos, const SeExpr2::Vec3d val, const T_INTERP interp) |
void | selPosChanged () |
void | openDetail () |
Signals | |
void | selPosChangedSignal (double pos) |
void | selValChangedSignal (SeExpr2::Vec3d val) |
void | swatchChanged (QColor color) |
Public Member Functions | |
ExprColorCurve (QWidget *parent=0, QString pLabel="", QString vLabel="", QString iLabel="", bool expandable=true) | |
~ExprColorCurve () | |
void | addPoint (const double x, const SeExpr2::Vec3d y, const T_INTERP interp, bool select=false) |
void | setSwatchColor (QColor color) |
QColor | getSwatchColor () |
Public Attributes | |
CCurveScene * | _scene |
Private Types | |
typedef SeExpr2::Curve< SeExpr2::Vec3d > | T_CURVE |
typedef T_CURVE::InterpType | T_INTERP |
Private Slots | |
void | internalSwatchChanged (QColor color) |
Private Attributes | |
QLineEdit * | _selPosEdit |
ExprCSwatchFrame * | _selValEdit |
QComboBox * | _interpComboBox |
Definition at line 137 of file ExprColorCurve.h.
Definition at line 140 of file ExprColorCurve.h.
Definition at line 141 of file ExprColorCurve.h.
ExprColorCurve::ExprColorCurve | ( | QWidget * | parent = 0, |
QString | pLabel = "", | ||
QString | vLabel = "", | ||
QString | iLabel = "", | ||
bool | expandable = true ) |
Definition at line 346 of file ExprColorCurve.cpp.
References _interpComboBox, _scene, _selPosEdit, _selValEdit, cvSelectedSlot(), internalSwatchChanged(), openDetail(), selPosChanged(), selPosChangedSignal(), selValChangedSignal(), and swatchChanged().
Referenced by openDetail().
|
inline |
Definition at line 149 of file ExprColorCurve.h.
void ExprColorCurve::addPoint | ( | const double | x, |
const SeExpr2::Vec3d | y, | ||
const T_INTERP | interp, | ||
bool | select = false ) |
Definition at line 485 of file ExprColorCurve.cpp.
References _scene, CCurveScene::addPoint(), x, and y.
Referenced by CCurveControl::CCurveControl(), and openDetail().
|
slot |
Definition at line 467 of file ExprColorCurve.cpp.
References _interpComboBox, _selPosEdit, _selValEdit, ExprCSwatchFrame::setValue(), and swatchChanged().
Referenced by ExprColorCurve().
QColor ExprColorCurve::getSwatchColor | ( | ) |
Definition at line 495 of file ExprColorCurve.cpp.
References _selValEdit, and ExprCSwatchFrame::getValue().
Referenced by CCurveControl::getColor().
|
privateslot |
Definition at line 500 of file ExprColorCurve.cpp.
References swatchChanged().
Referenced by ExprColorCurve().
|
slot |
Definition at line 502 of file ExprColorCurve.cpp.
References CCurveScene::_cvs, _scene, addPoint(), CCurveScene::emitCurveChanged(), ExprColorCurve(), and CCurveScene::removeAll().
Referenced by ExprColorCurve().
|
slot |
Definition at line 479 of file ExprColorCurve.cpp.
References _selPosEdit, SeExpr2::clamp(), and selPosChangedSignal().
Referenced by ExprColorCurve().
|
signal |
Referenced by ExprColorCurve(), and selPosChanged().
|
signal |
Referenced by ExprColorCurve().
void ExprColorCurve::setSwatchColor | ( | QColor | color | ) |
Definition at line 489 of file ExprColorCurve.cpp.
References _scene, _selValEdit, CCurveScene::selValChanged(), and ExprCSwatchFrame::setValue().
Referenced by CCurveControl::setColor().
|
signal |
Referenced by cvSelectedSlot(), ExprColorCurve(), and internalSwatchChanged().
|
private |
Definition at line 174 of file ExprColorCurve.h.
Referenced by cvSelectedSlot(), and ExprColorCurve().
CCurveScene* ExprColorCurve::_scene |
Definition at line 156 of file ExprColorCurve.h.
Referenced by addPoint(), CCurveControl::CCurveControl(), CCurveControl::curveChanged(), ExprColorCurve(), openDetail(), and setSwatchColor().
|
private |
Definition at line 172 of file ExprColorCurve.h.
Referenced by cvSelectedSlot(), ExprColorCurve(), and selPosChanged().
|
private |
Definition at line 173 of file ExprColorCurve.h.
Referenced by cvSelectedSlot(), ExprColorCurve(), getSwatchColor(), and setSwatchColor().