![]() |
ImFusion SDK 4.3
|
#include <ImFusion/ML/DataItemDisplayHandler.h>
DataDisplayHandler for DataItems. More...
Inheritance diagram for DataItemDisplayHandler:DataDisplayHandler for DataItems.
Public Member Functions | |
| bool | handlesType (const Data *data) const override |
| Returns true if data is a DataItem. | |
| bool | canBeShownInView (const Data *data, const GUI::View &view) const override |
| Only supports ImageView2D and ImageView3D. | |
| void | show (Data *data, GUI::View &view) override |
| Visualize the given data in the given view. | |
| void | hide (Data *data, GUI::View &view) override |
| Remove the given data from the given view. | |
Public Member Functions inherited from DataDisplayHandler | |
| virtual void | onViewDeleted (GUI::View &view) |
| Called if a view associated with this DataDisplayHandler is destroyed. | |
| virtual std::unique_ptr< QWidget > | createDisplayOptionsWidget (Data *data, GUI::DisplayBase &display, GUI::View &view) const |
| Provides an optional QtWidgets-based GUI to configure display options for the given data shown in view. | |
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. | |
|
overridevirtual |
Returns true if data is a DataItem.
Implements DataDisplayHandler.
Only supports ImageView2D and ImageView3D.
Implements DataDisplayHandler.
Visualize the given data in the given view.
Should only be called if (handlesType(data) == true) && (canBeShownInView(data, view) == true).
Implements DataDisplayHandler.
Remove the given data from the given view.
data beyond pointer comparison because the instance may already in the process of deletion when calling this function. Implements DataDisplayHandler.