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

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

Inheritance diagram for kanzi::Trajectory3DInputHandler< TLayoutClass, TDerivedClass >:
kanzi::Trajectory3DInputLogic

Public Member Functions

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

Protected Attributes

optional< float > m_lastHitPointValue
 
Vector3 m_lastHitPoint
 

Additional Inherited Members

- Static Public Member Functions inherited from kanzi::Trajectory3DInputLogic
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)
 
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 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 bool isInsideBoundingBox (const Vector3 &point, const KzcVector3 &boundingBoxMin, const KzcVector3 &boundingBoxMax)
 

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: