Package | Description |
---|---|
spim.vecmath |
Modifier and Type | Class and Description |
---|---|
class |
Point4f
A 4 element point represented by single precision floating point x,y,z,w
coordinates.
|
class |
Quat4f
A 4 element unit quaternion represented by single precision floating point
x,y,z,w coordinates.
|
class |
Vector4f
A 4-element vector represented by single-precision floating point x,y,z,w
coordinates.
|
Modifier and Type | Method and Description |
---|---|
void |
Tuple4f.absolute(Tuple4f t)
Sets each component of the tuple parameter to its absolute value and
places the modified values into this tuple.
|
void |
Tuple4f.add(Tuple4f t1)
Sets the value of this tuple to the sum of itself and t1.
|
void |
Tuple4f.add(Tuple4f t1,
Tuple4f t2)
Sets the value of this tuple to the sum of tuples t1 and t2.
|
void |
Tuple4f.clamp(float min,
float max,
Tuple4f t)
Clamps the tuple parameter to the range [low, high] and places the values
into this tuple.
|
void |
Tuple4f.clampMax(float max,
Tuple4f t)
Clamps the maximum value of the tuple parameter to the max parameter and
places the values into this tuple.
|
void |
Tuple4f.clampMin(float min,
Tuple4f t)
Clamps the minimum value of the tuple parameter to the min parameter and
places the values into this tuple.
|
boolean |
Tuple4f.epsilonEquals(Tuple4f t1,
float epsilon)
Returns true if the L-infinite distance between this tuple and tuple t1
is less than or equal to the epsilon parameter, otherwise returns false.
|
boolean |
Tuple4f.equals(Tuple4f t1)
Returns true if all of the data members of Tuple4f t1 are equal to the
corresponding data members in this Tuple4f.
|
void |
Tuple4f.get(Tuple4f t)
Copies the values of this tuple into the tuple t.
|
void |
Tuple4f.interpolate(Tuple4f t1,
float alpha)
Linearly interpolates between this tuple and tuple t1 and places the
result into this tuple: this = (1-alpha)*this + alpha*t1.
|
void |
Tuple4f.interpolate(Tuple4f t1,
Tuple4f t2,
float alpha)
Linearly interpolates between tuples t1 and t2 and places the result into
this tuple: this = (1-alpha)*t1 + alpha*t2.
|
void |
Tuple4f.negate(Tuple4f t1)
Sets the value of this tuple to the negation of tuple t1.
|
void |
Tuple4f.scale(float s,
Tuple4f t1)
Sets the value of this tuple to the scalar multiplication of tuple t1.
|
void |
Tuple4f.scaleAdd(float s,
Tuple4f t1)
Sets the value of this tuple to the scalar multiplication of itself and
then adds tuple t1 (this = s*this + t1).
|
void |
Tuple4f.scaleAdd(float s,
Tuple4f t1,
Tuple4f t2)
Sets the value of this tuple to the scalar multiplication of tuple t1
plus tuple t2 (this = s*t1 + t2).
|
void |
Tuple4f.set(Tuple4f t1)
Sets the value of this tuple to the value of tuple t1.
|
void |
Tuple4d.set(Tuple4f t1)
Sets the value of this tuple to the value of tuple t1.
|
void |
Tuple4f.sub(Tuple4f t1)
Sets the value of this tuple to the difference of itself and t1 (this =
this - t1).
|
void |
Tuple4f.sub(Tuple4f t1,
Tuple4f t2)
Sets the value of this tuple to the difference of tuples t1 and t2 (this
= t1 - t2).
|
void |
Matrix4f.transform(Tuple4f vec)
Transform the vector vec using this Transform and place the result back
into vec.
|
void |
Matrix4d.transform(Tuple4f vec)
Transform the vector vec using this Transform and place the result back
into vec.
|
void |
Matrix4f.transform(Tuple4f vec,
Tuple4f vecOut)
Transform the vector vec using this Matrix4f and place the result into
vecOut.
|
void |
Matrix4d.transform(Tuple4f vec,
Tuple4f vecOut)
Transform the vector vec using this Matrix4d and place the result into
vecOut.
|
Constructor and Description |
---|
Point4d(Tuple4f t1)
Constructs and initializes a Point4d from the specified Tuple4f.
|
Point4f(Tuple4f t1)
Constructs and initializes a Point4f from the specified Tuple4f.
|
Quat4d(Tuple4f t1)
Constructs and initializes a Quat4d from the specified Tuple4f.
|
Quat4f(Tuple4f t1)
Constructs and initializes a Quat4f from the specified Tuple4f.
|
Tuple4d(Tuple4f t1)
Constructs and initializes a Tuple4d from the specified Tuple4f.
|
Tuple4f(Tuple4f t1)
Constructs and initializes a Tuple4f from the specified Tuple4f.
|
Vector4d(Tuple4f t1)
Constructs and initializes a Vector4d from the specified Tuple4f.
|
Vector4f(Tuple4f t1)
Constructs and initializes a Vector4f from the specified Tuple4f.
|
Copyright © 2015–2021 Fiji. All rights reserved.