Kanzi  3.9.7
Kanzi Engine API
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< float > m_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

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

Member Function Documentation

template<class TLayoutClass , class TDerivedClass >
void kanzi::Trajectory2DInputHandler< TLayoutClass, TDerivedClass >::checkForHit ( InputManipulator::InputMessageArguments message,
SliderTrajectoryPresenter< TLayoutClass, TDerivedClass, Trajectory2DInputHandler< TLayoutClass, TDerivedClass > > *  presenter 
)
inline

Member Data Documentation

template<class TLayoutClass , class TDerivedClass >
Vector2 kanzi::Trajectory2DInputHandler< TLayoutClass, TDerivedClass >::m_lastHitPoint
protected
template<class TLayoutClass , class TDerivedClass >
optional<float> kanzi::Trajectory2DInputHandler< TLayoutClass, TDerivedClass >::m_lastHitPointValue
protected

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