Uses of Class
com.openinventor.inventor.SbVec2s
Packages that use SbVec2s
Package
Description
Open Inventor is an object-oriented and OpenGL-based API for real-time 3D visualization.
-
Uses of SbVec2s in com.openinventor.inventor
Methods in com.openinventor.inventor that return SbVec2sModifier and TypeMethodDescriptionSbBox2s.getMax()
Returns the maximum point of the box.SbBox2s.getMin()
Returns the minimum point of the box.SbVec2s[]
SbBox2s.getMinMax()
Gets the corners of the box.SoSceneManager.getOrigin()
SoSceneManager.getSize()
SbViewportRegion.getViewportOriginPixels()
Returns viewport origin in pixels.SbViewportRegion.getViewportSizePixels()
Returns viewport size in pixels.SbViewportRegion.getWindowSize()
Returns window size in pixels.SoSceneManager.getWindowSize()
Component-wise binary vector subtraction operator.SbVec2s.over
(double d) Component-wise binary scalar division operator.SbVec2s.over
(int d) Component-wise binary scalar division operator.Component-wise binary vector addition operator.SbVec2s.setValue
(short[] components) SbVec2s.setValue
(short[] components, int startIndex) SbVec2s.setValue
(short c0, short c1) SbVec2s.times
(double d) Component-wise binary scalar multiplication operator.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 SbVec2sModifier and TypeMethodDescriptionvoid
Component-wise vector addition operator.int
Returns dot (inner) product of vector and another vector.void
Extends this box (if necessary) to contain the specified point.boolean
Returns true if the specified point intersects this box.Component-wise binary vector subtraction operator.Compute the 0..1 normalized coordinates of the specified pixel position, relative to the current viewport (not window).Component-wise binary vector addition operator.void
Sets the corners of the box.void
Defines the origin of the viewport within the window.void
Calls setSize(newSize, (float)1.0).void
Defines the size of the viewport within the window.void
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
Component-wise vector subtraction operator.Constructors in com.openinventor.inventor with parameters of type SbVec2sModifierConstructorDescriptionConstructor for a 2D integer box.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 SbVec2sModifier and TypeMethodDescriptionSoRayPickAction.getPoint()
Gets the viewport point in pixels (returns the last value passed tosetPoint
).Methods in com.openinventor.inventor.actions with parameters of type SbVec2s -
Uses of SbVec2s in com.openinventor.inventor.events
Methods in com.openinventor.inventor.events that return SbVec2sModifier and TypeMethodDescriptionSoEvent.getPosition()
Returns the window pixel location of the cursor when the event occurred as integer values.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 SbVec2sModifier and TypeMethodDescriptionvoid
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 SbVec2sModifier and TypeMethodDescriptionSoSFVec2s.getValue()
Returns this field's value.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 SbVec2sModifier 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
SoSFArray2D.setValue
(SbVec2s size, SoSFArray.DataTypes dataType, ByteBuffer data) Calls setValue(size, dataType, data, SoSFArray.CopyPolicies.valueOf( SoSFArray.CopyPolicies.COPY.getValue() )).void
SoSFArray2D.setValue
(SbVec2s size, SoSFArray.DataTypes dataType, ByteBuffer data, SoSFArray.CopyPolicies copy) Fill the 2D array with data of the specified dimensions and type using the specified copy policy.void
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
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 SbVec2sModifierConstructorDescriptionSoSFVec2s
(SoFieldContainer fieldContainer, 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 SbVec2sModifier and TypeMethodDescriptionSbRasterImage.getSize()
Returns the raster image size in pixels.Methods in com.openinventor.inventor.image with parameters of type SbVec2sModifier and TypeMethodDescriptionvoid
Sets the raster image size in pixels.Constructors in com.openinventor.inventor.image with parameters of type SbVec2sModifierConstructorDescriptionSbRasterImage
(SbVec2s size, SbRasterImage.Components components, byte[] bytes) Deprecated.As of Open Inventor 9.4.0.0. -
Uses of SbVec2s in com.openinventor.inventor.mpeg
Methods in com.openinventor.inventor.mpeg that return SbVec2sMethods in com.openinventor.inventor.mpeg with parameters of type SbVec2s -
Uses of SbVec2s in com.openinventor.inventor.nodes
Fields in com.openinventor.inventor.nodes declared as SbVec2sMethods in com.openinventor.inventor.nodes that return SbVec2sModifier and TypeMethodDescriptionSbVec2s[]
SoExtSelection.getLassoCoordsDC()
Returns the lasso coordinates in device coordinates.Methods in com.openinventor.inventor.nodes with parameters of type SbVec2sModifier and TypeMethodDescriptionstatic void
Calls addMarker(markerIndex, size, bytes, true, true).static void
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
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
Calls addMarker(markerIndex, size, bytes, true, true).static void
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
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 SbVec2sModifier and TypeMethodDescriptionSoRemoteVizClient.getContainerSize()
Returns the size of the renderArea container.SoRemoteVizClient.getRenderAreaSize()
Returns the size of the renderArea managed by the RemoteViz service.SoRemoteVizClient.ServiceMessageEventArg.getRenderAreaSize()
Returns the renderArea size.SoRemoteVizClient.RenderAreaSizeEventArg.getSize()
Returns the renderArea size.Methods in com.openinventor.remoteviz.clients.nodes with parameters of type SbVec2sModifier and TypeMethodDescriptionvoid
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 SbVec2sModifierConstructorDescriptionRenderAreaSizeEventArg
(SoRemoteVizClient source, SbVec2s size) Default constructor.ServiceMessageEventArg
(SoRemoteVizClient source, SoRemoteVizClient.ServiceMessageEventArg.States state, SbVec2s renderAreaSize, String details) Default constructor.