kanzi::PanManipulator::MovedMessageArguments Class Reference

Message arguments for moved message sent during pan gesture. Inherits argument properties from InputManipulator::InputMessageArguments. More...

#include <kanzi/core.ui/input/pan_manipulator.hpp>

Inheritance diagram for kanzi::PanManipulator::MovedMessageArguments:
kanzi::InputManipulator::InputMessageArguments kanzi::MessageArguments

Public Member Functions

Vector2 getDelta () const
 The distance in pixels pan has progressed since the last message in the pan gesture sequence. More...
 
void setDelta (Vector2 value)
 
- Public Member Functions inherited from kanzi::InputManipulator::InputMessageArguments
Vector2 getPoint () const
 The position of the primary touch point. More...
 
void setPoint (Vector2 value)
 
Vector3 getRayOrigin () const
 The origin of the pick ray in the local space of the enclosing viewport node. More...
 
void setRayOrigin (Vector3 value)
 
Vector3 getRayDirection () const
 Pick ray direction vector (normalized) in the local space of the enclosing viewport node. More...
 
void setRayDirection (Vector3 value)
 
Vector2 getHitTestPoint () const
 The position of the primary touch point in the object space of the node that generated the hit test. More...
 
void setHitTestPoint (Vector2 value)
 
Vector3 getHitTestRayOrigin () const
 Origin of the hit test ray in the local space of the hit test camera. Provided when hitting a 3D node. More...
 
void setHitTestRayOrigin (Vector3 value)
 
Vector3 getHitTestRayDirection () const
 Hit test ray direction vector (normalized) in the local space of the hit test camera. Provided when hitting a 3D node. More...
 
void setHitTestRayDirection (Vector3 value)
 
- Public Member Functions inherited from kanzi::MessageArguments
 MessageArguments ()
 
 MessageArguments (AbstractMessageType messageType)
 
 ~MessageArguments ()
 
template<typename TDataType >
TDataType getArgument (const PropertyType< TDataType > &argumentType) const
 
bool getAbstractArgument (AbstractPropertyType argumentType, Variant &variant) const
 
template<typename TDataType >
void setArgument (const PropertyType< TDataType > &argumentType, typename PropertyType< TDataType >::DataType value)
 
void setAbstractArgument (AbstractPropertyType argumentType, const Variant &variant)
 
bool isFrom (const Node &source) const
 
shared_ptr< NodegetSource () const
 
void setHandled (bool handled)
 
bool isHandled () const
 
chrono::milliseconds getTimestamp () const
 
KzuMessageDispatchergetDispatcher () const
 
AbstractMessageType getType () const
 
void setSource (Node *source)
 
void setTimestamp (chrono::milliseconds timestamp)
 
void setValid (bool valid)
 
bool isValid () const
 
void setDispatcher_internal (KzuMessageDispatcher *dispatcher)
 Internal function. More...
 
void setType_internal (AbstractMessageType type)
 Internal function. More...
 

Static Public Member Functions

static PropertyTypeEditorInfoSharedPtr makeEditorInfo ()
 
- Static Public Member Functions inherited from kanzi::InputManipulator::InputMessageArguments
static PropertyTypeEditorInfoSharedPtr makeEditorInfo ()
 
- Static Public Member Functions inherited from kanzi::MessageArguments
static PropertyTypeEditorInfoSharedPtr makeEditorInfo ()
 

Static Public Attributes

static PropertyType< Vector2PanDeltaProperty
 PanDelta property. More...
 
- Static Public Attributes inherited from kanzi::InputManipulator::InputMessageArguments
static PropertyType< Vector2ManipulatorPointProperty
 ManipulatorPoint property. More...
 
static PropertyType< Vector3ManipulatorRayOriginProperty
 ManipulatorRayOrigin property. More...
 
static PropertyType< Vector3ManipulatorRayDirectionProperty
 ManipulatorRayDirection property. More...
 
static PropertyType< Vector2HitTestPointProperty
 HitTestPoint property. More...
 
static PropertyType< Vector3HitTestRayOriginProperty
 HitTestRayOrigin property. More...
 
static PropertyType< Vector3HitTestRayDirectionProperty
 HitTestRayDirection property. More...
 
static PropertyType< void * > HitTestObjectProperty
 HitTestObject property. More...
 

Detailed Description

Message arguments for moved message sent during pan gesture. Inherits argument properties from InputManipulator::InputMessageArguments.

Member Function Documentation

Vector2 kanzi::PanManipulator::MovedMessageArguments::getDelta ( ) const
inline

The distance in pixels pan has progressed since the last message in the pan gesture sequence.

void kanzi::PanManipulator::MovedMessageArguments::setDelta ( Vector2  value)
inline
static PropertyTypeEditorInfoSharedPtr kanzi::PanManipulator::MovedMessageArguments::makeEditorInfo ( )
static

Member Data Documentation

PropertyType<Vector2> kanzi::PanManipulator::MovedMessageArguments::PanDeltaProperty
static

PanDelta property.

The default value is Vector2(0.0f, 0.0f).

See also
setPanDelta(), getPanDelta()

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