public class SbVec4ub extends SbBasic
See also:
SbRotation
, SbRotationd
, SbVec2d
, SbVec2f
, SbVec2i32
, SbVec2s
, SbVec3d
, SbVec3f
, SbVec3i32
, SbVec3s
, SbVec4b
, SbVec4d
, SbVec4f
, SbVec4i32
, SbVec4s
, SbVec4ui32
, SbVec4us
Modifier and Type | Field and Description |
---|---|
byte[] |
array |
Constructor and Description |
---|
SbVec4ub() |
SbVec4ub(byte[] components) |
SbVec4ub(byte c0,
byte c1,
byte c2,
byte c3) |
SbVec4ub(SbVec4ub copyFrom) |
Modifier and Type | Method and Description |
---|---|
void |
add(SbVec4ub u)
Component-wise vector addition operator.
|
void |
clamp(byte a,
byte b)
Clamp each component between a and b.
|
void |
divide(double d)
Component-wise scalar division operator.
|
void |
divide(int d)
Component-wise scalar division operator.
|
int |
dot(SbVec4ub v)
Returns dot (inner) product of vector and another vector.
|
boolean |
equals(java.lang.Object obj) |
byte |
getCoord(int i)
Deprecated.
|
byte[] |
getValue() |
byte |
getValueAt(int index) |
byte |
getW() |
byte |
getX() |
byte |
getY() |
byte |
getZ() |
SbVec4ub |
minus(SbVec4ub v2)
Component-wise binary vector subtraction operator.
|
void |
multiply(double d)
Component-wise scalar multiplication operator.
|
void |
multiply(int d)
Component-wise scalar multiplication operator.
|
void |
negate()
Negates each component of vector in place.
|
SbVec4ub |
over(double d)
Component-wise binary scalar division operator.
|
SbVec4ub |
over(int d)
Component-wise binary scalar division operator.
|
SbVec4ub |
plus(SbVec4ub v2)
Component-wise binary vector addition operator.
|
void |
setCoord(int i,
byte value)
Deprecated.
|
SbVec4ub |
setValue(byte[] components) |
SbVec4ub |
setValue(byte[] components,
int startIndex) |
SbVec4ub |
setValue(byte c0,
byte c1,
byte c2,
byte c3) |
void |
setValue(SbVec4ub copyFrom) |
void |
setValueAt(int index,
byte value) |
void |
setW(byte value) |
void |
setX(byte value) |
void |
setY(byte value) |
void |
setZ(byte value) |
void |
substract(SbVec4ub u)
Component-wise vector subtraction operator.
|
SbVec4ub |
times(double d)
Component-wise binary scalar multiplication operator.
|
SbVec4ub |
times(int d)
Component-wise binary scalar multiplication operator.
|
static SbVec4ub[] |
toArray(long nativeArray,
long length) |
public SbVec4ub(SbVec4ub copyFrom)
public SbVec4ub(byte c0, byte c1, byte c2, byte c3)
public SbVec4ub(byte[] components)
public SbVec4ub()
public SbVec4ub setValue(byte c0, byte c1, byte c2, byte c3)
@Deprecated public void setCoord(int i, byte value)
public void setZ(byte value)
public void setX(byte value)
public void setY(byte value)
public void setValue(SbVec4ub copyFrom)
public byte[] getValue()
public SbVec4ub setValue(byte[] components, int startIndex)
public void setValueAt(int index, byte value)
public SbVec4ub setValue(byte[] components)
public byte getValueAt(int index)
public byte getZ()
public byte getW()
public byte getX()
public void setW(byte value)
@Deprecated public byte getCoord(int i)
public byte getY()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public void clamp(byte a, byte b)
public static SbVec4ub[] toArray(long nativeArray, long length)
public void negate()
public void multiply(int d)
public int dot(SbVec4ub v)
public void multiply(double d)
public SbVec4ub times(double d)
public SbVec4ub times(int d)
public SbVec4ub over(double d)
public SbVec4ub over(int d)
public void divide(double d)
public void divide(int d)
public void substract(SbVec4ub u)
public void add(SbVec4ub u)
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com