ImFusion C++ SDK 4.4.0
ImFusion::Seg::LambdaEventHandler Class Reference
Inheritance diagram for ImFusion::Seg::LambdaEventHandler:

Public Member Functions

void reset ()
GUI::EventResult handleInputEvent (const GUI::InputEvent &event, const GUI::View &view) override
 This function is called by sources of input events in order to dispatch them to the handlers.

Public Attributes

std::function< GUI::EventResult(bool left, bool right, vec3 world, const GlView &view)> m_mouseEventHandler

Member Function Documentation

◆ handleInputEvent()

GUI::EventResult ImFusion::Seg::LambdaEventHandler::handleInputEvent ( const GUI::InputEvent & event,
const GUI::View & view )
overridevirtual

This function is called by sources of input events in order to dispatch them to the handlers.

In case there are more than one InputEventHandlers dispatchers are intended call this function consecutively until the first handler indicates to stop by returning a result where EventResult::stopPropagation() is true.

Implements ImFusion::GUI::ViewObject::EventHandler.


The documentation for this class was generated from the following file:
  • ImFusion/Seg/Utils.h
Search Tab / S to search, Esc to close