SeExpr
Public Slots | Signals | Public Member Functions | Public Attributes | Private Types | Private Slots | Private Attributes | List of all members
ExprColorCurve Class Reference

#include <ExprColorCurve.h>

Inheritance diagram for ExprColorCurve:

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
 

Detailed Description

Definition at line 144 of file ExprColorCurve.h.

Member Typedef Documentation

Definition at line 148 of file ExprColorCurve.h.

Definition at line 149 of file ExprColorCurve.h.

Constructor & Destructor Documentation

ExprColorCurve::ExprColorCurve ( QWidget *  parent = 0,
QString  pLabel = "",
QString  vLabel = "",
QString  iLabel = "",
bool  expandable = true 
)
ExprColorCurve::~ExprColorCurve ( )
inline

Definition at line 154 of file ExprColorCurve.h.

Member Function Documentation

void ExprColorCurve::addPoint ( const double  x,
const SeExpr2::Vec3d  y,
const T_INTERP  interp,
bool  select = false 
)

Definition at line 524 of file ExprColorCurve.cpp.

References _scene, and CCurveScene::addPoint().

Referenced by CCurveControl::CCurveControl(), and openDetail().

void ExprColorCurve::cvSelectedSlot ( const double  pos,
const SeExpr2::Vec3d  val,
const T_INTERP  interp 
)
slot
QColor ExprColorCurve::getSwatchColor ( )

Definition at line 536 of file ExprColorCurve.cpp.

References _selValEdit, and ExprCSwatchFrame::getValue().

Referenced by CCurveControl::getColor().

void ExprColorCurve::internalSwatchChanged ( QColor  color)
privateslot

Definition at line 542 of file ExprColorCurve.cpp.

References swatchChanged().

Referenced by ExprColorCurve().

void ExprColorCurve::openDetail ( )
slot
void ExprColorCurve::selPosChanged ( )
slot

Definition at line 517 of file ExprColorCurve.cpp.

References _selPosEdit, SeExpr2::clamp(), and selPosChangedSignal().

Referenced by ExprColorCurve().

void ExprColorCurve::selPosChangedSignal ( double  pos)
signal

Referenced by ExprColorCurve(), and selPosChanged().

void ExprColorCurve::selValChangedSignal ( SeExpr2::Vec3d  val)
signal

Referenced by ExprColorCurve().

void ExprColorCurve::setSwatchColor ( QColor  color)
void ExprColorCurve::swatchChanged ( QColor  color)
signal

Member Data Documentation

QComboBox* ExprColorCurve::_interpComboBox
private

Definition at line 179 of file ExprColorCurve.h.

Referenced by cvSelectedSlot(), and ExprColorCurve().

CCurveScene* ExprColorCurve::_scene
QLineEdit* ExprColorCurve::_selPosEdit
private

Definition at line 177 of file ExprColorCurve.h.

Referenced by cvSelectedSlot(), ExprColorCurve(), and selPosChanged().

ExprCSwatchFrame* ExprColorCurve::_selValEdit
private

Definition at line 178 of file ExprColorCurve.h.

Referenced by cvSelectedSlot(), ExprColorCurve(), getSwatchColor(), and setSwatchColor().


The documentation for this class was generated from the following files: