Kanzi Framework  3.9.0
Kanzi Engine API
kanzi::SliderTrajectoryPresenter< TLayoutClass, TDerivedClass, TInputClass > Class Template Reference

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

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

Public Types

typedef shared_ptr< TLayoutClass > LayoutClassSharedPtr
 
typedef vector< Vector3PointCachePoints
 
typedef shared_ptr< SliderTrajectoryPresenter< TLayoutClass, TDerivedClass, TInputClass > > SharedPtr
 

Public Member Functions

size_t calculateNumberOfTrajectoryPoints (Trajectory &trajectory)
 
void calculateTrajectoryPoints ()
 
float getDistanceBetweenPoints () const
 
Vector3 getLastHitPoint () const
 
Vector2 getLastHitPoint2D () const
 
float getLastHitPointValue () const
 Relative distance of the last hit point from the beginning of the curve. Range [0.0f, 1.0f]. More...
 
LayoutClassSharedPtr getLayout () const
 
PointCachePoints::const_iterator getPointCacheBegin () const
 
PointCachePoints::const_iterator getPointCacheEnd () const
 
void initialize ()
 
void onPanCanceled (PanManipulator::CanceledMessageArguments &)
 
void onPanFinished (PanManipulator::FinishedMessageArguments &message)
 
void onPanMoved (PanManipulator::MovedMessageArguments &message)
 
void onPanStarted (PanManipulator::StartedMessageArguments &message)
 
void refreshLayoutInstance ()
 
void removeLayout ()
 
 SliderTrajectoryPresenter (Domain *, TDerivedClass *derivedClassArg)
 
 ~SliderTrajectoryPresenter ()
 

Static Public Member Functions

static SharedPtr create (Domain *uiDomainArg, TDerivedClass *derivedClassArg)
 

Member Typedef Documentation

◆ SharedPtr

template<class TLayoutClass , class TDerivedClass , class TInputClass >
typedef shared_ptr<SliderTrajectoryPresenter<TLayoutClass, TDerivedClass, TInputClass> > kanzi::SliderTrajectoryPresenter< TLayoutClass, TDerivedClass, TInputClass >::SharedPtr

◆ PointCachePoints

template<class TLayoutClass , class TDerivedClass , class TInputClass >
typedef vector<Vector3> kanzi::SliderTrajectoryPresenter< TLayoutClass, TDerivedClass, TInputClass >::PointCachePoints

◆ LayoutClassSharedPtr

template<class TLayoutClass , class TDerivedClass , class TInputClass >
typedef shared_ptr<TLayoutClass> kanzi::SliderTrajectoryPresenter< TLayoutClass, TDerivedClass, TInputClass >::LayoutClassSharedPtr

Constructor & Destructor Documentation

◆ SliderTrajectoryPresenter()

template<class TLayoutClass , class TDerivedClass , class TInputClass >
kanzi::SliderTrajectoryPresenter< TLayoutClass, TDerivedClass, TInputClass >::SliderTrajectoryPresenter ( Domain ,
TDerivedClass *  derivedClassArg 
)
inlineexplicit

◆ ~SliderTrajectoryPresenter()

template<class TLayoutClass , class TDerivedClass , class TInputClass >
kanzi::SliderTrajectoryPresenter< TLayoutClass, TDerivedClass, TInputClass >::~SliderTrajectoryPresenter ( )
inline

Member Function Documentation

◆ getPointCacheBegin()

template<class TLayoutClass , class TDerivedClass , class TInputClass >
PointCachePoints::const_iterator kanzi::SliderTrajectoryPresenter< TLayoutClass, TDerivedClass, TInputClass >::getPointCacheBegin ( ) const
inline

◆ getPointCacheEnd()

template<class TLayoutClass , class TDerivedClass , class TInputClass >
PointCachePoints::const_iterator kanzi::SliderTrajectoryPresenter< TLayoutClass, TDerivedClass, TInputClass >::getPointCacheEnd ( ) const
inline

◆ getLastHitPoint()

