Kanzi  3.9.7
Kanzi Engine API
kanzi::Trajectory3DInputHandler< TLayoutClass, TDerivedClass > Class Template Reference

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

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

Public Member Functions

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

Protected Attributes

Vector3 m_lastHitPoint
 
optional< float > m_lastHitPointValue
 

Additional Inherited Members

- Static Public Member Functions inherited from kanzi::Trajectory3DInputLogic
static void checkForHitImpl (InputManipulator::InputMessageArguments &message, const Matrix4x4 &transformation, const Matrix4x4 &arrangeTransform, const Vector3 &actualSize, float distanceBetweenPoints, vector< Vector3 >::const_iterator pointCacheBegin, vector< Vector3 >::const_iterator pointCacheEnd, const TrajectoryLayout3D *layout, float &distanceAlongCurve, float &shortestDistance, Vector3 &closestCurvePoint)
 
static Vector3 closestPoint (vector< Vector3 >::const_iterator pointCacheBegin, vector< Vector3 >::const_iterator pointCacheEnd, const Vector3 &point, const Vector3 &scaling, const TrajectorySharedPtr &trajectory, const Vector3 &actualSize, const Matrix4x4 &transform, float &out_distance, float &out_distanceAlongCurve)
 
static bool isInsideBoundingBox (const Vector3 &point, const Vector3 &boundingBoxMin, const Vector3 &boundingBoxMax)
 
static Vector3 refineClosestPoint (const TrajectorySharedPtr &trajectory, const Vector3 &point, float distanceAlongCurve, float distanceBetweenPoints, const Vector3 &scaling, const Vector3 &actualSize, const Matrix4x4 &transform, float &out_distance, float &out_distanceAlongCurve)
 

Constructor & Destructor Documentation

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

Member Function Documentation

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

Member Data Documentation

template<class TLayoutClass , class TDerivedClass >
optional<float> kanzi::Trajectory3DInputHandler< TLayoutClass, TDerivedClass >::m_lastHitPointValue
protected
template<class TLayoutClass , class TDerivedClass >
Vector3 kanzi::Trajectory3DInputHandler< TLayoutClass, TDerivedClass >::m_lastHitPoint
protected

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