|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Vector3f | |
|---|---|
| com.threerings.editor.swing | |
| com.threerings.export | |
| com.threerings.expr | Expression evaluation and binding classes. |
| com.threerings.expr.util | |
| com.threerings.math | Model and animation configurations. |
| com.threerings.opengl.camera | |
| com.threerings.opengl.compositor | |
| com.threerings.opengl.effect | Effect classes. |
| com.threerings.opengl.effect.config | Effect configurations. |
| com.threerings.opengl.geometry | |
| com.threerings.opengl.model | |
| com.threerings.opengl.model.config | Model and animation configurations. |
| com.threerings.opengl.model.tools | |
| com.threerings.opengl.renderer | |
| com.threerings.opengl.renderer.config | Renderer configuration bits. |
| com.threerings.opengl.scene | Scene management classes. |
| com.threerings.opengl.scene.config | Scene configurations. |
| com.threerings.opengl.util | |
| com.threerings.probs | Probabilistic types. |
| com.threerings.tudey.client | |
| com.threerings.tudey.client.util | |
| com.threerings.tudey.config | Tudey configurations. |
| com.threerings.tudey.shape | |
| Uses of Vector3f in com.threerings.editor.swing |
|---|
| Methods in com.threerings.editor.swing that return Vector3f | |
|---|---|
Vector3f |
Vector3fPanel.getValue()
Returns the current value of the vector being edited. |
| Methods in com.threerings.editor.swing with parameters of type Vector3f | |
|---|---|
void |
Vector3fPanel.setValue(Vector3f value)
Sets the value of the vector being edited. |
| Uses of Vector3f in com.threerings.export |
|---|
| Methods in com.threerings.export that return Vector3f | |
|---|---|
Vector3f |
Importer.read(String name,
Vector3f defvalue)
Reads a vector value associated with the current object. |
| Methods in com.threerings.export with parameters of type Vector3f | |
|---|---|
Vector3f |
Importer.read(String name,
Vector3f defvalue)
Reads a vector value associated with the current object. |
void |
Exporter.write(String name,
Vector3f value)
Associates a vector value with the current object. |
void |
Exporter.write(String name,
Vector3f value,
Vector3f defvalue)
Associates a vector value with the current object (if not equal to the default). |
| Uses of Vector3f in com.threerings.expr |
|---|
| Fields in com.threerings.expr declared as Vector3f | |
|---|---|
Vector3f |
Vector3fExpression.Reference.defvalue
The default value of the variable. |
Vector3f |
Vector3fExpression.Constant.value
The value of the constant. |
| Methods in com.threerings.expr that return types with arguments of type Vector3f | |
|---|---|
ObjectExpression.Evaluator<Vector3f> |
Vector3fExpression.Constant.createEvaluator(Scope scope)
|
ObjectExpression.Evaluator<Vector3f> |
Vector3fExpression.Reference.createEvaluator(Scope scope)
|
ObjectExpression.Evaluator<Vector3f> |
Vector3fExpression.Cartesian.createEvaluator(Scope scope)
|
| Constructors in com.threerings.expr with parameters of type Vector3f | |
|---|---|
Vector3fExpression.Constant(Vector3f value)
Creates a new constant expression with the specified value. |
|
| Uses of Vector3f in com.threerings.expr.util |
|---|
| Methods in com.threerings.expr.util that return Vector3f | |
|---|---|
static Vector3f |
ScopeUtil.resolve(Scope scope,
String name,
Vector3f defvalue)
Attempts to resolve a vector symbol. |
| Methods in com.threerings.expr.util with parameters of type Vector3f | |
|---|---|
static Vector3f |
ScopeUtil.resolve(Scope scope,
String name,
Vector3f defvalue)
Attempts to resolve a vector symbol. |
| Uses of Vector3f in com.threerings.math |
|---|
| Fields in com.threerings.math declared as Vector3f | |
|---|---|
static Vector3f |
Vector3f.MAX_VALUE
A vector containing the maximum floating point value for all components. |
static Vector3f |
Vector3f.MIN_VALUE
A vector containing the minimum floating point value for all components (note: the components are - Float.MAX_VALUE, not Float.MIN_VALUE). |
static Vector3f |
Vector3f.NORMAL_XYZ
A normalized version of UNIT_XYZ. |
static Vector3f |
Vector3f.UNIT_X
A unit vector in the X+ direction. |
static Vector3f |
Vector3f.UNIT_XYZ
A vector containing unity for all components. |
static Vector3f |
Vector3f.UNIT_Y
A unit vector in the Y+ direction. |
static Vector3f |
Vector3f.UNIT_Z
A unit vector in the Z+ direction. |
static Vector3f |
Vector3f.ZERO
The zero vector. |
| Methods in com.threerings.math that return Vector3f | |
|---|---|
Vector3f |
Vector3f.add(float x,
float y,
float z)
Adds a vector to this one. |
Vector3f |
Vector3f.add(float x,
float y,
float z,
Vector3f result)
Adds a vector to this one and stores the result in the object provided. |
Vector3f |
Vector3f.add(Vector3f other)
Adds a vector to this one. |
Vector3f |
Vector3f.add(Vector3f other,
Vector3f result)
Adds a vector to this one, storing the result in the object provided. |
Vector3f |
Vector3f.addLocal(float x,
float y,
float z)
Adds a vector in-place to this one. |
Vector3f |
Vector3f.addLocal(Vector3f other)
Adds a vector in-place to this one. |
Vector3f |
Vector3f.addScaled(Vector3f other,
float v)
Adds a scaled vector to this one. |
Vector3f |
Vector3f.addScaled(Vector3f other,
float v,
Vector3f result)
Adds a scaled vector to this one and stores the result in the supplied vector. |
Vector3f |
Vector3f.addScaledLocal(Vector3f other,
float v)
Adds a scaled vector in-place to this one. |
Vector3f |
Vector3f.cross(Vector3f other)
Computes the cross product of this and the specified other vector. |
Vector3f |
Vector3f.cross(Vector3f other,
Vector3f result)
Computes the cross product of this and the specified other vector, placing the result in the object supplied. |
Vector3f |
Vector3f.crossLocal(Vector3f other)
Computes the cross product of this and the specified other vector, storing the result in this vector. |
Vector3f |
Transform3D.extractScale()
Extracts the scale component of the transform. |
Vector3f |
Matrix4f.extractScale()
Extracts the scale component of the matrix. |
Vector3f |
Transform3D.extractScale(Vector3f result)
Extracts the scale component of the transform and places it in the provided result vector. |
Vector3f |
Matrix4f.extractScale(Vector3f result)
Extracts the scale component of the matrix and places it in the provided result vector. |
Vector3f |
Transform3D.extractTranslation()
Extracts the translation component of the transform. |
Vector3f |
Transform3D.extractTranslation(Vector3f result)
Extracts the translation component of the transform and places it in the provided result vector. |
Vector3f |
Triangle.getCenter()
Returns the center of the triangle as a new vector. |
Vector3f |
Box.getCenter()
Returns the center of the box as a new vector. |
Vector3f |
Box.getCenter(Vector3f result)
Places the location of the center of the box into the given result vector. |
Vector3f |
Ray3D.getDirection()
Returns a reference to the ray's unit direction vector. |
Vector3f |
Triangle.getFirstVertex()
Returns a reference to the triangle's first vertex. |
Vector3f |
Box.getMaximumExtent()
Returns a reference to the box's maximum extent. |
Vector3f |
Box.getMinimumExtent()
Returns a reference to the box's minimum extent. |
Vector3f |
Plane.getNormal()
Returns a reference to the plane normal. |
Vector3f |
Ray3D.getOrigin()
Returns a reference to the ray's point of origin. |
Vector3f |
Triangle.getSecondVertex()
Returns a reference to the triangle's second vertex. |
Vector3f |
Triangle.getThirdVertex()
Returns a reference to the triangle's third vertex. |
Vector3f |
Transform3D.getTranslation()
Returns a reference to the translation vector, which is only definitive when the type is Transform3D.RIGID or Transform3D.UNIFORM. |
Vector3f |
Triangle.getVertex(int idx)
Returns a reference to the vertex at the specified index. |
Vector3f |
Box.getVertex(int code,
Vector3f result)
Retrieves one of the eight vertices of the box. |
Vector3f[] |
Frustum.getVertices()
Returns a reference to the frustum's array of vertices. |
Vector3f |
Vector3f.lerp(Vector3f other,
float t)
Linearly interpolates between this and the specified other vector by the supplied amount. |
Vector3f |
Vector3f.lerp(Vector3f other,
float t,
Vector3f result)
Linearly interpolates between this and the supplied other vector by the supplied amount, storing the result in the supplied object. |
Vector3f |
Vector3f.lerpLocal(Vector3f other,
float t)
Linearly interpolates between this and the specified other vector in-place by the supplied amount. |
Vector3f |
Vector3f.mult(float v)
Multiplies this vector by a scalar. |
Vector3f |
Vector3f.mult(float v,
Vector3f result)
Multiplies this vector by a scalar and places the result in the supplied object. |
Vector3f |
Vector3f.mult(Vector3f other)
Multiplies this vector by another. |
Vector3f |
Vector3f.mult(Vector3f other,
Vector3f result)
Multiplies this vector by another, storing the result in the object provided. |
Vector3f |
Vector3f.multLocal(float v)
Multiplies this vector in-place by a scalar. |
Vector3f |
Vector3f.multLocal(Vector3f other)
Multiplies this vector in-place by another. |
Vector3f |
Vector3f.negate()
Negates this vector. |
Vector3f |
Vector3f.negate(Vector3f result)
Negates this vector, storing the result in the supplied object. |
Vector3f |
Vector3f.negateLocal()
Negates this vector in-place. |
Vector3f |
Vector3f.normalize()
Normalizes this vector. |
Vector3f |
Vector3f.normalize(Vector3f result)
Normalizes this vector, storing the result in the object supplied. |
Vector3f |
Vector3f.normalizeLocal()
Normalizes this vector in-place. |
Vector3f |
Matrix4f.projectPoint(Vector3f point)
Projects the supplied point using this matrix. |
Vector3f |
Matrix4f.projectPoint(Vector3f point,
Vector3f result)
Projects the supplied point using this matrix and places the result in the object supplied. |
Vector3f |
Matrix4f.projectPointLocal(Vector3f point)
Projects the supplied point in-place using this matrix. |
static Vector3f |
FloatMath.reflect(Vector3f i,
Vector3f n)
Computes the reflection of a vector. |
static Vector3f |
FloatMath.reflect(Vector3f i,
Vector3f n,
Vector3f result)
Computes the reflection of a vector and stores it in the provided vector. |
static Vector3f |
FloatMath.refract(Vector3f i,
Vector3f n,
float eta)
Computes the refraction of a vector. |
static Vector3f |
FloatMath.refract(Vector3f i,
Vector3f n,
float eta,
Vector3f result)
Computes the refraction of a vector, placing the result in the provided vector. |
Vector3f |
Vector3f.set(float[] values)
Copies the elements of an array. |
Vector3f |
Vector3f.set(float x,
float y,
float z)
Sets all of the elements of the vector. |
Vector3f |
Vector3f.set(Vector3f other)
Copies the elements of another vector. |
Vector3f |
Vector3f.subtract(Vector3f other)
Subtracts a vector from this one. |
Vector3f |
Vector3f.subtract(Vector3f other,
Vector3f result)
Subtracts a vector from this one and places the result in the supplied object. |
Vector3f |
Vector3f.subtractLocal(Vector3f other)
Subtracts a vector in-place from this one. |
Vector3f |
Quaternion.toAngles()
Computes and returns the angles to pass to Quaternion.fromAngles(com.threerings.math.Vector3f) to reproduce this rotation. |
Vector3f |
Quaternion.toAngles(Vector3f result)
Computes the angles to pass to Quaternion.fromAngles(com.threerings.math.Vector3f) to reproduce this rotation, placing them
in the provided vector. |
Vector3f |
Quaternion.transform(Vector3f vector)
Transforms a vector by this quaternion. |
Vector3f |
Matrix3f.transform(Vector3f vector)
Transforms a vector by this matrix. |
Vector3f |
Quaternion.transform(Vector3f vector,
Vector3f result)
Transforms a vector by this quaternion and places the result in the provided object. |
Vector3f |
Matrix3f.transform(Vector3f vector,
Vector3f result)
Transforms a vector by this matrix and places the result in the object provided. |
Vector3f |
Quaternion.transformAndAdd(Vector3f vector,
Vector3f add,
Vector3f result)
Transforms a vector by this quaternion and adds another vector to it, placing the result in the object provided. |
Vector3f |
Quaternion.transformLocal(Vector3f vector)
Transforms a vector in-place by this quaternion. |
Vector3f |
Matrix3f.transformLocal(Vector3f vector)
Transforms a vector in-place by the inner 3x3 part of this matrix. |
Vector3f |
Transform3D.transformPoint(Vector3f pt)
Transforms a point by this transform. |
Vector3f |
Matrix4f.transformPoint(Vector3f point)
Transforms a point by this matrix. |
Vector3f |
Transform3D.transformPoint(Vector3f pt,
Vector3f result)
Transforms a point by this transform and places the result in the object provided. |
Vector3f |
Matrix4f.transformPoint(Vector3f point,
Vector3f result)
Transforms a point by this matrix and places the result in the object provided. |
Vector3f |
Transform3D.transformPointLocal(Vector3f pt)
Transforms a point in-place by this transform. |
Vector3f |
Matrix4f.transformPointLocal(Vector3f point)
Transforms a point in-place by this matrix. |
Vector3f |
Quaternion.transformScaleAndAdd(Vector3f vector,
float scale,
Vector3f add,
Vector3f result)
Transforms a vector by this quaternion, applies a uniform scale, and adds another vector to it, placing the result in the object provided. |
Vector3f |
Quaternion.transformUnitX(Vector3f result)
Transforms the unit x vector by this quaternion, placing the result in the provided object. |
Vector3f |
Quaternion.transformUnitY(Vector3f result)
Transforms the unit y vector by this quaternion, placing the result in the provided object. |
Vector3f |
Quaternion.transformUnitZ(Vector3f result)
Transforms the unit z vector by this quaternion, placing the result in the provided object. |
Vector3f |
Transform3D.transformVector(Vector3f vec)
Transforms a vector by this transform. |
Vector3f |
Matrix4f.transformVector(Vector3f vector)
Transforms a vector by this inner 3x3 part of this matrix. |
Vector3f |
Transform3D.transformVector(Vector3f vec,
Vector3f result)
Transforms a vector by this transform and places the result in the object provided. |
Vector3f |
Matrix4f.transformVector(Vector3f vector,
Vector3f result)
Transforms a vector by the inner 3x3 part of this matrix and places the result in the object provided. |
Vector3f |
Transform3D.transformVectorLocal(Vector3f vec)
Transforms a vector in-place by this transform. |
Vector3f |
Matrix4f.transformVectorLocal(Vector3f vector)
Transforms a vector in-place by the inner 3x3 part of this matrix. |
static Vector3f |
FloatMath.updateClosest(Vector3f origin,
Vector3f result,
Vector3f closest)
Updates the value of the closest point and returns a new result vector reference. |
| Methods in com.threerings.math with parameters of type Vector3f | |
|---|---|
Vector3f |
Vector3f.add(float x,
float y,
float z,
Vector3f result)
Adds a vector to this one and stores the result in the object provided. |
Vector3f |
Vector3f.add(Vector3f other)
Adds a vector to this one. |
Box |
Box.add(Vector3f point)
Expands this box to include the specified point. |
Box |
Box.add(Vector3f point,
Box result)
Expands this box to include the specified point, placing the result in the object provided. |
Vector3f |
Vector3f.add(Vector3f other,
Vector3f result)
Adds a vector to this one, storing the result in the object provided. |
Vector3f |
Vector3f.addLocal(Vector3f other)
Adds a vector in-place to this one. |
Box |
Box.addLocal(Vector3f point)
Expands this box in-place to include the specified point. |
Vector3f |
Vector3f.addScaled(Vector3f other,
float v)
Adds a scaled vector to this one. |
Vector3f |
Vector3f.addScaled(Vector3f other,
float v,
Vector3f result)
Adds a scaled vector to this one and stores the result in the supplied vector. |
Vector3f |
Vector3f.addScaledLocal(Vector3f other,
float v)
Adds a scaled vector in-place to this one. |
float |
Vector3f.angle(Vector3f other)
Returns the angle between this vector and the specified other vector. |
boolean |
Box.contains(Vector3f point)
Determines whether this box contains the specified point. |
Vector3f |
Vector3f.cross(Vector3f other)
Computes the cross product of this and the specified other vector. |
Vector3f |
Vector3f.cross(Vector3f other,
Vector3f result)
Computes the cross product of this and the specified other vector, placing the result in the object supplied. |
Vector3f |
Vector3f.crossLocal(Vector3f other)
Computes the cross product of this and the specified other vector, storing the result in this vector. |
float |
Vector3f.distance(Vector3f other)
Returns the distance from this vector to the specified other vector. |
float |
Vector3f.distanceSquared(Vector3f other)
Returns the squared distance from this vector to the specified other. |
float |
Vector3f.dot(Vector3f other)
Computes and returns the dot product of this and the specified other vector. |
Vector3f |
Transform3D.extractScale(Vector3f result)
Extracts the scale component of the transform and places it in the provided result vector. |
Vector3f |
Matrix4f.extractScale(Vector3f result)
Extracts the scale component of the matrix and places it in the provided result vector. |
Vector3f |
Transform3D.extractTranslation(Vector3f result)
Extracts the translation component of the transform and places it in the provided result vector. |
Quaternion |
Quaternion.fromAngleAxis(float angle,
Vector3f axis)
Sets this quaternion to the rotation described by the given angle and normalized axis. |
Quaternion |
Quaternion.fromAngles(Vector3f angles)
Sets this quaternion to one that first rotates about x by the specified number of radians, then rotates about y, then about z. |
Quaternion |
Quaternion.fromAxes(Vector3f nx,
Vector3f ny,
Vector3f nz)
Sets this quaternion to one that rotates onto the given unit axes. |
Plane |
Plane.fromPointNormal(Vector3f pt,
Vector3f normal)
Sets this plane based on a point on the plane and the plane normal. |
Box |
Box.fromPoints(Vector3f... points)
Initializes this box with the extents of an array of points. |
Plane |
Plane.fromPoints(Vector3f p1,
Vector3f p2,
Vector3f p3)
Sets this plane based on the three points provided. |
Quaternion |
Quaternion.fromVectors(Vector3f from,
Vector3f to)
Sets this quaternion to the rotation of the first normalized vector onto the second. |
Vector3f |
Box.getCenter(Vector3f result)
Places the location of the center of the box into the given result vector. |
float |
Plane.getDistance(Vector3f pt)
Computes and returns the signed distance from the plane to the specified point. |
float |
Frustum.getDistance(Vector3f point)
Determines the maximum signed distance of the point from the planes of the frustum. |
boolean |
Triangle.getIntersection(Ray3D ray,
Vector3f result)
Computes the intersection of the supplied ray with this triangle, placing the result in the given vector (if the ray intersects). |
boolean |
Plane.getIntersection(Ray3D ray,
Vector3f result)
Computes the intersection of the supplied ray with this plane, placing the result in the given vector (if the ray intersects). |
boolean |
Box.getIntersection(Ray3D ray,
Vector3f result)
Finds the location of the (first) intersection between the specified ray and this box. |
Vector3f |
Box.getVertex(int code,
Vector3f result)
Retrieves one of the eight vertices of the box. |
Quaternion |
Quaternion.integrate(Vector3f velocity,
float t)
Integrates the provided angular velocity over the specified timestep. |
Quaternion |
Quaternion.integrate(Vector3f velocity,
float t,
Quaternion result)
Integrates the provided angular velocity over the specified timestep, storing the result in the object provided. |
Quaternion |
Quaternion.integrateLocal(Vector3f velocity,
float t)
Integrates in-place the provided angular velocity over the specified timestep. |
Vector3f |
Vector3f.lerp(Vector3f other,
float t)
Linearly interpolates between this and the specified other vector by the supplied amount. |
Vector3f |
Vector3f.lerp(Vector3f other,
float t,
Vector3f result)
Linearly interpolates between this and the supplied other vector by the supplied amount, storing the result in the supplied object. |
Vector3f |
Vector3f.lerpLocal(Vector3f other,
float t)
Linearly interpolates between this and the specified other vector in-place by the supplied amount. |
float |
Vector3f.manhattanDistance(Vector3f other)
Returns the Manhattan distance between this vector and the specified other. |
Vector3f |
Vector3f.mult(float v,
Vector3f result)
Multiplies this vector by a scalar and places the result in the supplied object. |
Vector3f |
Vector3f.mult(Vector3f other)
Multiplies this vector by another. |
Vector3f |
Vector3f.mult(Vector3f other,
Vector3f result)
Multiplies this vector by another, storing the result in the object provided. |
Vector3f |
Vector3f.multLocal(Vector3f other)
Multiplies this vector in-place by another. |
Vector3f |
Vector3f.negate(Vector3f result)
Negates this vector, storing the result in the supplied object. |
Vector3f |
Vector3f.normalize(Vector3f result)
Normalizes this vector, storing the result in the object supplied. |
Vector3f |
Matrix4f.projectPoint(Vector3f point)
Projects the supplied point using this matrix. |
Vector3f |
Matrix4f.projectPoint(Vector3f point,
Vector3f result)
Projects the supplied point using this matrix and places the result in the object supplied. |
Vector3f |
Matrix4f.projectPointLocal(Vector3f point)
Projects the supplied point in-place using this matrix. |
static Vector3f |
FloatMath.reflect(Vector3f i,
Vector3f n)
Computes the reflection of a vector. |
static Vector3f |
FloatMath.reflect(Vector3f i,
Vector3f n,
Vector3f result)
Computes the reflection of a vector and stores it in the provided vector. |
static Vector3f |
FloatMath.refract(Vector3f i,
Vector3f n,
float eta)
Computes the refraction of a vector. |
static Vector3f |
FloatMath.refract(Vector3f i,
Vector3f n,
float eta,
Vector3f result)
Computes the refraction of a vector, placing the result in the provided vector. |
Vector3f |
Vector3f.set(Vector3f other)
Copies the elements of another vector. |
Plane |
Plane.set(Vector3f normal,
float constant)
Sets the parameters of the plane. |
Transform3D |
Transform3D.set(Vector3f translation,
Quaternion rotation)
Sets the transform using the supplied values. |
Transform3D |
Transform3D.set(Vector3f translation,
Quaternion rotation,
float scale)
Sets the transform using the supplied values. |
Transform3D |
Transform3D.set(Vector3f translation,
Quaternion rotation,
Vector3f scale)
Sets the transform using the supplied values. |
Ray3D |
Ray3D.set(Vector3f origin,
Vector3f direction)
Sets the ray parameters to the values contained in the supplied vectors. |
Box |
Box.set(Vector3f minExtent,
Vector3f maxExtent)
Sets the box parameters to the values contained in the supplied vectors. |
Triangle |
Triangle.set(Vector3f v1,
Vector3f v2,
Vector3f v3)
Sets the vertices of the triangle to those contained in the supplied objects. |
Matrix4f |
Matrix4f.setToFrustum(float left,
float right,
float bottom,
float top,
float near,
float far,
Vector3f nearFarNormal)
Sets this to a perspective projection matrix. |
Matrix4f |
Matrix4f.setToOrtho(float left,
float right,
float bottom,
float top,
float near,
float far,
Vector3f nearFarNormal)
Sets this to an orthographic projection matrix. |
Frustum |
Frustum.setToProjection(float left,
float right,
float bottom,
float top,
float near,
float far,
Vector3f nearFarNormal,
boolean ortho,
boolean mirrored)
Sets this frustum to a perspective or orthographic projection with the specified parameters determining its size and shape. |
Matrix4f |
Matrix4f.setToReflection(Vector3f normal)
Sets this to a reflection across a plane intersecting the origin with the supplied normal. |
Matrix3f |
Matrix3f.setToReflection(Vector3f normal)
Sets this to a reflection across a plane intersecting the origin with the supplied normal. |
Matrix4f |
Matrix4f.setToReflection(Vector3f normal,
float constant)
Sets this to a reflection across the specified plane. |
Matrix4f |
Matrix4f.setToRotation(float angle,
Vector3f axis)
Sets this to a rotation matrix. |
Matrix3f |
Matrix3f.setToRotation(float angle,
Vector3f axis)
Sets this to a rotation matrix. |
Matrix4f |
Matrix4f.setToRotation(Vector3f from,
Vector3f to)
Sets this to a rotation matrix that rotates one vector onto another. |
Matrix3f |
Matrix3f.setToRotation(Vector3f from,
Vector3f to)
Sets this to a rotation matrix that rotates one vector onto another. |
Matrix4f |
Matrix4f.setToScale(Vector3f scale)
Sets this to a scale matrix. |
Matrix3f |
Matrix3f.setToScale(Vector3f scale)
Sets this to a scale matrix. |
Matrix4f |
Matrix4f.setToSkew(Plane plane,
Vector3f amount)
Sets this to a skew by the specified amount relative to the given plane. |
Matrix4f |
Matrix4f.setToSkew(Vector3f normal,
float constant,
Vector3f amount)
Sets this to a skew by the specified amount relative to the given plane. |
Matrix4f |
Matrix4f.setToTransform(Vector3f translation,
Quaternion rotation)
Sets this to a matrix that first rotates, then translates. |
Matrix4f |
Matrix4f.setToTransform(Vector3f translation,
Quaternion rotation,
float scale)
Sets this to a matrix that first scales, then rotates, then translates. |
Matrix4f |
Matrix4f.setToTransform(Vector3f translation,
Quaternion rotation,
Vector3f scale)
Sets this to a matrix that first scales, then rotates, then translates. |
Matrix4f |
Matrix4f.setToTranslation(Vector3f translation)
Sets this to a translation matrix. |
Matrix4f |
Matrix4f.setTranslation(Vector3f translation)
Sets the translation component of this matrix. |
Vector3f |
Vector3f.subtract(Vector3f other)
Subtracts a vector from this one. |
Vector3f |
Vector3f.subtract(Vector3f other,
Vector3f result)
Subtracts a vector from this one and places the result in the supplied object. |
Vector3f |
Vector3f.subtractLocal(Vector3f other)
Subtracts a vector in-place from this one. |
Vector3f |
Quaternion.toAngles(Vector3f result)
Computes the angles to pass to Quaternion.fromAngles(com.threerings.math.Vector3f) to reproduce this rotation, placing them
in the provided vector. |
Vector3f |
Quaternion.transform(Vector3f vector)
Transforms a vector by this quaternion. |
Vector3f |
Matrix3f.transform(Vector3f vector)
Transforms a vector by this matrix. |
Vector3f |
Quaternion.transform(Vector3f vector,
Vector3f result)
Transforms a vector by this quaternion and places the result in the provided object. |
Vector3f |
Matrix3f.transform(Vector3f vector,
Vector3f result)
Transforms a vector by this matrix and places the result in the object provided. |
Vector3f |
Quaternion.transformAndAdd(Vector3f vector,
Vector3f add,
Vector3f result)
Transforms a vector by this quaternion and adds another vector to it, placing the result in the object provided. |
Vector3f |
Quaternion.transformLocal(Vector3f vector)
Transforms a vector in-place by this quaternion. |
Vector3f |
Matrix3f.transformLocal(Vector3f vector)
Transforms a vector in-place by the inner 3x3 part of this matrix. |
Vector3f |
Transform3D.transformPoint(Vector3f pt)
Transforms a point by this transform. |
Vector3f |
Matrix4f.transformPoint(Vector3f point)
Transforms a point by this matrix. |
Vector3f |
Transform3D.transformPoint(Vector3f pt,
Vector3f result)
Transforms a point by this transform and places the result in the object provided. |
Vector3f |
Matrix4f.transformPoint(Vector3f point,
Vector3f result)
Transforms a point by this matrix and places the result in the object provided. |
Vector3f |
Transform3D.transformPointLocal(Vector3f pt)
Transforms a point in-place by this transform. |
Vector3f |
Matrix4f.transformPointLocal(Vector3f point)
Transforms a point in-place by this matrix. |
float |
Transform3D.transformPointZ(Vector3f pt)
Transforms a point by this transform and returns the z coordinate of the result. |
float |
Matrix4f.transformPointZ(Vector3f point)
Transforms a point by this matrix and returns the resulting z coordinate. |
Vector3f |
Quaternion.transformScaleAndAdd(Vector3f vector,
float scale,
Vector3f add,
Vector3f result)
Transforms a vector by this quaternion, applies a uniform scale, and adds another vector to it, placing the result in the object provided. |
Vector3f |
Quaternion.transformUnitX(Vector3f result)
Transforms the unit x vector by this quaternion, placing the result in the provided object. |
Vector3f |
Quaternion.transformUnitY(Vector3f result)
Transforms the unit y vector by this quaternion, placing the result in the provided object. |
Vector3f |
Quaternion.transformUnitZ(Vector3f result)
Transforms the unit z vector by this quaternion, placing the result in the provided object. |
Vector3f |
Transform3D.transformVector(Vector3f vec)
Transforms a vector by this transform. |
Vector3f |
Matrix4f.transformVector(Vector3f vector)
Transforms a vector by this inner 3x3 part of this matrix. |
Vector3f |
Transform3D.transformVector(Vector3f vec,
Vector3f result)
Transforms a vector by this transform and places the result in the object provided. |
Vector3f |
Matrix4f.transformVector(Vector3f vector,
Vector3f result)
Transforms a vector by the inner 3x3 part of this matrix and places the result in the object provided. |
Vector3f |
Transform3D.transformVectorLocal(Vector3f vec)
Transforms a vector in-place by this transform. |
Vector3f |
Matrix4f.transformVectorLocal(Vector3f vector)
Transforms a vector in-place by the inner 3x3 part of this matrix. |
float |
Quaternion.transformZ(Vector3f vector)
Transforms a vector by this quaternion and returns the z coordinate of the result. |
float |
Vector3f.triple(Vector3f b,
Vector3f c)
Computes the triple product of this and the specified other vectors, which is equal to this.dot(b.cross(c)). |
static Vector3f |
FloatMath.updateClosest(Vector3f origin,
Vector3f result,
Vector3f closest)
Updates the value of the closest point and returns a new result vector reference. |
| Constructors in com.threerings.math with parameters of type Vector3f | |
|---|---|
Box(Vector3f minExtent,
Vector3f maxExtent)
Creates a box with the values contained in the supplied minimum and maximum extents. |
|
Plane(Vector3f normal,
float constant)
Creates a plane from the specified normal and constant. |
|
Ray3D(Vector3f origin,
Vector3f direction)
Creates a ray with the values contained in the supplied origin point and unit direction vector. |
|
Transform3D(Vector3f translation,
Quaternion rotation)
Creates a transformation from the values in the supplied objects. |
|
Transform3D(Vector3f translation,
Quaternion rotation,
float scale)
Creates a transformation from the values in the supplied objects. |
|
Transform3D(Vector3f translation,
Quaternion rotation,
Vector3f scale)
Creates a transformation from the values in the supplied objects. |
|
Triangle(Vector3f v1,
Vector3f v2,
Vector3f v3)
Creates a triangle from the values contained in the supplied objects. |
|
Vector3f(Vector3f other)
Copy constructor. |
|
| Uses of Vector3f in com.threerings.opengl.camera |
|---|
| Methods in com.threerings.opengl.camera that return Vector3f | |
|---|---|
Vector3f |
Camera.getNearFarNormal()
Returns a reference to the normal of the near/far clip planes. |
Vector3f |
OrbitCameraHandler.getTarget()
Returns a reference to the location of the camera's target. |
Vector3f |
OrbitCameraHandler.getViewerTranslation()
|
Vector3f |
CameraHandler.getViewerTranslation()
Returns a reference to the translation to use for the notional "viewer." |
Vector3f |
Camera.transform(Vector3f point)
Transforms and projects a point in world space into window space. |
Vector3f |
Camera.transform(Vector3f point,
Vector3f result)
Transforms and projects a point in world space into window space, placing the result in the object provided. |
Vector3f |
Camera.transformLocal(Vector3f point)
Transforms and projects a point in world space into window space. |
| Methods in com.threerings.opengl.camera with parameters of type Vector3f | |
|---|---|
void |
Camera.setProjection(float left,
float right,
float bottom,
float top,
float near,
float far,
Vector3f nearFarNormal,
boolean ortho,
boolean mirrored)
Sets the camera projection parameters. |
Vector3f |
Camera.transform(Vector3f point)
Transforms and projects a point in world space into window space. |
Vector3f |
Camera.transform(Vector3f point,
Vector3f result)
Transforms and projects a point in world space into window space, placing the result in the object provided. |
Vector3f |
Camera.transformLocal(Vector3f point)
Transforms and projects a point in world space into window space. |
| Uses of Vector3f in com.threerings.opengl.compositor |
|---|
| Fields in com.threerings.opengl.compositor declared as Vector3f | |
|---|---|
Vector3f |
Dependency.CubeTexture.origin
The render origin in world space. |
| Uses of Vector3f in com.threerings.opengl.effect |
|---|
| Methods in com.threerings.opengl.effect that return Vector3f | |
|---|---|
Vector3f |
PositionHistory.get(float t,
Vector3f result)
Computes the position at some point in the past. |
Vector3f |
Particle.getAngularVelocity()
Returns a reference to the particle's angular velocity. |
Vector3f |
ParticleGeometry.getCenter()
|
Vector3f |
Particle.getPosition()
Returns a reference to the particle's position. |
Vector3f |
Particle.getPosition(float t,
Vector3f result)
Computes the particle's position at some point in its past (where 0 is the oldest position and 1 is the newest). |
Vector3f |
Particle.getVelocity()
Returns a reference to the particle's (linear) velocity. |
Vector3f |
BaseParticleSystem.Layer.pointToLayer(Vector3f point,
boolean emitter)
Transforms a point in-place from world space or emitter space into the space of the layer (either world space or emitter space, depending on the value of BaseParticleSystemConfig.Layer.moveParticlesWithEmitter). |
Vector3f |
Shooter.shoot(Particle particle)
Configures the supplied particle with an initial velocity. |
Vector3f |
BaseParticleSystem.Layer.vectorToLayer(Vector3f vector,
boolean emitter)
Transforms a vector in-place from world space or emitter space into the space of the layer (either world space or emitter space, depending on the value of BaseParticleSystemConfig.Layer.moveParticlesWithEmitter). |
| Methods in com.threerings.opengl.effect with parameters of type Vector3f | |
|---|---|
Vector3f |
PositionHistory.get(float t,
Vector3f result)
Computes the position at some point in the past. |
Vector3f |
Particle.getPosition(float t,
Vector3f result)
Computes the particle's position at some point in its past (where 0 is the oldest position and 1 is the newest). |
void |
PositionHistory.init(Vector3f initial,
Transform3D transform)
(Re)initializes the history. |
Vector3f |
BaseParticleSystem.Layer.pointToLayer(Vector3f point,
boolean emitter)
Transforms a point in-place from world space or emitter space into the space of the layer (either world space or emitter space, depending on the value of BaseParticleSystemConfig.Layer.moveParticlesWithEmitter). |
void |
PositionHistory.record(Vector3f position,
float elapsed,
float length)
Records a position occupied by the particle. |
Vector3f |
BaseParticleSystem.Layer.vectorToLayer(Vector3f vector,
boolean emitter)
Transforms a vector in-place from world space or emitter space into the space of the layer (either world space or emitter space, depending on the value of BaseParticleSystemConfig.Layer.moveParticlesWithEmitter). |
| Uses of Vector3f in com.threerings.opengl.effect.config |
|---|
| Fields in com.threerings.opengl.effect.config declared as Vector3f | |
|---|---|
Vector3f |
InfluenceConfig.Gravity.acceleration
The gravity acceleration vector. |
Vector3f |
InfluenceConfig.AngularAcceleration.acceleration
The acceleration vector. |
Vector3f |
InfluenceConfig.CylindricalVortex.axis
The vortex axis. |
Vector3f |
InfluenceConfig.ToroidalVortex.axis
The ring axis. |
Vector3f |
ShooterConfig.Cone.direction
The direction vector. |
Vector3f |
InfluenceConfig.Wind.direction
The wind direction. |
| Uses of Vector3f in com.threerings.opengl.geometry |
|---|
| Methods in com.threerings.opengl.geometry that return Vector3f | |
|---|---|
Vector3f |
Geometry.getCenter()
Returns a reference to the location of the center of the geometry (used for depth sorting). |
| Uses of Vector3f in com.threerings.opengl.model |
|---|
| Methods in com.threerings.opengl.model with parameters of type Vector3f | |
|---|---|
boolean |
Wrapper.getIntersection(Ray3D ray,
Vector3f result)
|
boolean |
Static.getIntersection(Ray3D ray,
Vector3f result)
|
boolean |
Model.getIntersection(Ray3D ray,
Vector3f result)
|
boolean |
Model.Implementation.getIntersection(Ray3D ray,
Vector3f result)
|
boolean |
Conditional.getIntersection(Ray3D ray,
Vector3f result)
|
boolean |
Compound.getIntersection(Ray3D ray,
Vector3f result)
|
boolean |
CollisionMesh.getIntersection(Ray3D ray,
Vector3f result)
Finds the intersection of the given ray with this mesh and places it in the supplied result object. |
boolean |
Articulated.getIntersection(Ray3D ray,
Vector3f result)
|
boolean |
Articulated.Node.getIntersection(Ray3D ray,
Vector3f result)
Checks for an intersection between the mesh in this node (if any) and the supplied ray. |
boolean |
Articulated.MeshNode.getIntersection(Ray3D ray,
Vector3f result)
|
| Constructors in com.threerings.opengl.model with parameters of type Vector3f | |
|---|---|
CollisionMesh(Vector3f... vertices)
Creates the mesh from an array of vertices, where each set of three vertices represents a triangle. |
|
| Uses of Vector3f in com.threerings.opengl.model.config |
|---|
| Fields in com.threerings.opengl.model.config declared as Vector3f | |
|---|---|
Vector3f |
ActionConfig.ShakeCamera.amplitude
The amplitude of the shake. |
| Uses of Vector3f in com.threerings.opengl.model.tools |
|---|
| Fields in com.threerings.opengl.model.tools declared as Vector3f | |
|---|---|
Vector3f |
ModelDef.Vertex.tangent
The tangent vector, if computed. |
| Uses of Vector3f in com.threerings.opengl.renderer |
|---|
| Fields in com.threerings.opengl.renderer declared as Vector3f | |
|---|---|
Vector3f |
Light.spotDirection
The light's spot direction. |
Vector3f |
Program.Vector3fUniform.value
The vector value. |
| Methods in com.threerings.opengl.renderer that return Vector3f | |
|---|---|
Vector3f |
Renderer.getNearFarNormal()
Returns a reference to the near/far normal projection parameter. |
| Methods in com.threerings.opengl.renderer with parameters of type Vector3f | |
|---|---|
void |
Renderer.setProjection(float left,
float right,
float bottom,
float top,
float near,
float far,
Vector3f nearFarNormal,
boolean ortho)
Sets the projection matrix. |
| Constructors in com.threerings.opengl.renderer with parameters of type Vector3f | |
|---|---|
Program.Vector3fUniform(int location,
Vector3f value)
Creates a new vector uniform with the specified location and value. |
|
| Uses of Vector3f in com.threerings.opengl.renderer.config |
|---|
| Fields in com.threerings.opengl.renderer.config declared as Vector3f | |
|---|---|
Vector3f |
LightConfig.Directional.direction
The direction of the light. |
Vector3f |
LightConfig.Spot.direction
The spot direction. |
Vector3f |
LightConfig.Point.position
The location of the light. |
| Uses of Vector3f in com.threerings.opengl.scene |
|---|
| Methods in com.threerings.opengl.scene with parameters of type Vector3f | |
|---|---|
boolean |
SimpleSceneElement.getIntersection(Ray3D ray,
Vector3f result)
|
SceneElement |
Scene.getIntersection(Ray3D ray,
Vector3f location)
Checks for an intersection between the provided ray and the contents of the scene. |
SceneElement |
SimpleScene.getIntersection(Ray3D ray,
Vector3f location,
Predicate<? super SceneElement> filter)
|
abstract SceneElement |
Scene.getIntersection(Ray3D ray,
Vector3f location,
Predicate<? super SceneElement> filter)
Checks for an intersection between the provided ray and the contents of the scene. |
SceneElement |
HashScene.getIntersection(Ray3D ray,
Vector3f location,
Predicate<? super SceneElement> filter)
|
| Uses of Vector3f in com.threerings.opengl.scene.config |
|---|
| Fields in com.threerings.opengl.scene.config declared as Vector3f | |
|---|---|
Vector3f |
ViewerEffectConfig.Skybox.translationOrigin
The skybox translation origin. |
Vector3f |
ViewerEffectConfig.Skybox.translationScale
The skybox translation scale. |
| Uses of Vector3f in com.threerings.opengl.util |
|---|
| Methods in com.threerings.opengl.util with parameters of type Vector3f | |
|---|---|
boolean |
Intersectable.getIntersection(Ray3D ray,
Vector3f result)
Finds the intersection of a ray with this object and places it in the supplied vector (if it exists). |
| Uses of Vector3f in com.threerings.probs |
|---|
| Fields in com.threerings.probs declared as Vector3f | |
|---|---|
Vector3f |
VectorVariable.Uniform.maximum
The maximum extent. |
Vector3f |
QuaternionVariable.Uniform.maximum
The maximum angles. |
Vector3f |
VectorVariable.Uniform.minimum
The minimum extent. |
Vector3f |
QuaternionVariable.Uniform.minimum
The minimum angles. |
Vector3f |
VectorVariable.Constant.value
The value to return. |
| Methods in com.threerings.probs that return Vector3f | |
|---|---|
abstract Vector3f |
VectorVariable.getMean(Vector3f result)
Computes the mean value. |
Vector3f |
VectorVariable.Constant.getMean(Vector3f result)
|
Vector3f |
VectorVariable.Uniform.getMean(Vector3f result)
|
abstract Vector3f |
VectorVariable.getValue(Vector3f result)
Computes a sample value according to the variable's distribution. |
Vector3f |
VectorVariable.Constant.getValue(Vector3f result)
|
Vector3f |
VectorVariable.Uniform.getValue(Vector3f result)
|
| Methods in com.threerings.probs with parameters of type Vector3f | |
|---|---|
abstract Vector3f |
VectorVariable.getMean(Vector3f result)
Computes the mean value. |
Vector3f |
VectorVariable.Constant.getMean(Vector3f result)
|
Vector3f |
VectorVariable.Uniform.getMean(Vector3f result)
|
abstract Vector3f |
VectorVariable.getValue(Vector3f result)
Computes a sample value according to the variable's distribution. |
Vector3f |
VectorVariable.Constant.getValue(Vector3f result)
|
Vector3f |
VectorVariable.Uniform.getValue(Vector3f result)
|
| Uses of Vector3f in com.threerings.tudey.client |
|---|
| Methods in com.threerings.tudey.client with parameters of type Vector3f | |
|---|---|
Sprite |
TudeySceneView.getIntersection(Ray3D ray,
Vector3f location)
Checks for an intersection between the provided ray and the sprites in the scene. |
Sprite |
TudeySceneView.getIntersection(Ray3D ray,
Vector3f location,
Predicate<? super Sprite> filter)
Checks for an intersection between the provided ray and the sprites in the scene. |
| Uses of Vector3f in com.threerings.tudey.client.util |
|---|
| Methods in com.threerings.tudey.client.util with parameters of type Vector3f | |
|---|---|
boolean |
ShapeConfigElement.getIntersection(Ray3D ray,
Vector3f result)
|
boolean |
AreaElement.getIntersection(Ray3D ray,
Vector3f result)
|
| Uses of Vector3f in com.threerings.tudey.config |
|---|
| Fields in com.threerings.tudey.config declared as Vector3f | |
|---|---|
Vector3f |
CameraConfig.offset
The camera's offset from the target. |
| Methods in com.threerings.tudey.config with parameters of type Vector3f | |
|---|---|
CameraConfig |
CameraConfig.set(int priority,
float fov,
float near,
float far,
SphereCoords coords,
Vector3f offset)
Sets the parameters of this config. |
| Constructors in com.threerings.tudey.config with parameters of type Vector3f | |
|---|---|
CameraConfig(int priority,
float fov,
float near,
float far,
SphereCoords coords,
Vector3f offset)
Creates a new config with the supplied values. |
|
| Uses of Vector3f in com.threerings.tudey.shape |
|---|
| Methods in com.threerings.tudey.shape with parameters of type Vector3f | |
|---|---|
boolean |
ShapeModel.getIntersection(Ray3D ray,
Vector3f result)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||