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

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

Inheritance diagram for kanzi::Trajectory2DInputHandler< TLayoutClass, TDerivedClass >:
kanzi::Trajectory2DInputLogic

Public Member Functions

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

Protected Attributes

Vector2 m_lastHitPoint
 
optional< float > m_lastHitPointValue
 

Additional Inherited Members

- Static Public Member Functions inherited from kanzi::Trajectory2DInputLogic
static Vector2 refineClosestPoint (const TrajectorySharedPtr &trajectory, const Vector2 &point, float distanceAlongCurve, float distanceBetweenPoints, const TrajectoryLayout2D *layout, float &out_distance, float &out_distanceAlongCurve)
 
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 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)
 

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: