Click or drag to resize
SoScaleGestureRecognizer Class

Scale (pinch) gesture recognizer.

Inheritance Hierarchy
SystemObject
  OIV.InventorSoNetBase
    OIV.Inventor.Gestures.RecognizersSoGestureRecognizer
      OIV.Inventor.Gestures.RecognizersSoScaleGestureRecognizer

Namespace: OIV.Inventor.Gestures.Recognizers
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public class SoScaleGestureRecognizer : SoGestureRecognizer

The SoScaleGestureRecognizer type exposes the following members.

Constructors
  NameDescription
Public methodSoScaleGestureRecognizer

Constructor.

Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodRecognize

If the specified touch event completes a recognized gesture, returns an OIV.Inventor.Gestures.Events.SoGestureEvent, else returns null.

(Inherited from SoGestureRecognizer.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

OIV.Inventor.Gestures.Recognizers.SoScaleGestureRecognizer analyses touch events and recognizes a scale (two finger pinch) gesture. It returns an OIV.Inventor.Gestures.Events.SoScaleGestureEvent (pinch) event if this gesture is recognized. The scale event contains the scale factor between the current state and the initial one. This recognizer generates a BEGIN event, followed by DELTA events and finishing with an END event (OIV.Inventor.Gestures.Events.SoGestureEvent.GetGestureState()).

Note:

See Also