#include <Hist_Transfer.h>
Public Member Functions | |
Hist_Transfer (QWidget *parent=0) | |
void | setKnotColor (int label, QColor color) |
void | updateHist (unsigned int y) |
Hist_Transfer::Hist_Transfer | ( | QWidget * | parent = 0 |
) |
Constructs a new Transfer Function Histogram Object
void Hist_Transfer::setKnotColor | ( | int | label, | |
QColor | color | |||
) |
Sets the color for the actual chosen knot identified by 'label' to the color 'color'
void Hist_Transfer::updateHist | ( | unsigned int | y | ) |
Inserts a new knot into the transfer function or moves an existing knot, depending on the distance between the mouse position '(x,y)' and the nearest knot