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::Vec3dT_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 137 of file ExprColorCurve.h.

Member Typedef Documentation

◆ T_CURVE

Definition at line 140 of file ExprColorCurve.h.

◆ T_INTERP

Definition at line 141 of file ExprColorCurve.h.

Constructor & Destructor Documentation

◆ ExprColorCurve()

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

◆ ~ExprColorCurve()

ExprColorCurve::~ExprColorCurve ( )
inline

Definition at line 149 of file ExprColorCurve.h.

Member Function Documentation

◆ addPoint()

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().

◆ cvSelectedSlot

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

◆ getSwatchColor()

QColor ExprColorCurve::getSwatchColor ( )

Definition at line 495 of file ExprColorCurve.cpp.

References _selValEdit, and ExprCSwatchFrame::getValue().

Referenced by CCurveControl::getColor().

◆ internalSwatchChanged

void ExprColorCurve::internalSwatchChanged ( QColor  color)
privateslot

Definition at line 500 of file ExprColorCurve.cpp.

References swatchChanged().

Referenced by ExprColorCurve().

◆ openDetail

void ExprColorCurve::openDetail ( )
slot

◆ selPosChanged

void ExprColorCurve::selPosChanged ( )
slot

Definition at line 479 of file ExprColorCurve.cpp.

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

Referenced by ExprColorCurve().

◆ selPosChangedSignal

void ExprColorCurve::selPosChangedSignal ( double  pos)
signal

Referenced by ExprColorCurve(), and selPosChanged().

◆ selValChangedSignal

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

Referenced by ExprColorCurve().

◆ setSwatchColor()

void ExprColorCurve::setSwatchColor ( QColor  color)

◆ swatchChanged

void ExprColorCurve::swatchChanged ( QColor  color)
signal

Member Data Documentation

◆ _interpComboBox

QComboBox* ExprColorCurve::_interpComboBox
private

Definition at line 174 of file ExprColorCurve.h.

Referenced by cvSelectedSlot(), and ExprColorCurve().

◆ _scene

CCurveScene* ExprColorCurve::_scene

◆ _selPosEdit

QLineEdit* ExprColorCurve::_selPosEdit
private

Definition at line 172 of file ExprColorCurve.h.

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

◆ _selValEdit

ExprCSwatchFrame* ExprColorCurve::_selValEdit
private

Definition at line 173 of file ExprColorCurve.h.

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


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