Kanzi 3.9.10
kanzi::PinchManipulator::MovedMessageArguments Class Reference

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

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

Inheritance diagram for kanzi::PinchManipulator::MovedMessageArguments:
[legend]

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 size_t getArgumentAllocatorPoolSize ()
 Gets the current size of memory pool of argument entries.
 
static const MetaclassgetStaticMetaclass ()
 Initializes and returns static metadata of base MessageArguments class.
 
static PropertyTypeEditorInfoSharedPtr makeEditorInfo ()
 Initializes and returns the Kanzi Studio editor information.
 

Properties

static PropertyType< Vector2PinchPositionDeltaProperty
 PinchPositionDelta property.
 
static PropertyType< floatPinchScaleProperty
 PinchScale property.
 
static PropertyType< floatPinchRotationProperty
 PinchRotation property.
 
Vector2 getDelta () const
 Gets the value of PinchPositionDeltaProperty.
 
void setDelta (Vector2 value)
 Sets the value of PinchPositionDeltaProperty.
 
float getScale () const
 Gets the value of PinchScaleProperty.
 
void setScale (float value)
 Sets the value of PinchScaleProperty.
 
float getRotation () const
 Gets the value of PinchRotationProperty.
 
void setRotation (float value)
 Sets the value of PinchRotationProperty.
 

Additional Inherited Members

- Public Member Functions inherited from kanzi::InputManipulator::InputMessageArguments
NodeSharedPtr getHitTestObject ()
 Gets the 3D node that is the object of hit testing.
 
Vector2 getHitTestPoint () const
 The position of the primary touch point in the object space of the node that generated the hit test.
 
Vector3 getHitTestRayDirection () const
 Hit test ray direction vector (normalized) in the local space of the hit test camera. Provided when hitting a 3D node.
 
float getHitTestRayDistance () const
 Gets the hit test ray distance between the camera and the bounding box of the hit test node.
 
Vector3 getHitTestRayOrigin () const
 Origin of the hit test ray in the local space of the hit test camera. Provided when hitting a 3D node.
 
Vector2 getPoint () const
 The position of the primary touch point.
 
Vector3 getRayDirection () const
 Pick ray direction vector (normalized) in the local space of the enclosing Viewport node.
 
Vector3 getRayOrigin () const
 The origin of the pick ray in the local space of the enclosing Viewport node.
 
void setHitTestObject (Node *node)
 Sets the 3D node that is the object of hit testing.
 
void setHitTestPoint (Vector2 value)
 
void setHitTestRayDirection (Vector3 value)
 
void setHitTestRayDistance (float value)
 Sets the hit test ray distance between the camera and the bounding box of the hit test node.
 
void setHitTestRayOrigin (Vector3 value)
 
void setPoint (Vector2 value)
 
void setRayDirection (Vector3 value)
 
void setRayOrigin (Vector3 value)
 
- Public Member Functions inherited from kanzi::MessageArguments
bool getAbstractArgument (AbstractPropertyType argumentType, Variant &variant) const
 Returns the value of an argument using AbstractPropertyType.
 
template<typename TDataType >
TDataType getArgument (const PropertyType< TDataType > &argumentType) const
 Returns the value of an argument.
 
detail::MessageDispatcher * getDispatcher () const
 Returns the message dispatcher that dispatches a message.
 
template<typename TDataType >
optional< TDataTypegetOptionalArgument (const PropertyType< TDataType > &argumentType) const
 Returns the value of an argument.
 
shared_ptr< NodegetSource () const
 Returns the source node for a message.
 
TimePoint getTimestamp () const
 Returns the timestamp of a message.
 
AbstractMessageType getType () const
 Returns the message type of these message arguments as an AbstractMessageType instance.
 
bool isFrom (const Node &source) const
 Returns whether a node is the source node of a message.
 
bool isHandled () const
 Returns whether the message is handled.
 
bool isValid () const
 Returns whether a message is valid.
 
 MessageArguments ()=default
 Constructor.
 
 MessageArguments (const MessageArguments &)=delete
 Deleted copy.
 