template<class TLayoutClass , class TDerivedClass , class TInputClass >
Vector3 kanzi::SliderTrajectoryPresenter< TLayoutClass, TDerivedClass, TInputClass >::getLastHitPoint ( ) const
inline

◆ getLastHitPoint2D()

template<class TLayoutClass , class TDerivedClass , class TInputClass >
Vector2 kanzi::SliderTrajectoryPresenter< TLayoutClass, TDerivedClass, TInputClass >::getLastHitPoint2D ( ) const
inline

◆ getLastHitPointValue()

template<class TLayoutClass , class TDerivedClass , class TInputClass >
float kanzi::SliderTrajectoryPresenter< TLayoutClass, TDerivedClass, TInputClass >::getLastHitPointValue ( ) const
inline

Relative distance of the last hit point from the beginning of the curve. Range [0.0f, 1.0f].

◆ getDistanceBetweenPoints()

template<class TLayoutClass , class TDerivedClass , class TInputClass >
float kanzi::SliderTrajectoryPresenter< TLayoutClass, TDerivedClass, TInputClass >::getDistanceBetweenPoints ( ) const
inline

◆ getLayout()

template<class TLayoutClass , class TDerivedClass , class TInputClass >
LayoutClassSharedPtr kanzi::SliderTrajectoryPresenter< TLayoutClass, TDerivedClass, TInputClass >::getLayout ( ) const
inline

◆ removeLayout()

template<class TLayoutClass , class TDerivedClass , class TInputClass >
void kanzi::SliderTrajectoryPresenter< TLayoutClass, TDerivedClass, TInputClass >::removeLayout ( )
inline

◆ create()

template<class TLayoutClass , class TDerivedClass , class TInputClass >
static SharedPtr kanzi::SliderTrajectoryPresenter< TLayoutClass, TDerivedClass, TInputClass >::create ( Domain uiDomainArg,
TDerivedClass *  derivedClassArg 
)
inlinestatic

◆ onPanStarted()

template<class TLayoutClass , class TDerivedClass , class TInputClass >
void kanzi::SliderTrajectoryPresenter< TLayoutClass, TDerivedClass, TInputClass >::onPanStarted ( PanManipulator::StartedMessageArguments message)
inline

◆ onPanMoved()

template<class TLayoutClass , class TDerivedClass , class TInputClass >
void kanzi::SliderTrajectoryPresenter< TLayoutClass, TDerivedClass, TInputClass >::onPanMoved ( PanManipulator::MovedMessageArguments message)
inline

◆ onPanFinished()

template<class TLayoutClass , class TDerivedClass , class TInputClass >
void kanzi::SliderTrajectoryPresenter< TLayoutClass, TDerivedClass, TInputClass >::onPanFinished ( PanManipulator::FinishedMessageArguments message)
inline

◆ onPanCanceled()

template<class TLayoutClass , class TDerivedClass , class TInputClass >
void kanzi::SliderTrajectoryPresenter< TLayoutClass, TDerivedClass, TInputClass >::onPanCanceled ( PanManipulator::CanceledMessageArguments )
inline

◆ initialize()

template<class TLayoutClass , class TDerivedClass , class TInputClass >
void kanzi::SliderTrajectoryPresenter< TLayoutClass, TDerivedClass, TInputClass >::initialize ( )
inline

◆ calculateNumberOfTrajectoryPoints()

template<class TLayoutClass , class TDerivedClass , class TInputClass >
size_t kanzi::SliderTrajectoryPresenter< TLayoutClass, TDerivedClass, TInputClass >::calculateNumberOfTrajectoryPoints ( Trajectory trajectory)
inline

◆ calculateTrajectoryPoints()

template<class TLayoutClass , class TDerivedClass , class TInputClass >
void kanzi::SliderTrajectoryPresenter< TLayoutClass, TDerivedClass, TInputClass >::calculateTrajectoryPoints ( )
inline

◆ refreshLayoutInstance()

template<class TLayoutClass , class TDerivedClass , class TInputClass >
void kanzi::SliderTrajectoryPresenter< TLayoutClass, TDerivedClass, TInputClass >::refreshLayoutInstance ( )
inline

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