#include <cxTransferFunctionColorWidget.h>
|
| TransferFunctionColorWidget (ActiveDataPtr activeData, QWidget *parent) |
|
virtual | ~TransferFunctionColorWidget () |
|
void | setData (ImagePtr image, ImageTFDataPtr tfData) |
|
| BaseWidget (QWidget *parent, QString objectName, QString windowTitle) |
|
virtual | ~BaseWidget () |
|
QWidget * | createMethodWidget (QWidget *inputWidget, QWidget *outputWidget, QString methodname, bool inputChecked=false, bool outputVisible=true) |
| Create a specialized widget for filters, with input/ouput, enable and options. More...
|
|
QGroupBox * | createGroupbox (QWidget *widget, QString boxname) |
| Create a group box with a given name. More...
|
|
QGroupBox * | wrapInGroupBox (QWidget *base, QString name) |
|
CXFrame * | wrapInFrame (QWidget *base) |
|
QAction * | createAction2 (QObject *parent, QIcon iconName, QString text, QString tip, QLayout *layout=NULL, QToolButton *button=new QToolButton()) |
|
template<class T > |
QAction * | createAction (QObject *parent, QIcon iconName, QString text, QString tip, T slot, QLayout *layout=NULL, QToolButton *button=new QToolButton()) |
|
| OptimizedUpdateWidget (QWidget *parent=NULL) |
|
virtual | ~OptimizedUpdateWidget () |
|
void | forcePrePaint () |
|
- Date
- Apr 01, 2009 \author Ole Vegard Solberg, SINTEF
Definition at line 37 of file cxTransferFunctionColorWidget.h.
◆ TransferFunctionColorWidget()
cx::TransferFunctionColorWidget::TransferFunctionColorWidget |
( |
ActiveDataPtr |
activeData, |
|
|
QWidget * |
parent |
|
) |
| |
◆ ~TransferFunctionColorWidget()
cx::TransferFunctionColorWidget::~TransferFunctionColorWidget |
( |
| ) |
|
|
virtual |
◆ activeImageTransferFunctionsChangedSlot
void cx::TransferFunctionColorWidget::activeImageTransferFunctionsChangedSlot |
( |
| ) |
|
|
slot |
◆ contextMenuEvent()
void cx::TransferFunctionColorWidget::contextMenuEvent |
( |
QContextMenuEvent * |
event | ) |
|
|
protected |
◆ enterEvent()
void cx::TransferFunctionColorWidget::enterEvent |
( |
QEvent * |
event | ) |
|
|
protectedvirtual |
◆ findAllowedMoveRangeAroundColorPoint()
std::pair< int, int > cx::TransferFunctionColorWidget::findAllowedMoveRangeAroundColorPoint |
( |
int |
selectedPointIntensity | ) |
|
|
protected |
◆ getCurrentColorPoint() [1/2]
◆ getCurrentColorPoint() [2/2]
◆ getPlotPoint()
QPoint cx::TransferFunctionColorWidget::getPlotPoint |
( |
int |
iScalar | ) |
|
|
protected |
Calculate the screen point of a given scalar (x-axis) and value (y-axis)
◆ imageIntensity2screenX()
int cx::TransferFunctionColorWidget::imageIntensity2screenX |
( |
int |
intensity | ) |
|
|
protected |
◆ isEndpoint()
bool cx::TransferFunctionColorWidget::isEndpoint |
( |
int |
intensity | ) |
const |
|
protected |
◆ keyPressEvent()
void cx::TransferFunctionColorWidget::keyPressEvent |
( |
QKeyEvent * |
event | ) |
|
|
protectedvirtual |
◆ leaveEvent()
void cx::TransferFunctionColorWidget::leaveEvent |
( |
QEvent * |
event | ) |
|
|
protectedvirtual |
◆ mouseMoveEvent()
void cx::TransferFunctionColorWidget::mouseMoveEvent |
( |
QMouseEvent * |
event | ) |
|
|
protectedvirtual |
◆ mousePressEvent()
void cx::TransferFunctionColorWidget::mousePressEvent |
( |
QMouseEvent * |
event | ) |
|
|
protectedvirtual |
◆ mouseReleaseEvent()
void cx::TransferFunctionColorWidget::mouseReleaseEvent |
( |
QMouseEvent * |
event | ) |
|
|
protectedvirtual |
◆ moveSelectedPointTo()
void cx::TransferFunctionColorWidget::moveSelectedPointTo |
( |
ColorPoint |
newPoint | ) |
|
|
protected |
◆ paintColorBar()
void cx::TransferFunctionColorWidget::paintColorBar |
( |
QPainter & |
painter | ) |
|
|
protected |
◆ paintColorPointsAndGenerateCache()
void cx::TransferFunctionColorWidget::paintColorPointsAndGenerateCache |
( |
QPainter & |
painter | ) |
|
|
protected |
◆ paintEvent()
void cx::TransferFunctionColorWidget::paintEvent |
( |
QPaintEvent * |
event | ) |
|
|
protectedvirtual |
◆ removeColorSlot
void cx::TransferFunctionColorWidget::removeColorSlot |
( |
| ) |
|
|
protectedslot |
◆ resizeEvent()
void cx::TransferFunctionColorWidget::resizeEvent |
( |
QResizeEvent * |
evt | ) |
|
|
protectedvirtual |
◆ screenX2imageIntensity()
int cx::TransferFunctionColorWidget::screenX2imageIntensity |
( |
int |
screenX | ) |
|
|
protected |
Define a recommended size.
Calculate the correct position within the color transfer function, based on a screen x coordinate
Definition at line 169 of file cxTransferFunctionColorWidget.cpp.
◆ selectPoint()
◆ setColorSlot
void cx::TransferFunctionColorWidget::setColorSlot |
( |
| ) |
|
|
protectedslot |
◆ setColorSlotDelayed
void cx::TransferFunctionColorWidget::setColorSlotDelayed |
( |
| ) |
|
|
protectedslot |
◆ setData()
◆ sizeHint()
virtual QSize cx::TransferFunctionColorWidget::sizeHint |
( |
| ) |
const |
|
inlineprotectedvirtual |
◆ updateTooltip() [1/2]
void cx::TransferFunctionColorWidget::updateTooltip |
( |
ColorPoint |
point | ) |
|
|
protected |
◆ updateTooltip() [2/2]
void cx::TransferFunctionColorWidget::updateTooltip |
( |
QPoint |
pos | ) |
|
|
protected |
◆ mActiveImageProxy
◆ mBorder
int cx::TransferFunctionColorWidget::mBorder |
|
protected |
◆ mCurrentClickPos
QPoint cx::TransferFunctionColorWidget::mCurrentClickPos |
|
protected |
◆ mCustomColorAction
QAction* cx::TransferFunctionColorWidget::mCustomColorAction |
|
protected |
◆ mFullArea
QRect cx::TransferFunctionColorWidget::mFullArea |
|
protected |
◆ mImage
ImagePtr cx::TransferFunctionColorWidget::mImage |
|
protected |
◆ mImageTF
◆ mPlotArea
QRect cx::TransferFunctionColorWidget::mPlotArea |
|
protected |
◆ mPointRects
std::map<int, QRect> cx::TransferFunctionColorWidget::mPointRects |
|
protected |
◆ mRemoveColorAction
QAction* cx::TransferFunctionColorWidget::mRemoveColorAction |
|
protected |
◆ mSelectedPoint
ColorPoint cx::TransferFunctionColorWidget::mSelectedPoint |
|
protected |
The documentation for this class was generated from the following files: