ImFusion SDK 4.3
DisplayOptions2dWidget Class Reference

#include <ImFusion/GUI/DisplayOptions2dWidget.h>

Widget to display and manipulate the per-data rendering options of a 2D view. More...

+ Inheritance diagram for DisplayOptions2dWidget:

Detailed Description

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.
 
DisplayOptions2ddisplayOptions () 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.
 
SignalReceiveroperator= (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.
 

Constructor & Destructor Documentation

◆ DisplayOptions2dWidget()

DisplayOptions2dWidget ( GUI::DisplayBase * display,
GUI::View * referenceView,
QWidget * parent = nullptr )

Standard constructor.

Parameters
displayPointer to the display so that we can notify it for updates.
referenceViewPointer to an optional reference view in which the data is shown to be forwarded to the TransferFunctionWidget.

The documentation for this class was generated from the following file:
Search Tab / S to search, Esc to close