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[] |
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.
|
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(byte c0, byte c1, byte c2, byte c3)
public SbVec4ub()
public SbVec4ub(SbVec4ub copyFrom)
public SbVec4ub(byte[] components)
public byte[] getValue()
public void setValue(SbVec4ub copyFrom)
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 SbVec4ub setValue(byte c0, byte c1, byte c2, byte c3)
public void setZ(byte value)
public byte getW()
public void setW(byte value)
public byte getZ()
public byte getY()
public byte getX()
public void setX(byte value)
public void setY(byte value)
public int dot(SbVec4ub v)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public static SbVec4ub[] toArray(long nativeArray, long length)
public void clamp(byte a, byte b)
public void multiply(double d)
public SbVec4ub times(int d)
public SbVec4ub times(double d)
public void substract(SbVec4ub u)
public void divide(double d)
public void add(SbVec4ub u)
public void divide(int d)
public void multiply(int d)
public void negate()
public SbVec4ub over(double d)
public SbVec4ub over(int d)
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com