Uses of Class
javax.vecmath.Tuple4f
Packages that use Tuple4f
Package
Description
-
Uses of Tuple4f in de.grogra.ext.povray
Methods in de.grogra.ext.povray with parameters of type Tuple4f -
Uses of Tuple4f in de.grogra.ext.x3d.util
Methods in de.grogra.ext.x3d.util that return Tuple4fModifier and TypeMethodDescriptionstatic Tuple4f
Util.convertStringToTuple4f
(Tuple4f result, String value) Split string and convert into groimp coordinates.static Tuple4f
Util.splitStringToTuple4f
(Tuple4f result, String value) Split string without convert.Methods in de.grogra.ext.x3d.util with parameters of type Tuple4fModifier and TypeMethodDescriptionstatic int
Util.colorToInt
(Tuple4f color) Converts a Tuple4f color object (range from 0-1) to an int color.static Tuple4f
Util.convertStringToTuple4f
(Tuple4f result, String value) Split string and convert into groimp coordinates.static Tuple4f
Util.splitStringToTuple4f
(Tuple4f result, String value) Split string without convert. -
Uses of Tuple4f in de.grogra.imp3d.shading
Subclasses of Tuple4f in de.grogra.imp3d.shadingModifier and TypeClassDescriptionfinal class
ARGBAShader
implements a simple lambertian material with a single color and an alpha-value for the transparency. -
Uses of Tuple4f in de.grogra.math
Methods in de.grogra.math with parameters of type Tuple4fModifier and TypeMethodDescriptionstatic void
static void
Constructors in de.grogra.math with parameters of type Tuple4f -
Uses of Tuple4f in de.grogra.vecmath
Methods in de.grogra.vecmath with parameters of type Tuple4fModifier and TypeMethodDescriptionstatic Point4d
VecmathOperators.operator$add
(Point4d a, Tuple4f b) static Point4f
VecmathOperators.operator$add
(Point4f a, Tuple4f b) static Point4d
VecmathOperators.operator$add
(Tuple4f a, Point4d b) static Point4f
VecmathOperators.operator$add
(Tuple4f a, Point4f b) static Point4d
VecmathOperators.operator$addAssign
(Point4d a, Tuple4f b) static Point4f
VecmathOperators.operator$addAssign
(Point4f a, Tuple4f b) static Vector4f
VecmathOperators.operator$div
(Tuple4f a, float b) static Vector4f
VecmathOperators.operator$mul
(float b, Tuple4f a) static Vector4f
VecmathOperators.operator$mul
(Tuple4f a, float b) static Vector4f
VecmathOperators.operator$neg
(Tuple4f a) static Point4d
VecmathOperators.operator$sub
(Point4d a, Tuple4f b) static Point4f
VecmathOperators.operator$sub
(Point4f a, Tuple4f b) static Point4d
VecmathOperators.operator$sub
(Tuple4f a, Point4d b) static Point4f
VecmathOperators.operator$sub
(Tuple4f a, Point4f b) static Point4d
VecmathOperators.operator$subAssign
(Point4d a, Tuple4f b) static Point4f
VecmathOperators.operator$subAssign
(Point4f a, Tuple4f b) static float[]
Math2.toFloatArray
(Tuple4f p) -
Uses of Tuple4f in javax.vecmath
Subclasses of Tuple4f in javax.vecmathModifier and TypeClassDescriptionclass
A 4 element color represented by single precision floating point x,y,z,w coordinates.class
A 4 element point that is represented by single precision floating point x,y,z,w coordinates.class
A 4 element quaternion represented by single precision floating point x,y,z,w coordinates.class
A 4 element vector that is represented by single precision floating point x,y,z,w coordinates.Methods in javax.vecmath with parameters of type Tuple4fModifier and TypeMethodDescriptionfinal void
Sets each component of the tuple parameter to its absolute value and places the modified values into this tuple.final void
Sets the value of this tuple to the vector sum of itself and tuple t1.final void
Sets the value of this tuple to the vector sum of tuples t1 and t2.final void
Clamps the tuple parameter to the range [low, high] and places the values into this tuple.final void
Clamps the maximum value of the tuple parameter to the max parameter and places the values into this tuple.final void
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
Returns true if all of the data members of Tuple4f t1 are equal to the corresponding data members in thisfinal void
Gets the value of this tuple and copies the values into the Tuple4f.final 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.final 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.final void
Sets the value of this tuple to the negation of tuple t1.final void
Sets the value of this tuple to the scalar multiplication of tuple t1.final void
Sets the value of this tuple to the scalar multiplication of itself and then adds tuple t1 (this = s*this + t1).final void
Sets the value of this tuple to the scalar multiplication of tuple t1 and then adds tuple t2 (this = s*t1 + t2).final void
Sets the value of this vector to the values in tuple.final void
Sets the value of this tuple to the value of tuple t1.final void
Sets the value of this tuple to the value of tuple t1.final void
Sets the value of this tuple to the vector difference of itself and tuple t1 (this = this - t1).final void
Sets the value of this tuple to the vector difference of tuple t1 and t2 (this = t1 - t2).final void
Transform the vector vec using this Matrix4d and place the result back into vec.final void
Transform the vector vec using this Matrix4d and place the result into vecOut.final void
Transform the vector vec using this Matrix4f and place the result back into vec.final void
Transform the vector vec using this Matrix4f and place the result into vecOut.Constructors in javax.vecmath with parameters of type Tuple4fModifierConstructorDescriptionConstructs and initializes a Color4f from the specified Tuple4f.Constructs a new GVector and copies the initial values from the TupleConstructs and initializes a Point4d from the specified Tuple4f.Constructs and initializes a Point4f from the specified Tuple4f.Constructs and initializes a Quat4d from the specified Tuple4f.Constructs and initializes a Quat4f from the specified Tuple4f.Constructs and initializes a Tuple4d from the specified Tuple4f.Constructs and initializes a Tuple4f from the specified Tuple4f.Constructs and initializes a Vector4d from the specified Tuple4f.Constructs and initializes a Vector4f from the specified Tuple4f.