Package | Description |
---|---|
jarp |
Provides the main Java ARP classes, that is, the classes defining
the avatar's skeleton, mesh, morphs, camera control, and JOGL
rendering canvas.
|
jautil.geometry |
Provides basic geometry classes, notably,
Quaternion and
Vector3f.
|
Modifier and Type | Method and Description |
---|---|
Vector3f |
MeshVertex.getBaseNormal(int b)
Returns the base-normal vector for this mesh-point.
|
Vector3f |
Bone.getGlobalPosition()
Returns the global position vector for this bone.
|
Vector3f |
MorphSet.getNormal()
Returns this morph-set's normal vector.
|
Vector3f |
MorphSet.getOffset()
Returns this morph-set's offset (distortion) vector.
|
Vector3f |
MeshVertex.getOffset(int b)
Returns the specified offset vector for this mesh-point.
|
Modifier and Type | Method and Description |
---|---|
void |
Bone.getGlobalPosition(Vector3f result)
Sets the given result vector to the global position vector
for this bone.
|
void |
Mesh.setNormalsVector(int n3,
Vector3f nvec)
Copies the three components of the given vector v to this
mesh's normals vector at positions n3, n3+1, n3+2.
|
void |
Mesh.setVerticesVector(int v3,
Vector3f vvec)
Copies the three components of the given vector v to this
mesh's vertices vector at positions v3, v3+1, v3+2.
|
Modifier and Type | Method and Description |
---|---|
Vector3f |
Vector3f.crossProd(Vector3f v)
Returns the vector product of this Vector3f with the given one.
|
Vector3f |
Vector3f.divScalar(float f)
Returns a new Vector3f obtained by dividing this one by the
given scalar.
|
Vector3f |
Vector3f.divScalarEq(float f)
Returns this Vector3f after dividing it by a given scalar.
|
Vector3f |
Vector3f.minus(Vector3f v)
Returns a new Vector3f obtained by subtracting the given one
from this one.
|
Vector3f |
Vector3f.minusEq(Vector3f v)
Subtracts the given Vector3f from this one (and returns this one).
|
Vector3f |
Vector3f.multScalar(float f)
Returns a new Vector3f obtained by multiplying this one by the
given scalar.
|
Vector3f |
Vector3f.multScalarEq(float f)
Returns this Vector3f after multiplying it by a given scalar.
|
Vector3f |
Vector3f.negate()
Returns a new Vector3f obtained by negating this one.
|
Vector3f |
Vector3f.negateEq()
Returns this Vector3f after negating it.
|
Vector3f |
Vector3f.plus(float[] vf)
Returns a new Vector3f obtained by adding the given value array
to this vector.
|
Vector3f |
Vector3f.plus(Vector3f v)
Returns a new Vector3f obtained by adding the given one to this one.
|
Vector3f |
Vector3f.plusEq(float[] vf)
Adds the vector defined by the given values to this one
(and returns this one).
|
Vector3f |
Vector3f.plusEq(float xx,
float yy,
float zz)
Adds the vector defined by the given values to this one
(and returns this one).
|
Vector3f |
Vector3f.plusEq(Vector3f v)
Adds the given Vector3f to this one (and returns this one).
|
Vector3f |
Vector3f.unitCrossProd(Vector3f v)
Returns the vector product of this Vector3f with the given one,
scaled to unit length.
|
Modifier and Type | Method and Description |
---|---|
Vector3f |
Vector3f.crossProd(Vector3f v)
Returns the vector product of this Vector3f with the given one.
|
float |
Vector3f.dotProd(Vector3f v)
Returns the inner product of this Vector3f with the given one.
|
Vector3f |
Vector3f.minus(Vector3f v)
Returns a new Vector3f obtained by subtracting the given one
from this one.
|
Vector3f |
Vector3f.minusEq(Vector3f v)
Subtracts the given Vector3f from this one (and returns this one).
|
Vector3f |
Vector3f.plus(Vector3f v)
Returns a new Vector3f obtained by adding the given one to this one.
|
Vector3f |
Vector3f.plusEq(Vector3f v)
Adds the given Vector3f to this one (and returns this one).
|
float |
Vector3f.projectionOn(Vector3f v)
Returns the projection of this Vector3f on the given Vector3f, v.
|
void |
TRTransform.rotateVector(Vector3f vec)
Applies the rotation part of this transform to the given
vector vec, updating the vector itself with the result.
|
void |
TRTransform.rotateVector(Vector3f vec,
float[] vecout)
Applies the rotation part of this transform to
the given vector vec, giving the result in vecout.
|
void |
Vector3f.set(Vector3f v)
Sets this Vector3f's state from the given one.
|
void |
TRTransform.transformPoint(Vector3f pt)
Applies this transform to the given point, pt.
|
void |
TRTransform.transformPoint(Vector3f pt,
float[] ptout)
Applies this transform to the given point pt, giving
the result in ptout.
|
Vector3f |
Vector3f.unitCrossProd(Vector3f v)
Returns the vector product of this Vector3f with the given one,
scaled to unit length.
|
Constructor and Description |
---|
Vector3f(Vector3f v)
Constructs this Vector3f from the given arguments.
|