Dali 3D User Interface Engine
List of all members | Public Member Functions
Dali::Internal::HitTestAlgorithm::HitTestInterface Struct Referenceabstract

Interface used by the hit-test-algorithm to determine whether the actor is hittable or whether we walk down its hierarchy. More...

#include <hit-test-algorithm-impl.h>

Inheritance diagram for Dali::Internal::HitTestAlgorithm::HitTestInterface:
Inheritance graph
[legend]

Public Member Functions

virtual bool IsActorHittable (Actor *actor)=0
 Called by the hit-test algorithm to determine whether the actor is hittable or not. More...
 
virtual bool DescendActorHierarchy (Actor *actor)=0
 Called by the hit-test algorithm to determine whether the algorithm should descend the actor's hierarchy (and hit-test its children as well). More...
 
virtual bool DoesLayerConsumeHit (Layer *layer)=0
 Called by the hit-test algorithm to determine whether the layer specified consumes the hit regardless of whether an actor in the layer requires it or not. More...
 

Detailed Description

Interface used by the hit-test-algorithm to determine whether the actor is hittable or whether we walk down its hierarchy.

Definition at line 52 of file hit-test-algorithm-impl.h.

Member Function Documentation

virtual bool Dali::Internal::HitTestAlgorithm::HitTestInterface::DescendActorHierarchy ( Actor actor)
pure virtual
virtual bool Dali::Internal::HitTestAlgorithm::HitTestInterface::DoesLayerConsumeHit ( Layer layer)
pure virtual

Called by the hit-test algorithm to determine whether the layer specified consumes the hit regardless of whether an actor in the layer requires it or not.

Note
If true is returned, then no layers behind this layer will be hit-test.
Parameters
[in]layerRaw pointer to a Layer object.
Returns
true if the layer should consume the hit, false otherwise.

Implemented in Dali::Internal::anonymous_namespace{hover-event-processor.cpp}::ActorHoverableCheck, Dali::Internal::HitTestAlgorithm::anonymous_namespace{hit-test-algorithm-impl.cpp}::ActorTouchableCheck, Dali::Internal::HitTestAlgorithm::anonymous_namespace{hit-test-algorithm-impl.cpp}::HitTestFunctionWrapper, and Dali::Internal::anonymous_namespace{gesture-processor.cpp}::GestureHitTestCheck.

Referenced by Dali::Internal::HitTestAlgorithm::anonymous_namespace{hit-test-algorithm-impl.cpp}::HitTestRenderTask().

Here is the caller graph for this function:

virtual bool Dali::Internal::HitTestAlgorithm::HitTestInterface::IsActorHittable ( Actor actor)
pure virtual

The documentation for this struct was generated from the following file:
Dali Docs Home
Read more about Dali