Murl Engine API  Version 2024.1
Murl::Graph::ITouchReporterTarget Interface Referenceabstract

The ITouchReporterTarget interface. More...

#include <murl_graph_i_touch_reporter_target.h>

Detailed Description

The ITouchReporterTarget interface.

The ITouchReporterTarget interface is used by the IMultiTouchReporter object to notify the combined state from ITouchReporter events.

Inheritance diagram for Murl::Graph::ITouchReporterTarget:
Murl::Graph::Button Murl::Graph::TouchArea Murl::Graph::PlaneTouchArea Murl::Graph::ResourceMeshTouchArea

Public Member Functions

virtual void SetPressed (const Vector &localPosition)=0
 Set the pressed state. More...
 
virtual void SetReleasedInside (const Vector &localPosition)=0
 Set the released inside state. More...
 
virtual void SetReleasedOutside (const Vector &localPosition)=0
 Set the released outside state. More...
 
virtual void SetButtonState (IEnums::ButtonState state)=0
 Set the button state. More...
 

Member Function Documentation

◆ SetPressed()

virtual void Murl::Graph::ITouchReporterTarget::SetPressed ( const Vector localPosition)
pure virtual

Set the pressed state.

The first ITouchReporter event was pressed on the touch area.

Parameters
localPositionThe local position of the event.

◆ SetReleasedInside()

virtual void Murl::Graph::ITouchReporterTarget::SetReleasedInside ( const Vector localPosition)
pure virtual

Set the released inside state.

A ITouchReporter event was pressed first and released at last inside the touch area.

Parameters
localPositionThe local position of the event.

◆ SetReleasedOutside()

virtual void Murl::Graph::ITouchReporterTarget::SetReleasedOutside ( const Vector localPosition)
pure virtual

Set the released outside state.

A ITouchReporter event was pressed first and released at last outside the touch area.

Parameters
localPositionThe local position of the event.

◆ SetButtonState()

virtual void Murl::Graph::ITouchReporterTarget::SetButtonState ( IEnums::ButtonState  state)
pure virtual

Set the button state.

Parameters
stateThe current button state.

The documentation for this interface was generated from the following file: