Uses of Class
com.openinventor.inventor.SbTime
Packages that use SbTime
Package
Description
Open Inventor is an object-oriented and OpenGL-based API for real-time 3D visualization.
-
Uses of SbTime in com.openinventor.inventor
Methods in com.openinventor.inventor that return SbTimeModifier and TypeMethodDescriptionstatic SbTimeSoDB.getCurrentTime()Returns the current time.static SbTimeSoDB.getDelaySensorTimeout()Returns the current delay queue timeout value.SbElapsedTime.getElapsedTime()Gets elapsed time.static SbTimeSoDB.getRealTimeInterval()Returns how often the database is updating the realTime global field.static SbTimeSbTime.getTimeOfDay()Get the current time (seconds since Jan 1, 1970).static SbTimeSbTime.maxTime()Get a time far, far into the future.Subtraction of two times.SbTime.over(double s) Division by scalar.Addition of two times.Modulus for two times (remainder when time1 is divided by time2).SbTime.times(double s) Multiplication by scalar.static SbTime[]SbTime.toArray(long nativeArray, long length) static SbTimeSbTime.zero()Get a zero time.Methods in com.openinventor.inventor with parameters of type SbTimeModifier and TypeMethodDescriptionvoidAddition of two times which modifies the time structure.Subtraction of two times.doubleDivision by another time.Addition of two times.Modulus for two times (remainder when time1 is divided by time2).static voidSoDB.setDelaySensorTimeout(SbTime t) This sets the timeout value for sensors that are delay queue sensors (one-shot sensors, data sensors).static voidSoDB.setRealTimeInterval(SbTime deltaT) The database automatically creates one global field when SoDB.init() is called.voidvoidSubtraction of two times which modifies the time structure.Constructors in com.openinventor.inventor with parameters of type SbTime -
Uses of SbTime in com.openinventor.inventor.events
Methods in com.openinventor.inventor.events that return SbTimeMethods in com.openinventor.inventor.events with parameters of type SbTime -
Uses of SbTime in com.openinventor.inventor.fields
Methods in com.openinventor.inventor.fields that return SbTimeModifier and TypeMethodDescriptionSoSFTime.getValue()Returns this field's value.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 SbTimeModifier and TypeMethodDescriptionintCalls find(targetValue, false).intFinds the given targetValue in the array and returns the index of that value.voidSets the index'th value in the array to newValue.voidSets the first value in the array to newValue, and deletes.voidSets this field to newValue.voidSets num values starting at index start to the values.Constructors in com.openinventor.inventor.fields with parameters of type SbTimeModifierConstructorDescriptionSoSFTime(SoFieldContainer fieldContainer, 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 SbTimeModifier and TypeMethodDescriptionSoLongTapGestureEvent.getDuration()Returns duration of long tap.Methods in com.openinventor.inventor.gestures.events with parameters of type SbTimeModifier and TypeMethodDescriptionvoidSoLongTapGestureEvent.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 SbTimeModifier and TypeMethodDescriptionSoDoubleTapGestureRecognizer.getMaximumDurationBetweenTap()Gets the maximum time that can elapse between the two taps of a double tap.SoDoubleTapGestureRecognizer.getMaximumTapDuration()Gets tap maximum duration (1.0 seconds by default).SoLongTapGestureRecognizer.getMinimumLongTapDuration()Gets the minimum duration of a long tap.Methods in com.openinventor.inventor.gestures.recognizers with parameters of type SbTimeModifier and TypeMethodDescriptionvoidSoDoubleTapGestureRecognizer.setMaximumDurationBetweenTap(SbTime t) Sets the maximum time that can elapse between the two taps of a double tap.voidSoDoubleTapGestureRecognizer.setMaximumTapDuration(SbTime time) Sets tap maximum duration (1.0 seconds by default).voidSoLongTapGestureRecognizer.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 SbTimeModifier and TypeMethodDescriptionSoTimerSensor.getBaseTime()Gets the base time.SoTimerSensor.getInterval()Gets the interval.SoAlarmSensor.getTime()Returns the time at which the sensor is set to be triggered.SoTimerQueueSensor.getTriggerTime()Returns the time at which this sensor is scheduled to be triggered.Methods in com.openinventor.inventor.sensors with parameters of type SbTimeModifier and TypeMethodDescriptionvoidSoTimerSensor.setBaseTime(SbTime base) Sets the base time.voidSoTimerSensor.setInterval(SbTime intvl) Sets the interval.voidSets the sensor to go off at the specified time.voidSoAlarmSensor.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 SbTimeModifier and TypeMethodDescriptionSoTouchManager.getTouchDownEvent(long fingerId, SbVec2f fingerPos, SbTime time) Translate the given touch down event into a list ofSoEvent.SoTouchManager.getTouchMoveEvent(long fingerId, SbVec2f fingerPos, SbTime time) Translate the given touch move event into a list ofSoEvent.SoTouchManager.getTouchUpEvent(long fingerId, SbVec2f fingerPos, SbTime time) Translate the given touch up event into a list ofSoEvent.SoTouchManager.updateAndProcessTouchEvent(long id, SoTouchEvent.States state, SbVec2f position, SbTime time) Deprecated.As of Open Inventor 9.5.0.0. -
Uses of SbTime in com.openinventor.inventor.touch.events
Methods in com.openinventor.inventor.touch.events that return SbTimeModifier and TypeMethodDescriptionSoTouchEvent.getElapsedTimeSincePreviousEvent()Gets the elapsed time since previous event, triggered by the same finger, in seconds.SoTouchEvent.getElapsedTimeUntilPreviousEvent()Gets the elapsed time between the first contact and previous event, for the finger identified bygetFingerId(), in seconds.SoTouchEvent.getFirstContactTime()Gets the time of first contact in seconds of the finger identified bygetFingerId().SoTouchEvent.getPreviousEventTime()Gets the time of previous event of the finger identified bygetFingerId().