Uses of Class
com.openinventor.inventor.SbVec2s
-
Packages that use SbVec2s Package Description com.openinventor.inventor Open Inventor is an object-oriented and OpenGL-based API for real-time 3D visualization.com.openinventor.inventor.actions com.openinventor.inventor.events com.openinventor.inventor.fields com.openinventor.inventor.image com.openinventor.inventor.mpeg com.openinventor.inventor.nodes com.openinventor.remoteviz.clients.nodes -
-
Uses of SbVec2s in com.openinventor.inventor
Methods in com.openinventor.inventor that return SbVec2s Modifier and Type Method Description SbVec2sSbBox2s. getMax()Returns the maximum point of the box.SbVec2sSbBox2s. getMin()Returns the minimum point of the box.SbVec2s[]SbBox2s. getMinMax()Gets the corners of the box.SbVec2sSoSceneManager. getOrigin()SbVec2sSoSceneManager. getSize()SbVec2sSbViewportRegion. getViewportOriginPixels()Returns viewport origin in pixels.SbVec2sSbViewportRegion. getViewportSizePixels()Returns viewport size in pixels.SbVec2sSbViewportRegion. getWindowSize()Returns window size in pixels.SbVec2sSoSceneManager. getWindowSize()SbVec2sSbVec2s. minus(SbVec2s v2)Component-wise binary vector subtraction operator.SbVec2sSbVec2s. over(double d)Component-wise binary scalar division operator.SbVec2sSbVec2s. over(int d)Component-wise binary scalar division operator.SbVec2sSbVec2s. plus(SbVec2s v2)Component-wise binary vector addition operator.SbVec2sSbVec2s. setValue(short[] components)SbVec2sSbVec2s. setValue(short[] components, int startIndex)SbVec2sSbVec2s. setValue(short c0, short c1)SbVec2sSbVec2s. times(double d)Component-wise binary scalar multiplication operator.SbVec2sSbVec2s. times(int d)Component-wise binary scalar multiplication operator.static SbVec2s[]SbVec2s. toArray(long nativeArray, long length)Methods in com.openinventor.inventor with parameters of type SbVec2s Modifier and Type Method Description voidSbVec2s. add(SbVec2s u)Component-wise vector addition operator.intSbVec2s. dot(SbVec2s v)Returns dot (inner) product of vector and another vector.voidSbBox2s. extendBy(SbVec2s pt)Extends this box (if necessary) to contain the specified point.booleanSbBox2s. intersect(SbVec2s pt)Returns true if the specified point intersects this box.SbVec2sSbVec2s. minus(SbVec2s v2)Component-wise binary vector subtraction operator.SbVec2fSbViewportRegion. normalize(SbVec2s position)Compute the 0..1 normalized coordinates of the specified pixel position, relative to the current viewport (not window).SbVec2sSbVec2s. plus(SbVec2s v2)Component-wise binary vector addition operator.voidSbBox2s. setBounds(SbVec2s _min, SbVec2s _max)Sets the corners of the box.voidSoSceneManager. setOrigin(SbVec2s newOrigin)Defines the origin of the viewport within the window.voidSoSceneManager. setSize(SbVec2s newSize)Calls setSize(newSize, (float)1.0).voidSoSceneManager. setSize(SbVec2s newSize, float newScale)Defines the size of the viewport within the window.voidSbVec2s. setValue(SbVec2s copyFrom)voidSbViewportRegion. setViewportPixels(SbVec2s origin, SbVec2s size)Sets viewport to region with given origin (lower-left corner) and size, given as pixel coordinates.voidSbViewportRegion. setWindowSize(SbVec2s winSize)Changes window size to given width and height in pixels, given asSbVec2s.voidSoSceneManager. setWindowSize(SbVec2s newSize)Calls setWindowSize(newSize, (float)1.0).voidSoSceneManager. setWindowSize(SbVec2s newSize, float newScale)Defines the size of the window in which the scene manager should render.voidSbVec2s. substract(SbVec2s u)Component-wise vector subtraction operator.Constructors in com.openinventor.inventor with parameters of type SbVec2s Constructor Description SbBox2s(SbVec2s _min, SbVec2s _max)Constructor for a 2D integer box.SbVec2s(SbVec2s copyFrom)SbViewportRegion(SbVec2s winSize)Calls SbViewportRegion(winSize, (float)1.0).SbViewportRegion(SbVec2s winSize, float newScale)Constructor that takes width and a height in pixels. -
Uses of SbVec2s in com.openinventor.inventor.actions
Methods in com.openinventor.inventor.actions that return SbVec2s Modifier and Type Method Description SbVec2sSoRayPickAction. getPoint()Gets the viewport point in pixels (returns the last value passed tosetPoint).Methods in com.openinventor.inventor.actions with parameters of type SbVec2s Modifier and Type Method Description voidSoRayPickAction. setPoint(SbVec2s viewportPoint)Sets the viewport point through which the ray passes, starting at the camera position. -
Uses of SbVec2s in com.openinventor.inventor.events
Methods in com.openinventor.inventor.events that return SbVec2s Modifier and Type Method Description SbVec2sSoEvent. getPosition()Returns the window pixel location of the cursor when the event occurred as integer values.SbVec2sSoEvent. getPosition(SbViewportRegion vpRgn)Gets the viewport pixel location of the cursor when the event occurred, relative to the origin of the specified viewport region, as integer values.Methods in com.openinventor.inventor.events with parameters of type SbVec2s Modifier and Type Method Description voidSoEvent. setPosition(SbVec2s p)Sets the window pixel location of the cursor when the event occurred. -
Uses of SbVec2s in com.openinventor.inventor.fields
Methods in com.openinventor.inventor.fields that return SbVec2s Modifier and Type Method Description SbVec2sSoSFVec2s. getValue()Returns this field's value.SbVec2sSoMFVec2s. getValueAt(int i)SbVec2s[]SoMFVec2s. 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 SbVec2s Modifier and Type Method Description intSoMFVec2s. find(SbVec2s targetValue)Calls find(targetValue, false).intSoMFVec2s. find(SbVec2s targetValue, boolean addIfNotFound)Finds the given targetValue in the array and returns the index of that value.voidSoMFVec2s. set1Value(int index, SbVec2s newValue)Sets the index'th value in the array to newValue.voidSoMFVec2s. setValue(SbVec2s newValue)Sets the first value in the array to newValue, and deletes.voidSoSFArray2D. setValue(SbVec2s size, SoSFArray.DataTypes dataType, java.nio.ByteBuffer data)Calls setValue(size, dataType, data, SoSFArray.CopyPolicies.valueOf( SoSFArray.CopyPolicies.COPY.getValue() )).voidSoSFArray2D. setValue(SbVec2s size, SoSFArray.DataTypes dataType, java.nio.ByteBuffer data, SoSFArray.CopyPolicies copy)Fill the 2D array with data of the specified dimensions and type using the specified copy policy.voidSoSFImage. setValue(SbVec2s size, int nc, byte[] bytes)Same as above.voidSoSFImage. setValue(SbVec2s size, int nc, SoSFImage.DataTypes dataType, SoBufferObject bufferObject)Calls setValue(size, nc, dataType, bufferObject, SoSFImage.CopyPolicies.valueOf( SoSFImage.CopyPolicies.COPY.getValue() )).voidSoSFImage. setValue(SbVec2s size, int nc, SoSFImage.DataTypes dataType, SoBufferObject bufferObject, SoSFImage.CopyPolicies copy)voidSoSFVec2s. setValue(SbVec2s newValue)Sets this field to newValue.voidSoMFVec2s. setValues(int start, SbVec2s[] newValues)Sets num values starting at index start to the values.Constructors in com.openinventor.inventor.fields with parameters of type SbVec2s Constructor Description SoSFVec2s(SoFieldContainer fieldContainer, java.lang.String fieldName, SoField.FieldTypes fieldType, SbVec2s defaultValue)Default constructor. -
Uses of SbVec2s in com.openinventor.inventor.image
Methods in com.openinventor.inventor.image that return SbVec2s Modifier and Type Method Description SbVec2sSbRasterImage. getSize()Returns the raster image size in pixels.Methods in com.openinventor.inventor.image with parameters of type SbVec2s Modifier and Type Method Description voidSbRasterImage. setSize(SbVec2s size)Sets the raster image size in pixels.Constructors in com.openinventor.inventor.image with parameters of type SbVec2s Constructor Description SbRasterImage(SbVec2s size, SbRasterImage.Components components, byte[] bytes)Deprecated.As of Open Inventor 9400. -
Uses of SbVec2s in com.openinventor.inventor.mpeg
Methods in com.openinventor.inventor.mpeg that return SbVec2s Modifier and Type Method Description SbVec2sSoMPEGRenderer. getSize()Gets the frame pixel size.Methods in com.openinventor.inventor.mpeg with parameters of type SbVec2s Modifier and Type Method Description voidSoMPEGRenderer. setSize(SbVec2s size)Sets the frame pixel size. -
Uses of SbVec2s in com.openinventor.inventor.nodes
Fields in com.openinventor.inventor.nodes declared as SbVec2s Modifier and Type Field Description SbVec2sSoExtTexture2.ImageSize. sizeMethods in com.openinventor.inventor.nodes that return SbVec2s Modifier and Type Method Description SbVec2s[]SoExtSelection. getLassoCoordsDC()Returns the lasso coordinates in device coordinates.Methods in com.openinventor.inventor.nodes with parameters of type SbVec2s Modifier and Type Method Description static voidSoIndexedMarkerSet. addMarker(int markerIndex, SbVec2s size, byte[] bytes)Calls addMarker(markerIndex, size, bytes, true, true).static voidSoIndexedMarkerSet. addMarker(int markerIndex, SbVec2s size, byte[] bytes, boolean isLSBFirst)Calls addMarker(markerIndex, size, bytes, isLSBFirst, true).static voidSoIndexedMarkerSet. addMarker(int markerIndex, SbVec2s size, byte[] bytes, boolean isLSBFirst, boolean isUpToDown)Add a new marker with index markerIndex .static voidSoIndexedMarkerSet. addMarker(int markerIndex, SbVec2s size, byte[] bytes, int[] orderedRGBA)Calls addMarker(markerIndex, size, bytes, orderedRGBA, true, true).static voidSoIndexedMarkerSet. addMarker(int markerIndex, SbVec2s size, byte[] bytes, int[] orderedRGBA, boolean isLSBFirst)Calls addMarker(markerIndex, size, bytes, orderedRGBA, isLSBFirst, true).static voidSoIndexedMarkerSet. addMarker(int markerIndex, SbVec2s size, byte[] bytes, int[] orderedRGBA, boolean isLSBFirst, boolean isUpToDown)Add a new colored marker with index markerIndex .static voidSoMarkerSet. addMarker(int markerIndex, SbVec2s size, byte[] bytes)Calls addMarker(markerIndex, size, bytes, true, true).static voidSoMarkerSet. addMarker(int markerIndex, SbVec2s size, byte[] bytes, boolean isLSBFirst)Calls addMarker(markerIndex, size, bytes, isLSBFirst, true).static voidSoMarkerSet. addMarker(int markerIndex, SbVec2s size, byte[] bytes, boolean isLSBFirst, boolean isUpToDown)Add a new marker with index markerIndex .static voidSoMarkerSet. addMarker(int markerIndex, SbVec2s size, byte[] bytes, int[] orderedRGBA)Calls addMarker(markerIndex, size, bytes, orderedRGBA, true, true).static voidSoMarkerSet. addMarker(int markerIndex, SbVec2s size, byte[] bytes, int[] orderedRGBA, boolean isLSBFirst)Calls addMarker(markerIndex, size, bytes, orderedRGBA, isLSBFirst, true).static voidSoMarkerSet. addMarker(int markerIndex, SbVec2s size, byte[] bytes, int[] orderedRGBA, boolean isLSBFirst, boolean isUpToDown)Add a new colored marker with index markerIndex . -
Uses of SbVec2s in com.openinventor.remoteviz.clients.nodes
Methods in com.openinventor.remoteviz.clients.nodes that return SbVec2s Modifier and Type Method Description SbVec2sSoRemoteVizClient. getContainerSize()Returns the size of the renderArea container.SbVec2sSoRemoteVizClient. getRenderAreaSize()Returns the size of the renderArea managed by the RemoteViz service.SbVec2sSoRemoteVizClient.ServiceMessageEventArg. getRenderAreaSize()Returns the renderArea size.SbVec2sSoRemoteVizClient.RenderAreaSizeEventArg. getSize()Returns the renderArea size.Methods in com.openinventor.remoteviz.clients.nodes with parameters of type SbVec2s Modifier and Type Method Description voidSoRemoteVizClient. requestRenderAreaSize(SbVec2s size)Sends a request to resize the renderArea associated with the connection.Constructors in com.openinventor.remoteviz.clients.nodes with parameters of type SbVec2s Constructor Description RenderAreaSizeEventArg(SoRemoteVizClient source, SbVec2s size)Default constructor.ServiceMessageEventArg(SoRemoteVizClient source, SoRemoteVizClient.ServiceMessageEventArg.States state, SbVec2s renderAreaSize, java.lang.String details)Default constructor.
-