ImFusion SDK 4.3
LabelDataComponentWidget Class Reference

#include <ImFusion/GUI/LabelDataComponentWidget.h>

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

+ Inheritance diagram for LabelDataComponentWidget:

Detailed Description

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

See also
Data::Modality::LABEL, LabelDataComponent

Public Types

enum class  VisibilityMode { Visibility2d , Visibility3d , VisibilityAll }
 Enumeration to define which visibility flags of LabelDataComponent are to be modified by this widget. More...
 

Public Member Functions

 LabelDataComponentWidget (GUI::DisplayBase *display, VisibilityMode vm, QWidget *parent=nullptr)
 
 LabelDataComponentWidget (GUI::DisplayBase *display, VisibilityMode vm, QString title, QWidget *parent)
 
void setReferenceData (LabelDataComponent *ldc, const SharedImageSet *referenceSis, int which=-1)
 Sets the LabelDataComponent to edit and optionally the reference image.
 
void setDetectLabelsButtonVisibility (bool isVisible)
 Sets whether the Detect Labels button is visible or not.
 
void showNumericColor (bool show)
 Sets whether the color picker shows numeric values.
 
- 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.
 

Member Enumeration Documentation

◆ VisibilityMode

enum class VisibilityMode
strong

Enumeration to define which visibility flags of LabelDataComponent are to be modified by this widget.

Enumerator
Visibility2d 

Modify only 2D label visibility.

Visibility3d 

Modify only 3D label visibility.

VisibilityAll 

Modify both 2D and 3D label visibility.

Constructor & Destructor Documentation

◆ LabelDataComponentWidget()

LabelDataComponentWidget ( GUI::DisplayBase * display,
VisibilityMode vm,
QWidget * parent = nullptr )
explicit
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