Kanzi 3.9.10
kanzi::Trajectory2DInputHandler< TLayoutClass, TDerivedClass > Class Template Reference

#include <kanzi/ui/node/slider_trajectory_presenter.hpp>

Inheritance diagram for kanzi::Trajectory2DInputHandler< TLayoutClass, TDerivedClass >:
[legend]

Public Member Functions

void checkForHit (InputManipulator::InputMessageArguments &message, SliderTrajectoryPresenter< TLayoutClass, TDerivedClass, Trajectory2DInputHandler > *presenter)
 
 Trajectory2DInputHandler (TDerivedClass *derivedClass)
 

Protected Attributes

Vector2 m_lastHitPoint
 
optional< floatm_lastHitPointValue
 

Additional Inherited Members

- Static Public Member Functions inherited from kanzi::Trajectory2DInputLogic
static void checkForHitImpl (InputManipulator::InputMessageArguments &message, float distanceBetweenPoints, vector< Vector3 >::const_iterator pointCacheBegin, vector< Vector3 >::const_iterator pointCacheEnd, const TrajectoryLayout2D *layout, float &distanceAlongCurve, float &shortestDistance, Vector2 &closestCurvePoint)
 
static Vector2 closestPoint (vector< Vector3 >::const_iterator pointCacheBegin, vector< Vector3 >::const_iterator pointCacheEnd, const Vector2 &point, const TrajectorySharedPtr &trajectory, const TrajectoryLayout2D *layout, float &out_distance, float &out_distanceAlongCurve)
 
static Vector2 refineClosestPoint (const TrajectorySharedPtr &trajectory, const Vector2 &point, float distanceAlongCurve, float distanceBetweenPoints, const TrajectoryLayout2D *layout, float &out_distance, float &out_distanceAlongCurve)
 

Constructor & Destructor Documentation

◆ Trajectory2DInputHandler()

kanzi::Trajectory2DInputHandler< TLayoutClass, TDerivedClass >::Trajectory2DInputHandler ( TDerivedClass * derivedClass)
inlineexplicit

Member Function Documentation

◆ checkForHit()

Member Data Documentation

◆ m_lastHitPoint

◆ m_lastHitPointValue

optional<float> kanzi::Trajectory2DInputHandler< TLayoutClass, TDerivedClass >::m_lastHitPointValue
protected

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