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 SbVec2s
SbBox2s. getMax()
Returns the maximum point of the box.SbVec2s
SbBox2s. getMin()
Returns the minimum point of the box.SbVec2s[]
SbBox2s. getMinMax()
Gets the corners of the box.SbVec2s
SoSceneManager. getOrigin()
SbVec2s
SoSceneManager. getSize()
SbVec2s
SbViewportRegion. getViewportOriginPixels()
Returns viewport origin in pixels.SbVec2s
SbViewportRegion. getViewportSizePixels()
Returns viewport size in pixels.SbVec2s
SbViewportRegion. getWindowSize()
Returns window size in pixels.SbVec2s
SoSceneManager. getWindowSize()
SbVec2s
SbVec2s. minus(SbVec2s v2)
Component-wise binary vector subtraction operator.SbVec2s
SbVec2s. over(double d)
Component-wise binary scalar division operator.SbVec2s
SbVec2s. over(int d)
Component-wise binary scalar division operator.SbVec2s
SbVec2s. plus(SbVec2s v2)
Component-wise binary vector addition operator.SbVec2s
SbVec2s. setValue(short[] components)
SbVec2s
SbVec2s. setValue(short[] components, int startIndex)
SbVec2s
SbVec2s. setValue(short c0, short c1)
SbVec2s
SbVec2s. times(double d)
Component-wise binary scalar multiplication operator.SbVec2s
SbVec2s. 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 void
SbVec2s. add(SbVec2s u)
Component-wise vector addition operator.int
SbVec2s. dot(SbVec2s v)
Returns dot (inner) product of vector and another vector.void
SbBox2s. extendBy(SbVec2s pt)
Extends this box (if necessary) to contain the specified point.boolean
SbBox2s. intersect(SbVec2s pt)
Returns true if the specified point intersects this box.SbVec2s
SbVec2s. minus(SbVec2s v2)
Component-wise binary vector subtraction operator.SbVec2f
SbViewportRegion. normalize(SbVec2s position)
Compute the 0..1 normalized coordinates of the specified pixel position, relative to the current viewport (not window).SbVec2s
SbVec2s. plus(SbVec2s v2)
Component-wise binary vector addition operator.void
SbBox2s. setBounds(SbVec2s _min, SbVec2s _max)
Sets the corners of the box.void
SoSceneManager. setOrigin(SbVec2s newOrigin)
Defines the origin of the viewport within the window.void
SoSceneManager. setSize(SbVec2s newSize)
Calls setSize(newSize, (float)1.0).void
SoSceneManager. setSize(SbVec2s newSize, float newScale)
Defines the size of the viewport within the window.void
SbVec2s. setValue(SbVec2s copyFrom)
void
SbViewportRegion. setViewportPixels(SbVec2s origin, SbVec2s size)
Sets viewport to region with given origin (lower-left corner) and size, given as pixel coordinates.void
SbViewportRegion. setWindowSize(SbVec2s winSize)
Changes window size to given width and height in pixels, given asSbVec2s
.void
SoSceneManager. setWindowSize(SbVec2s newSize)
Calls setWindowSize(newSize, (float)1.0).void
SoSceneManager. setWindowSize(SbVec2s newSize, float newScale)
Defines the size of the window in which the scene manager should render.void
SbVec2s. 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 SbVec2s
SoRayPickAction. 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 void
SoRayPickAction. 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 SbVec2s
SoEvent. getPosition()
Returns the window pixel location of the cursor when the event occurred as integer values.SbVec2s
SoEvent. 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 void
SoEvent. 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 SbVec2s
SoSFVec2s. getValue()
Returns this field's value.SbVec2s
SoMFVec2s. 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 int
SoMFVec2s. find(SbVec2s targetValue)
Calls find(targetValue, false).int
SoMFVec2s. find(SbVec2s targetValue, boolean addIfNotFound)
Finds the given targetValue in the array and returns the index of that value.void
SoMFVec2s. set1Value(int index, SbVec2s newValue)
Sets the index'th value in the array to newValue.void
SoMFVec2s. setValue(SbVec2s newValue)
Sets the first value in the array to newValue, and deletes.void
SoSFArray2D. setValue(SbVec2s size, SoSFArray.DataTypes dataType, java.nio.ByteBuffer data)
Calls setValue(size, dataType, data, SoSFArray.CopyPolicies.valueOf( SoSFArray.CopyPolicies.COPY.getValue() )).void
SoSFArray2D. 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.void
SoSFImage. setValue(SbVec2s size, int nc, byte[] bytes)
Same as above.void
SoSFImage. setValue(SbVec2s size, int nc, SoSFImage.DataTypes dataType, SoBufferObject bufferObject)
Calls setValue(size, nc, dataType, bufferObject, SoSFImage.CopyPolicies.valueOf( SoSFImage.CopyPolicies.COPY.getValue() )).void
SoSFImage. setValue(SbVec2s size, int nc, SoSFImage.DataTypes dataType, SoBufferObject bufferObject, SoSFImage.CopyPolicies copy)
void
SoSFVec2s. setValue(SbVec2s newValue)
Sets this field to newValue.void
SoMFVec2s. 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 SbVec2s
SbRasterImage. getSize()
Returns the raster image size in pixels.Methods in com.openinventor.inventor.image with parameters of type SbVec2s Modifier and Type Method Description void
SbRasterImage. 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 SbVec2s
SoMPEGRenderer. getSize()
Gets the frame pixel size.Methods in com.openinventor.inventor.mpeg with parameters of type SbVec2s Modifier and Type Method Description void
SoMPEGRenderer. 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 SbVec2s
SoExtTexture2.ImageSize. size
Methods 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 void
SoIndexedMarkerSet. addMarker(int markerIndex, SbVec2s size, byte[] bytes)
Calls addMarker(markerIndex, size, bytes, true, true).static void
SoIndexedMarkerSet. addMarker(int markerIndex, SbVec2s size, byte[] bytes, boolean isLSBFirst)
Calls addMarker(markerIndex, size, bytes, isLSBFirst, true).static void
SoIndexedMarkerSet. addMarker(int markerIndex, SbVec2s size, byte[] bytes, boolean isLSBFirst, boolean isUpToDown)
Add a new marker with index markerIndex .static void
SoIndexedMarkerSet. addMarker(int markerIndex, SbVec2s size, byte[] bytes, int[] orderedRGBA)
Calls addMarker(markerIndex, size, bytes, orderedRGBA, true, true).static void
SoIndexedMarkerSet. addMarker(int markerIndex, SbVec2s size, byte[] bytes, int[] orderedRGBA, boolean isLSBFirst)
Calls addMarker(markerIndex, size, bytes, orderedRGBA, isLSBFirst, true).static void
SoIndexedMarkerSet. addMarker(int markerIndex, SbVec2s size, byte[] bytes, int[] orderedRGBA, boolean isLSBFirst, boolean isUpToDown)
Add a new colored marker with index markerIndex .static void
SoMarkerSet. addMarker(int markerIndex, SbVec2s size, byte[] bytes)
Calls addMarker(markerIndex, size, bytes, true, true).static void
SoMarkerSet. addMarker(int markerIndex, SbVec2s size, byte[] bytes, boolean isLSBFirst)
Calls addMarker(markerIndex, size, bytes, isLSBFirst, true).static void
SoMarkerSet. addMarker(int markerIndex, SbVec2s size, byte[] bytes, boolean isLSBFirst, boolean isUpToDown)
Add a new marker with index markerIndex .static void
SoMarkerSet. addMarker(int markerIndex, SbVec2s size, byte[] bytes, int[] orderedRGBA)
Calls addMarker(markerIndex, size, bytes, orderedRGBA, true, true).static void
SoMarkerSet. addMarker(int markerIndex, SbVec2s size, byte[] bytes, int[] orderedRGBA, boolean isLSBFirst)
Calls addMarker(markerIndex, size, bytes, orderedRGBA, isLSBFirst, true).static void
SoMarkerSet. 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 SbVec2s
SoRemoteVizClient. getContainerSize()
Returns the size of the renderArea container.SbVec2s
SoRemoteVizClient. getRenderAreaSize()
Returns the size of the renderArea managed by the RemoteViz service.SbVec2s
SoRemoteVizClient.ServiceMessageEventArg. getRenderAreaSize()
Returns the renderArea size.SbVec2s
SoRemoteVizClient.RenderAreaSizeEventArg. getSize()
Returns the renderArea size.Methods in com.openinventor.remoteviz.clients.nodes with parameters of type SbVec2s Modifier and Type Method Description void
SoRemoteVizClient. 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.
-