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 SbTime
SoDB.getCurrentTime()
Returns the current time.static SbTime
SoDB.getDelaySensorTimeout()
Returns the current delay queue timeout value.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.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 SbTime
SbTime.zero()
Get a zero time.Methods in com.openinventor.inventor with parameters of type SbTimeModifier and TypeMethodDescriptionvoid
Addition of two times which modifies the time structure.Subtraction of two times.double
Division by another time.Addition of two times.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
void
Subtraction 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 TypeMethodDescriptionint
Calls find(targetValue, false).int
Finds the given targetValue in the array and returns the index of that value.void
Sets the index'th value in the array to newValue.void
Sets the first value in the array to newValue, and deletes.void
Sets this field to newValue.void
Sets 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 TypeMethodDescriptionvoid
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 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 TypeMethodDescriptionvoid
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 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 TypeMethodDescriptionvoid
SoTimerSensor.setBaseTime
(SbTime base) Sets the base time.void
SoTimerSensor.setInterval
(SbTime intvl) Sets the interval.void
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 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()
.