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 SbTimeSoDB. getCurrentTime()Returns the current time.static SbTimeSoDB. getDelaySensorTimeout()Returns the current delay queue timeout value.SbTimeSbElapsedTime. 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.SbTimeSbTime. minus(SbTime t1)Subtraction of two times.SbTimeSbTime. over(double s)Division by scalar.SbTimeSbTime. plus(SbTime t1)Addition of two times.SbTimeSbTime. remainder(SbTime tm)Modulus for two times (remainder when time1 is divided by time2).SbTimeSbTime. 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 SbTime Modifier and Type Method Description voidSbTime. add(SbTime tm)Addition of two times which modifies the time structure.SbTimeSbTime. minus(SbTime t1)Subtraction of two times.doubleSbTime. over(SbTime tm)Division by another time.SbTimeSbTime. plus(SbTime t1)Addition of two times.SbTimeSbTime. remainder(SbTime tm)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.voidSbTime. setValue(SbTime copyFrom)voidSbTime. 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 SbTimeSoEvent. 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 voidSoEvent. 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 SbTimeSoSFTime. getValue()Returns this field's value.SbTimeSoMFTime. 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 intSoMFTime. find(SbTime targetValue)Calls find(targetValue, false).intSoMFTime. find(SbTime targetValue, boolean addIfNotFound)Finds the given targetValue in the array and returns the index of that value.voidSoMFTime. set1Value(int index, SbTime newValue)Sets the index'th value in the array to newValue.voidSoMFTime. setValue(SbTime newValue)Sets the first value in the array to newValue, and deletes.voidSoSFTime. setValue(SbTime newValue)Sets this field to newValue.voidSoMFTime. 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 SbTimeSoLongTapGestureEvent. getDuration()Returns duration of long tap.Methods in com.openinventor.inventor.gestures.events with parameters of type SbTime Modifier and Type Method Description voidSoLongTapGestureEvent. 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 SbTimeSoDoubleTapGestureRecognizer. getMaximumDurationBetweenTap()Gets the maximum time that can elapse between the two taps of a double tap.SbTimeSoDoubleTapGestureRecognizer. getMaximumTapDuration()Gets tap maximum duration (1.0 seconds by default).SbTimeSoLongTapGestureRecognizer. 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 voidSoDoubleTapGestureRecognizer. 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 SbTime Modifier and Type Method Description SbTimeSoTimerSensor. getBaseTime()Gets the base time.SbTimeSoTimerSensor. getInterval()Gets the interval.SbTimeSoAlarmSensor. getTime()Returns the time at which the sensor is set to be triggered.SbTimeSoTimerQueueSensor. 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 voidSoTimerSensor. setBaseTime(SbTime base)Sets the base time.voidSoTimerSensor. setInterval(SbTime intvl)Sets the interval.voidSoAlarmSensor. setTime(SbTime absTime)Sets 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 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.SoTouchEventSoTouchManager. 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 SbTimeSoTouchEvent. getElapsedTimeSincePreviousEvent()Gets the elapsed time since previous event, triggered by the same finger, in seconds.SbTimeSoTouchEvent. getElapsedTimeUntilPreviousEvent()Gets the elapsed time between the first contact and previous event, for the finger identified bygetFingerId(), in seconds.SbTimeSoTouchEvent. getFirstContactTime()Gets the time of first contact in seconds of the finger identified bygetFingerId().SbTimeSoTouchEvent. getPreviousEventTime()Gets the time of previous event of the finger identified bygetFingerId().
-