Class SoInteractionElement
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.elements.SoElement
-
- com.openinventor.inventor.elements.SoInteractionElement
-
public class SoInteractionElement extends SoElement
Stores the current interaction state. This element stores the current interaction state.- See Also:
SoWinRenderArea SoXtRenderArea
,SoQtRenderArea
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
-
Field Summary
-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static int
getClassStackIndex()
Deprecated.As of Open Inventor 9.3.0.0.static int
getElapsedFrames(SoState state)
Return number of frames since last interaction flag change.static double
getElapsedSeconds(SoState state)
Return number of seconds since last interaction flag change.static boolean
isInteracting(SoState state)
Returns true if a user interaction with the viewer is in progress.static void
set(SoState state, boolean moving)
Sets the current interaction in the state.-
Methods inherited from class com.openinventor.inventor.elements.SoElement
getClassStackIndex, pop, push
-
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
-
-
-
Method Detail
-
getClassStackIndex
@Deprecated(since="9.3.0.0") public static int getClassStackIndex()
Deprecated.As of Open Inventor 9.3.0.0. replaced by SoElement.getClassStackIndex(Class)Returns the stack id for this element. ] *
-
isInteracting
public static boolean isInteracting(SoState state)
Returns true if a user interaction with the viewer is in progress.
-
set
public static void set(SoState state, boolean moving)
Sets the current interaction in the state.
-
getElapsedFrames
public static int getElapsedFrames(SoState state)
Return number of frames since last interaction flag change.
-
getElapsedSeconds
public static double getElapsedSeconds(SoState state)
Return number of seconds since last interaction flag change.
-
-