SoLongTapGestureEvent Class Reference

Class for long tap gesture events. More...

#include <Inventor/gestures/events/SoLongTapGestureEvent.h>

Inheritance diagram for SoLongTapGestureEvent:
SoGestureEvent SoEvent SoTypedObject

List of all members.

Public Member Functions

virtual SoType getTypeId () const
 SoLongTapGestureEvent ()
SbTime getDuration () const
void setDuration (SbTime time)

Static Public Member Functions

static SoType getClassTypeId ()

Detailed Description

Class for long tap gesture events.

SoLongTapGestureEvent represents a long tap (touch-and-hold) gesture event in the Open Inventor event model. Touch events are analyzed by a SoLongTapGestureRecognizer. When a long tap gesture is recognized, the recognizer generates this event. It's a gesture with only END state (only one event is generated, at the end of the gesture). The finger has to stay within a limitation area and the gesture must be completed within a time limit (see SoLongTapGestureRecognizer).

Note:

SEE ALSO

SoEvent, SoGestureEvent, SoRotateGestureEvent, SoScaleGestureEvent, SoDoubleTapGestureEvent; SoLongTapGestureRecognizer


Constructor & Destructor Documentation

SoLongTapGestureEvent::SoLongTapGestureEvent (  ) 

Constructor.


Member Function Documentation

static SoType SoLongTapGestureEvent::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoGestureEvent.

SbTime SoLongTapGestureEvent::getDuration (  )  const

Returns duration of long tap.

virtual SoType SoLongTapGestureEvent::getTypeId (  )  const [virtual]

Returns the type identifier for this specific instance.

Reimplemented from SoGestureEvent.

void SoLongTapGestureEvent::setDuration ( SbTime  time  ) 

Sets duration of long tap (in seconds).


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

Open Inventor Toolkit reference manual, generated on 12 Feb 2024
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/