MessageArgumentsoperator= (const MessageArguments &)=delete
 Deleted assignment.
 
void setAbstractArgument (AbstractPropertyType argumentType, const Variant &variant)
 Sets the value of an argument using AbstractPropertyType.
 
template<typename TDataType >
void setArgument (const PropertyType< TDataType > &argumentType, typename PropertyType< TDataType >::DataType value)
 Sets the value of an argument.
 
void setDispatcher (detail::MessageDispatcher *dispatcher)
 Sets a dispatcher for a message.
 
void setHandled (bool handled)
 Sets the handling status for a message.
 
void setSource (Node *source)
 Sets the source node that dispatches a message.
 
void setTimestamp (TimePoint timestamp)
 Sets the timestamp of a message.
 
void setType (AbstractMessageType type)
 Sets the type of a message.
 
void setValid (bool valid)
 Sets the validity of a message.
 
 ~MessageArguments ()
 Destructor.
 
- Static Public Attributes inherited from kanzi::InputManipulator::InputMessageArguments
static PropertyType< void * > HitTestObjectProperty
 Reports the 3D node that is the object of hit testing.
 
static PropertyType< Vector2HitTestPointProperty
 HitTestPoint property.
 
static PropertyType< Vector3HitTestRayDirectionProperty
 HitTestRayDirection property.
 
static PropertyType< floatHitTestRayDistanceProperty
 Reports the distance along the hit test ray between the camera and the bounding box of a 3D hit test node.
 
static PropertyType< Vector3HitTestRayOriginProperty
 HitTestRayOrigin property.
 
static PropertyType< Vector2ManipulatorPointProperty
 ManipulatorPoint property.
 
static PropertyType< Vector3ManipulatorRayDirectionProperty
 ManipulatorRayDirection property.
 
static PropertyType< Vector3ManipulatorRayOriginProperty
 ManipulatorRayOrigin property.
 

Detailed Description

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

Member Function Documentation

◆ getDelta()

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

Gets the value of PinchPositionDeltaProperty.

See also
setPositionDelta()

◆ setDelta()

void kanzi::PinchManipulator::MovedMessageArguments::setDelta ( Vector2 value)
inline

Sets the value of PinchPositionDeltaProperty.

See also
getDelta()

◆ getScale()

float kanzi::PinchManipulator::MovedMessageArguments::getScale ( ) const
inline

Gets the value of PinchScaleProperty.

See also
setScale()

◆ setScale()

void kanzi::PinchManipulator::MovedMessageArguments::setScale ( float value)
inline

Sets the value of PinchScaleProperty.

See also
getScale()

◆ getRotation()

float kanzi::PinchManipulator::MovedMessageArguments::getRotation ( ) const
inline

Gets the value of PinchRotationProperty.

See also
setRotation()

◆ setRotation()

void kanzi::PinchManipulator::MovedMessageArguments::setRotation ( float value)
inline

Sets the value of PinchRotationProperty.

See also
getRotation()

◆ makeEditorInfo()

static PropertyTypeEditorInfoSharedPtr kanzi::PinchManipulator::MovedMessageArguments::makeEditorInfo ( )
static

Member Data Documentation

◆ PinchPositionDeltaProperty

PropertyType<Vector2> kanzi::PinchManipulator::MovedMessageArguments::PinchPositionDeltaProperty
static

PinchPositionDelta property.

The change in the position of the pinch middle point since the last update in global screen coordinates. The default value is Vector2(0.0f, 0.0f).

See also
setDelta(), getDelta()

◆ PinchScaleProperty

PropertyType<float> kanzi::PinchManipulator::MovedMessageArguments::PinchScaleProperty
static

PinchScale property.

The scale recognized from the pinch gesture. The default value is 1.0f.

See also
setScale(), getScale()

◆ PinchRotationProperty

PropertyType<float> kanzi::PinchManipulator::MovedMessageArguments::PinchRotationProperty
static

PinchRotation property.

The rotation recognized from the pinch gesture. The default value is 0.0f.

See also
setRotation(), getRotation()

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