Kanzi  3.9.6
Kanzi Engine API
kanzi::Trajectory2DInputLogic Class Reference

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

Inheritance diagram for kanzi::Trajectory2DInputLogic:
[legend]

Static Public Member Functions

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)
 

Member Function Documentation

◆ refineClosestPoint()

static Vector2 kanzi::Trajectory2DInputLogic::refineClosestPoint ( const TrajectorySharedPtr trajectory,
const Vector2 point,
float  distanceAlongCurve,
float  distanceBetweenPoints,
const TrajectoryLayout2D layout,
float &  out_distance,
float &  out_distanceAlongCurve 
)
static

◆ closestPoint()

static Vector2 kanzi::Trajectory2DInputLogic::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

◆ checkForHitImpl()

static void kanzi::Trajectory2DInputLogic::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

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