MorphoGraphX
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Slots | Signals | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | List of all members
mgx::gui::TransferFunctionDlg Class Reference
+ Inheritance diagram for mgx::gui::TransferFunctionDlg:

Public Slots

void loadSettings (bool changeFunction=true)
 
void saveSettings ()
 
void setTransferFunction (const TransferFunction &fct)
 
void setDefaultTransferFunction (const TransferFunction &fct)
 
void setStickers (const std::vector< double > &pos)
 
void changeHistogram (const std::vector< double > &h)
 
void changeBounds (const std::pair< double, double > &bounds)
 
void apply ()
 
void reset ()
 
void accept ()
 
void reject ()
 
int exec ()
 

Signals

void changedTransferFunction (const TransferFunction &fct)
 
void appliedTransferFunction (const TransferFunction &fct)
 

Public Member Functions

 TransferFunctionDlg (QWidget *parent=0, Qt::WindowFlags f=0)
 
const TransferFunctiontransferFunction () const
 
- Public Member Functions inherited from QDialog
 QDialog (QWidget *parent=0, Qt::WindowFlags f=0)
 
 accept ()
 
 accepted ()
 
 closeEvent (QCloseEvent *e)
 
 contextMenuEvent (QContextMenuEvent *e)
 
 done (int r)
 
 event (QEvent *e)
 
 eventFilter (QObject *o, QEvent *e)
 
 exec ()
 
 finished (int result)
 
 keyPressEvent (QKeyEvent *e)
 
 minimumSizeHint ()
 
 open ()
 
 reject ()
 
 rejected ()
 
 resizeEvent (QResizeEvent *)
 
 result ()
 
 setResult (int i)
 
 setVisible (bool visible)
 
 showEvent (QShowEvent *event)
 
 sizeHint ()
 

Protected Slots

void changeTransferFunction (const QString &name)
 
void changeTransferFunction (const TransferFunction &fct)
 
void on_useChecks_toggled (bool on)
 
void on_useWhite_toggled (bool on)
 
void on_useBlack_toggled (bool on)
 
void on_useRGB_toggled (bool on)
 
void on_useHSV_toggled (bool on)
 
void on_useCyclicHSV_toggled (bool on)
 
void on_selectSelectionColor_clicked ()
 
void on_functionList_currentIndexChanged (const QString &name)
 
void on_exportFunction_clicked ()
 
void on_importFunction_clicked ()
 
void on_saveFunction_clicked ()
 
void on_renameFunction_clicked ()
 
void on_deleteFunction_clicked ()
 
void resetFunctionList ()
 
void on_buttonBox_clicked (QAbstractButton *btn)
 

Protected Member Functions

QColor getColor (QWidget *w)
 
void setColor (QWidget *w, const QColor &col)
 
bool changeColor (QWidget *w)
 

Protected Attributes

TransferFunction current
 
TransferFunction default_fct
 
Ui::TransferFunctionDlg ui
 
QStringList fct_names
 
QList< TransferFunctionfcts
 

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