![]() |
ImFusion SDK 4.3
|
#include <ImFusion/GUI/DisplayOptions2dWidget.h>
Widget to display and manipulate the per-data rendering options of a 2D view. More...
Inheritance diagram for DisplayOptions2dWidget:Widget to display and manipulate the per-data rendering options of a 2D view.
Public Types | |
| enum class | Sections { None = 0 , Windowing = 1 << 0 , AutoWindowing = 1 << 1 , TransferFunc = 1 << 2 , Advanced = 1 << 3 , Masking = 1 << 4 , All = 0xFF } |
| Enumeration of sections that this widget can display. | |
Public Member Functions | |
| DisplayOptions2dWidget (GUI::DisplayBase *display, GUI::View *referenceView, QWidget *parent=nullptr) | |
| Standard constructor. | |
| void | setDisplayOptions (DisplayOptions2d *displayOptions, const SharedImageSet *refSis) |
| Sets the image whose rendering options will be manipulated through this widget. | |
| DisplayOptions2d * | displayOptions () const |
| Returns the DisplayOptions2D that are modified by this widget. | |
| void | setShowMinMax (bool value) |
| Sets whether to show min/max sliders (true) or window/level sliders (false). | |
| void | setShowInvert (bool value) |
| Sets visibility of "Invert" checkbox/label. | |
| void | setVisibleDisplayOptionsSections (Flags< Sections > visibleSections) |
| Sets the list of all DisplayOptions widget sections to show. | |
| QPushButton * | _getAddPresetButton () const |
Public Member Functions inherited from SignalReceiver | |
| SignalReceiver ()=default | |
| Default constructor. | |
| SignalReceiver (const SignalReceiver &other) | |
| Copy constructor, does not copy any existing signal connections from other. | |
| SignalReceiver & | operator= (SignalReceiver rhs) |
| Assignment operator, disconnects all existing connections, does not copy any existing signal connections from rhs. | |
| virtual | ~SignalReceiver () |
| Virtual destructor disconnects from all connected signals. | |
Additional Inherited Members | |
Protected Member Functions inherited from SignalReceiver | |
| void | disconnectAll () |
| Disconnects all existing connections. | |
| DisplayOptions2dWidget | ( | GUI::DisplayBase * | display, |
| GUI::View * | referenceView, | ||
| QWidget * | parent = nullptr ) |
Standard constructor.
| display | Pointer to the display so that we can notify it for updates. |
| referenceView | Pointer to an optional reference view in which the data is shown to be forwarded to the TransferFunctionWidget. |