diff --git a/Modules/QmitkExt/QmitkTransferFunctionGeneratorWidget.ui b/Modules/QmitkExt/QmitkTransferFunctionGeneratorWidget.ui index ac793cfc1b..a71c38d19d 100644 --- a/Modules/QmitkExt/QmitkTransferFunctionGeneratorWidget.ui +++ b/Modules/QmitkExt/QmitkTransferFunctionGeneratorWidget.ui @@ -1,422 +1,416 @@ QmitkTransferFunctionGeneratorWidget 0 0 349 316 1 1 16777215 16777215 Form 0 0 0 0 0 16777215 120 0 0 0 Presets Apply internal MITK transferfunction presets. Or save and load your own created transferfunctions in a folder in XML format. Qt::Vertical 20 0 true 0 0 0 0 Choose one of generic MITK internal presets to apply on standard CT data or MR data. Load a MITK internal preset -1 16 16 false true 0 1 0 0 16777215 25 Qt::AutoText Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop true 0 0 0 64 16777215 Load a transferfunction in xml-format from the filesystem. The load includes all transferfunctions: grayvalue, color and gradient. Load 0 0 64 16777215 Save a transferfunction in xml-format in the filesystem. The save includes all transferfunctions: grayvalue, color and gradient. Save 0 0 Threshold - Generate a threshold transfer function interactively. -Click on the cross and move the mouse. -With a vertical move the function will be steeper or flatter. -With a horizontal move the center of the function left or right. + Generate a threshold transfer function interactively. 0 0 0 0 48 48 Click and hold left mouse button on the cross. Move the mouse to the top and the function will be flatter. Move the mouse to the bottom and the function will be steeper. Move the mouse to the left and the function moves to the left. Move the mouse to the right and the function moves to the right. Qt::LeftToRight :/qmitk/cross.png true Qt::AlignCenter -1 Qt::NoTextInteraction 0 0 0 0 7 Click and hold left mouse button on the cross to interactively generate a threshold transferfunction Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop true 0 0 Bell - Generate a bell transfer function interactively. -Click on the cross and move the mouse. -With a vertical move the bell will be narrower or wider. -With a horizontal move the center of the bell moves to the left or right. + Generate a bell transfer function interactively. 0 0 0 0 48 48 Click and hold left mouse button on the cross. Move the mouse to the top and the bell will be wider. Move the mouse to the bottom and the bell will be flattened. Move the mouse to the left and the center of the bell moves to the left. Move the mouse to the right and the center of the bell moves to the right. :/qmitk/cross.png true Qt::AlignCenter Qt::NoTextInteraction 0 0 0 0 7 Click and hold left mouse button on the cross to interactively generate a bell transferfunction Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop true QmitkCrossWidget QLabel
QmitkCrossWidget.h
diff --git a/Modules/QmitkExt/QmitkTransferFunctionWidget.ui b/Modules/QmitkExt/QmitkTransferFunctionWidget.ui index dc252e2c8a..91690816dc 100755 --- a/Modules/QmitkExt/QmitkTransferFunctionWidget.ui +++ b/Modules/QmitkExt/QmitkTransferFunctionWidget.ui @@ -1,482 +1,521 @@ QmitkTransferFunctionWidget 0 0 300 542 1 1 Form 0 - modify actual seen window by dragging left and right slider. + Change transfer function window range. Qt::Horizontal 0 0 48 16777215 Resets range to histogram minimum and maximum. Reset 0 3 0 0 1 0 64 Left-click to select a point or add a new point. - Hold left mouse button to move selected point. +Hold left mouse button to move selected point. Click right mouse button to delete a point. true 0 0 48 0 48 16777215 Edit x-coordinate (grayvalue) of currently selected point. Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter 0 0 Edit x-coordinate (grayvalue) of currently selected point. Grayvalue false + + + + Qt::Horizontal + + + + 40 + 20 + + + + 0 0 Edit y-coordinate (opacity) of currently selected point. Opacity Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter false 0 0 48 0 48 16777215 Edit y-coordinate (opacity) of currently selected point. Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter 0 0 0 0 1 0 48 Left-click to select a point or add a new point. - Hold left mouse button to move selected point. +Hold left mouse button to move selected point. Click right mouse button to delete a point. Double-click left mouse button to change color of a point. 0 0 48 0 48 16777215 Edit x-coordinate (grayvalue) of currently selected point. Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter Edit x-coordinate (grayvalue) of currently selected point. Grayvalue false + + + + Qt::Horizontal + + + + 40 + 20 + + + + 0 2 0 0 1 0 64 Left-click to select a point or add a new point. - Hold left mouse button to move selected point. +Hold left mouse button to move selected point. Click right mouse button to delete a point. 0 0 48 0 48 16777215 Edit x-coordinate (grayvalue) of currently selected point. Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter Edit x-coordinate (grayvalue) of currently selected point. Grayvalue false + + + + Qt::Horizontal + + + + 40 + 20 + + + + Edit y-coordinate (opacity) of currently selected point. Opacity Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter false 0 0 48 0 48 16777215 Edit y-coordinate (opacity) of currently selected point. Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter Qt::Vertical 20 0 QmitkPiecewiseFunctionCanvas QWidget
QmitkPiecewiseFunctionCanvas.h
QmitkColorTransferFunctionCanvas QWidget
QmitkColorTransferFunctionCanvas.h
QmitkFloatingPointSpanSlider QSlider
QmitkFloatingPointSpanSlider.h