Uses of Class
com.openinventor.inventor.SbTime
-
Packages that use SbTime Package Description com.openinventor.inventor Open Inventor is an object-oriented and OpenGL-based API for real-time 3D visualization.com.openinventor.inventor.events com.openinventor.inventor.fields com.openinventor.inventor.gestures.events com.openinventor.inventor.gestures.recognizers com.openinventor.inventor.sensors com.openinventor.inventor.touch com.openinventor.inventor.touch.events -
-
Uses of SbTime in com.openinventor.inventor
Methods in com.openinventor.inventor that return SbTime Modifier and Type Method Description static SbTime
SoDB. getCurrentTime()
Returns the current time.static SbTime
SoDB. getDelaySensorTimeout()
Returns the current delay queue timeout value.SbTime
SbElapsedTime. getElapsedTime()
Gets elapsed time.static SbTime
SoDB. getRealTimeInterval()
Returns how often the database is updating the realTime global field.static SbTime
SbTime. getTimeOfDay()
Get the current time (seconds since Jan 1, 1970).static SbTime
SbTime. maxTime()
Get a time far, far into the future.SbTime
SbTime. minus(SbTime t1)
Subtraction of two times.SbTime
SbTime. over(double s)
Division by scalar.SbTime
SbTime. plus(SbTime t1)
Addition of two times.SbTime
SbTime. remainder(SbTime tm)
Modulus for two times (remainder when time1 is divided by time2).SbTime
SbTime. times(double s)
Multiplication by scalar.static SbTime[]
SbTime. toArray(long nativeArray, long length)
static SbTime
SbTime. zero()
Get a zero time.Methods in com.openinventor.inventor with parameters of type SbTime Modifier and Type Method Description void
SbTime. add(SbTime tm)
Addition of two times which modifies the time structure.SbTime
SbTime. minus(SbTime t1)
Subtraction of two times.double
SbTime. over(SbTime tm)
Division by another time.SbTime
SbTime. plus(SbTime t1)
Addition of two times.SbTime
SbTime. remainder(SbTime tm)
Modulus for two times (remainder when time1 is divided by time2).static void
SoDB. setDelaySensorTimeout(SbTime t)
This sets the timeout value for sensors that are delay queue sensors (one-shot sensors, data sensors).static void
SoDB. setRealTimeInterval(SbTime deltaT)
The database automatically creates one global field when SoDB.init() is called.void
SbTime. setValue(SbTime copyFrom)
void
SbTime. substract(SbTime tm)
Subtraction of two times which modifies the time structure.Constructors in com.openinventor.inventor with parameters of type SbTime Constructor Description SbTime(SbTime copyFrom)
-
Uses of SbTime in com.openinventor.inventor.events
Methods in com.openinventor.inventor.events that return SbTime Modifier and Type Method Description SbTime
SoEvent. getTime()
Gets the time at which the event occurred.Methods in com.openinventor.inventor.events with parameters of type SbTime Modifier and Type Method Description void
SoEvent. setTime(SbTime t)
Sets the time at which the event occurred. -
Uses of SbTime in com.openinventor.inventor.fields
Methods in com.openinventor.inventor.fields that return SbTime Modifier and Type Method Description SbTime
SoSFTime. getValue()
Returns this field's value.SbTime
SoMFTime. getValueAt(int i)
SbTime[]
SoMFTime. getValues(int start)
Returns a pointer into the array of values in the field, starting at index start.Methods in com.openinventor.inventor.fields with parameters of type SbTime Modifier and Type Method Description int
SoMFTime. find(SbTime targetValue)
Calls find(targetValue, false).int
SoMFTime. find(SbTime targetValue, boolean addIfNotFound)
Finds the given targetValue in the array and returns the index of that value.void
SoMFTime. set1Value(int index, SbTime newValue)
Sets the index'th value in the array to newValue.void
SoMFTime. setValue(SbTime newValue)
Sets the first value in the array to newValue, and deletes.void
SoSFTime. setValue(SbTime newValue)
Sets this field to newValue.void
SoMFTime. setValues(int start, SbTime[] newValues)
Sets num values starting at index start to the values.Constructors in com.openinventor.inventor.fields with parameters of type SbTime Constructor Description SoSFTime(SoFieldContainer fieldContainer, java.lang.String fieldName, SoField.FieldTypes fieldType, SbTime defaultValue)
Default constructor. -
Uses of SbTime in com.openinventor.inventor.gestures.events
Methods in com.openinventor.inventor.gestures.events that return SbTime Modifier and Type Method Description SbTime
SoLongTapGestureEvent. getDuration()
Returns duration of long tap.Methods in com.openinventor.inventor.gestures.events with parameters of type SbTime Modifier and Type Method Description void
SoLongTapGestureEvent. setDuration(SbTime time)
Sets duration of long tap (in seconds) -
Uses of SbTime in com.openinventor.inventor.gestures.recognizers
Methods in com.openinventor.inventor.gestures.recognizers that return SbTime Modifier and Type Method Description SbTime
SoDoubleTapGestureRecognizer. getMaximumDurationBetweenTap()
Gets the maximum time that can elapse between the two taps of a double tap.SbTime
SoDoubleTapGestureRecognizer. getMaximumTapDuration()
Gets tap maximum duration (1.0 seconds by default).SbTime
SoLongTapGestureRecognizer. getMinimumLongTapDuration()
Gets the minimum duration of a long tap.Methods in com.openinventor.inventor.gestures.recognizers with parameters of type SbTime Modifier and Type Method Description void
SoDoubleTapGestureRecognizer. setMaximumDurationBetweenTap(SbTime t)
Sets the maximum time that can elapse between the two taps of a double tap.void
SoDoubleTapGestureRecognizer. setMaximumTapDuration(SbTime time)
Sets tap maximum duration (1.0 seconds by default).void
SoLongTapGestureRecognizer. setMinimumLongTapDuration(SbTime t)
Sets the minimum duration of a long tap. -
Uses of SbTime in com.openinventor.inventor.sensors
Methods in com.openinventor.inventor.sensors that return SbTime Modifier and Type Method Description SbTime
SoTimerSensor. getBaseTime()
Gets the base time.SbTime
SoTimerSensor. getInterval()
Gets the interval.SbTime
SoAlarmSensor. getTime()
Returns the time at which the sensor is set to be triggered.SbTime
SoTimerQueueSensor. getTriggerTime()
Returns the time at which this sensor is scheduled to be triggered.Methods in com.openinventor.inventor.sensors with parameters of type SbTime Modifier and Type Method Description void
SoTimerSensor. setBaseTime(SbTime base)
Sets the base time.void
SoTimerSensor. setInterval(SbTime intvl)
Sets the interval.void
SoAlarmSensor. setTime(SbTime absTime)
Sets the sensor to go off at the specified time.void
SoAlarmSensor. setTimeFromNow(SbTime relTime)
Sets the sensor to go off the given amount of time from now. -
Uses of SbTime in com.openinventor.inventor.touch
Methods in com.openinventor.inventor.touch with parameters of type SbTime Modifier and Type Method Description java.util.ArrayList<SoEvent>
SoTouchManager. getTouchDownEvent(long fingerId, SbVec2f fingerPos, SbTime time)
Translate the given touch down event into a list ofSoEvent
.java.util.ArrayList<SoEvent>
SoTouchManager. getTouchMoveEvent(long fingerId, SbVec2f fingerPos, SbTime time)
Translate the given touch move event into a list ofSoEvent
.java.util.ArrayList<SoEvent>
SoTouchManager. getTouchUpEvent(long fingerId, SbVec2f fingerPos, SbTime time)
Translate the given touch up event into a list ofSoEvent
.SoTouchEvent
SoTouchManager. updateAndProcessTouchEvent(long id, SoTouchEvent.States state, SbVec2f position, SbTime time)
Deprecated.As of Open Inventor 9500. -
Uses of SbTime in com.openinventor.inventor.touch.events
Methods in com.openinventor.inventor.touch.events that return SbTime Modifier and Type Method Description SbTime
SoTouchEvent. getElapsedTimeSincePreviousEvent()
Gets the elapsed time since previous event, triggered by the same finger, in seconds.SbTime
SoTouchEvent. getElapsedTimeUntilPreviousEvent()
Gets the elapsed time between the first contact and previous event, for the finger identified bygetFingerId()
, in seconds.SbTime
SoTouchEvent. getFirstContactTime()
Gets the time of first contact in seconds of the finger identified bygetFingerId()
.SbTime
SoTouchEvent. getPreviousEventTime()
Gets the time of previous event of the finger identified bygetFingerId()
.
-