ImFusion C++ SDK 4.4.0
ImFusion::AnnotationView Class Reference
Inheritance diagram for ImFusion::AnnotationView:

Public Member Functions

 AnnotationView (Project &p, ProjectSortFilter &psf, ThumbnailLoader &tl, bool reduced, QWidget *parent)
void keyPressEvent (QKeyEvent *event) override
void keyReleaseEvent (QKeyEvent *event) override
void mouseDoubleClickEvent (QMouseEvent *event) override
void mouseMoveEvent (QMouseEvent *event) override
void mousePressEvent (QMouseEvent *event) override
void wheelEvent (QWheelEvent *event) override
void configuration (Properties *p) const override
 Serialize the current object configuration into the given Properties object.
void configure (const Properties *p) override
 Configure this object instance by de-serializing the given Properties.
void configureEnabledActions (const std::string &actions)
 Set which actions are enabled.
AnnotationPanelannotationPanel ()
GUI::RadiologyDisplaydisplayWidget ()
GUI::QtDisplayWidgetqtDisplayWidget ()
Ui::Annotation & ui ()
void setGeometricAnnotationsVisible (bool visible)
 Show or hide all geometric annotations.
Public Member Functions inherited from ImFusion::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.
Public Member Functions inherited from ImFusion::Configurable
virtual void configureDefaults ()
 Retrieve the properties of this object, replaces values with their defaults and sets it again.
void registerParameter (ParameterBase *param)
 Register the given Parameter or SubProperty, so that it will be configured during configure()/configuration().
void unregisterParameter (const ParameterBase *param)
 Remove the given Parameter or SubProperty from the list of registered parameters.
 Configurable (const Configurable &rhs)
 Configurable (Configurable &&rhs) noexcept
Configurable & operator= (const Configurable &)
Configurable & operator= (Configurable &&) noexcept

Additional Inherited Members

Public Attributes inherited from ImFusion::Configurable
Signal signalParametersChanged
 Emitted whenever one of the registered Parameters' or SubPropertys' signalValueChanged signal was emitted.
Protected Member Functions inherited from ImFusion::SignalReceiver
void disconnectAll ()
 Disconnects all existing connections.
Protected Attributes inherited from ImFusion::Configurable
std::vector< Paramm_params
 List of all registered Parameter and SubProperty instances.

Member Function Documentation

◆ configuration()

void ImFusion::AnnotationView::configuration ( Properties * p) const
overridevirtual

Serialize the current object configuration into the given Properties object.

The default implementation will do so automatically for all registered Parameter and SubProperty instances.

See also
configure() for the inverse functionality

Reimplemented from ImFusion::Configurable.

◆ configure()

void ImFusion::AnnotationView::configure ( const Properties * p)
overridevirtual

Configure this object instance by de-serializing the given Properties.

The default implementation will do so automatically for all registered Parameter and SubProperty instances.

See also
configuration() for the inverse functionality

Reimplemented from ImFusion::Configurable.

◆ setGeometricAnnotationsVisible()

void ImFusion::AnnotationView::setGeometricAnnotationsVisible ( bool visible)

Show or hide all geometric annotations.

This can be used to toggle visibility from the outside without any automatic display options or user interactions interfering.


The documentation for this class was generated from the following file:
  • ImFusionLabels/lib/include/ImFusion/Labels/UI/AnnotationView.h
Search Tab / S to search, Esc to close