Package | Description |
---|---|
thothbot.parallax.core.client.controls |
Different controls which can be used by user to manipulate Scene objects.
|
thothbot.parallax.core.client.renderers |
Here is located WebGL renderer.
|
thothbot.parallax.core.shared.cameras |
Different cameras which are used by renderer.
|
thothbot.parallax.core.shared.core |
Contains all core Objects such as Vectors, Matrices and so on which are used overall on the project.
|
thothbot.parallax.core.shared.curves |
Different Curves: 2D and 3D.
|
thothbot.parallax.core.shared.curves.parametric |
Different curves library.
|
thothbot.parallax.core.shared.geometries |
Different Geometries which can be applied for the Geometry objects.
|
thothbot.parallax.core.shared.helpers |
Here are some Geometric Objects which can be used as a helper for the Scene.
|
thothbot.parallax.core.shared.lights |
Here are all types of Light Objects used in the Scene.
|
thothbot.parallax.core.shared.materials |
Here are all Materials used for the Geometric Objects.
|
thothbot.parallax.core.shared.math |
Different mathematics
|
thothbot.parallax.loader.shared.collada | |
thothbot.parallax.plugins.lensflare |
Plugin used for rendering lens flares
|
Modifier and Type | Method and Description |
---|---|
Vector3 |
TrackballControls.getTarget() |
Modifier and Type | Method and Description |
---|---|
void |
TrackballControls.setTarget(Vector3 target) |
Modifier and Type | Field and Description |
---|---|
Vector3 |
WebGLRenderer._vector3 |
Modifier and Type | Method and Description |
---|---|
Vector3 |
Camera.getWorldDirection() |
Vector3 |
Camera.getWorldDirection(Vector3 optionalTarget) |
Modifier and Type | Method and Description |
---|---|
Vector3 |
Camera.getWorldDirection(Vector3 optionalTarget) |
void |
Camera.lookAt(Vector3 vector)
This makes the camera look at the vector position in the global space as long as the parent
of this camera is the scene or at position (0,0,0).
|
Modifier and Type | Field and Description |
---|---|
Vector3 |
Face3.__originalFaceNormal |
Vector3 |
Geometry.VertextNormal.a |
Vector3 |
Geometry.VertextNormal.b |
Vector3 |
Geometry.VertextNormal.c |
static Vector3 |
Object3D.DefaultUp |
Vector3 |
Raycaster.Intersect.point
point of intersection, in world coordinates
|
Modifier and Type | Field and Description |
---|---|
java.util.List<Vector3> |
Face3.__originalVertexNormals |
java.util.List<Vector3> |
Geometry.MorphNormal.faceNormals |
java.util.List<Vector3> |
Geometry.MorphTarget.vertices |
Modifier and Type | Method and Description |
---|---|
Vector3 |
Geometry.center() |
Vector3 |
Face3.getNormal()
Gets the Face normal.
|
Vector3 |
Object3D.getPosition()
Object's local position.
|
Vector3 |
Object3D.getScale()
Object's local scale.
|
Vector3 |
Object3D.getUp()
Up direction.
|
Vector3 |
Object3D.getWorldDirection() |
Vector3 |
Object3D.getWorldDirection(Vector3 optionalTarget) |
Vector3 |
Object3D.getWorldPosition() |
Vector3 |
Object3D.getWorldPosition(Vector3 optionalTarget) |
Vector3 |
Object3D.getWorldScale() |
Vector3 |
Object3D.getWorldScale(Vector3 optionalTarget) |
Vector3 |
Object3D.localToWorld(Vector3 vector) |
Vector3 |
Object3D.worldToLocal(Vector3 vector)
Updates the vector from world space to local space.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Vector3> |
Face3.getVertexNormals()
Gets List of 3 vertex normals.
|
java.util.List<Vector3> |
Geometry.getVertices()
Gets List of
Vector3 . |
Modifier and Type | Method and Description |
---|---|
Vector3 |
Object3D.getWorldDirection(Vector3 optionalTarget) |
Vector3 |
Object3D.getWorldPosition(Vector3 optionalTarget) |
Quaternion |
Object3D.getWorldQuaternion(Vector3 optionalTarget) |
Vector3 |
Object3D.getWorldScale(Vector3 optionalTarget) |
Vector3 |
Object3D.localToWorld(Vector3 vector) |
void |
Object3D.lookAt(Vector3 vector)
Rotates object to face point in space.
|
Object3D |
Object3D.rotateOnAxis(Vector3 axis,
double angle)
Rotate an object along an axis in object space.
|
void |
Raycaster.set(Vector3 origin,
Vector3 direction) |
void |
Face3.setNormal(Vector3 normal)
Sets the Face normal.
|
void |
Object3D.setPosition(Vector3 position) |
void |
Object3D.setRotationFromAxisAngle(Vector3 axis,
double angle) |
void |
Object3D.setScale(Vector3 scale) |
void |
Object3D.setUp(Vector3 up) |
Object3D |
Object3D.translateOnAxis(Vector3 axis,
double distance)
Translate an object by distance along an axis in object space.
|
Vector3 |
Object3D.worldToLocal(Vector3 vector)
Updates the vector from world space to local space.
|
Modifier and Type | Method and Description |
---|---|
void |
Face3.setVertexNormals(java.util.List<Vector3> vertexNormals)
Sets List of 3 vertex normals.
|
void |
Geometry.setVertices(java.util.List<Vector3> vertices) |
Constructor and Description |
---|
Face3(int a,
int b,
int c,
Vector3 normal) |
Face3(int a,
int b,
int c,
Vector3 normal,
Color color,
int materialIndex)
Face3 constructor
|
Raycaster(Vector3 origin,
Vector3 direction) |
Raycaster(Vector3 origin,
Vector3 direction,
double near,
double far)
This creates a new raycaster object.
|
Constructor and Description |
---|
Face3(int a,
int b,
int c,
java.util.List<Vector3> normals)
Face3 constructor
|
Face3(int a,
int b,
int c,
java.util.List<Vector3> normals,
java.util.List<Color> colors,
int materialIndex)
Face3 constructor
|
Modifier and Type | Field and Description |
---|---|
Vector3 |
LineCurve3.v1 |
Vector3 |
LineCurve3.v2 |
Modifier and Type | Field and Description |
---|---|
java.util.List<Vector3> |
SplineCurve3Closed.points |
java.util.List<Vector3> |
SplineCurve3.points |
Modifier and Type | Method and Description |
---|---|
Vector3 |
SplineCurve3Closed.getPoint(double t) |
Vector3 |
SplineCurve3.getPoint(double t) |
Vector3 |
QuadraticBezierCurve3.getPoint(double t) |
Vector3 |
LineCurve3.getPoint(double t) |
Vector3 |
CubicBezierCurve3.getPoint(double t) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Vector3> |
FrenetFrames.getBinormals() |
java.util.List<Vector3> |
FrenetFrames.getNormals() |
java.util.List<Vector3> |
FrenetFrames.getTangents() |
Constructor and Description |
---|
CubicBezierCurve3(Vector3 v0,
Vector3 v1,
Vector3 v2,
Vector3 v3) |
LineCurve3(Vector3 v1,
Vector3 v2) |
QuadraticBezierCurve3(Vector3 v0,
Vector3 v1,
Vector3 v2) |
Constructor and Description |
---|
SplineCurve3(java.util.List<Vector3> points) |
SplineCurve3Closed(java.util.List<Vector3> points) |
Modifier and Type | Method and Description |
---|---|
Vector3 |
CurveViviani.getPoint(double t) |
Vector3 |
CurveTrefoilPolynomialKnot.getPoint(double t) |
Vector3 |
CurveTrefoilKnot.getPoint(double t) |
Vector3 |
CurveTorusKnot.getPoint(double t) |
Vector3 |
CurveKnot.getPoint(double t) |
Vector3 |
CurveHelix.getPoint(double t) |
Vector3 |
CurveHeart.getPoint(double t) |
Vector3 |
CurveGrannyKnot.getPoint(double t) |
Vector3 |
CurveFigureEightPolynomialKnot.getPoint(double t) |
Vector3 |
CurveDecoratedTorusKnot5c.getPoint(double t) |
Vector3 |
CurveDecoratedTorusKnot5a.getPoint(double t) |
Vector3 |
CurveDecoratedTorusKnot4b.getPoint(double t) |
Vector3 |
CurveDecoratedTorusKnot4a.getPoint(double t) |
Vector3 |
CurveCinquefoilKnot.getPoint(double t) |
Modifier and Type | Field and Description |
---|---|
Vector3 |
PolyhedronGeometry.ContainerOfVector.vector |
Modifier and Type | Method and Description |
---|---|
Vector3 |
ParametricGeometry.ParametricFunction.run(double u,
double v) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Vector3> |
TubeGeometry.getBinormals() |
java.util.List<Vector3> |
FrenetFrames.getBinormals() |
java.util.List<Vector3> |
TubeGeometry.getNormals() |
java.util.List<Vector3> |
FrenetFrames.getNormals() |
java.util.List<Vector3> |
TubeGeometry.getTangents() |
java.util.List<Vector3> |
FrenetFrames.getTangents() |
Constructor and Description |
---|
LatheGeometry(java.util.List<Vector3> points) |
LatheGeometry(java.util.List<Vector3> points,
int steps) |
LatheGeometry(java.util.List<Vector3> points,
int segments,
double phiStart,
double phiLength) |
Modifier and Type | Method and Description |
---|---|
void |
ArrowHelper.setDirection(Vector3 dir) |
Constructor and Description |
---|
ArrowHelper(Vector3 dir,
Vector3 origin) |
ArrowHelper(Vector3 dir,
Vector3 origin,
double length) |
ArrowHelper(Vector3 dir,
Vector3 origin,
double length,
int color) |
ArrowHelper(Vector3 dir,
Vector3 origin,
double length,
int color,
double headLength,
double headWidth) |
Modifier and Type | Field and Description |
---|---|
Vector3 |
AreaLight.normal |
Vector3 |
AreaLight.right |
Modifier and Type | Method and Description |
---|---|
Vector3 |
DirectionalLight.getShadowCascadeOffset() |
Modifier and Type | Method and Description |
---|---|
java.util.List<Vector3> |
VirtualLight.getPointsFrustum() |
java.util.List<Vector3> |
VirtualLight.getPointsWorld() |
Modifier and Type | Method and Description |
---|---|
void |
DirectionalLight.setShadowCascadeOffset(Vector3 shadowCascadeOffset) |
Modifier and Type | Method and Description |
---|---|
void |
VirtualLight.setPointsFrustum(java.util.List<Vector3> pointsFrustum) |
void |
VirtualLight.setPointsWorld(java.util.List<Vector3> pointsWorld) |
Modifier and Type | Method and Description |
---|---|
Vector3 |
MeshPhongMaterial.getWrapRGB() |
Vector3 |
MeshLambertMaterial.getWrapRGB() |
Vector3 |
HasWrap.getWrapRGB() |
Modifier and Type | Method and Description |
---|---|
void |
MeshPhongMaterial.setWrapRGB(Vector3 wrapRGB) |
void |
MeshLambertMaterial.setWrapRGB(Vector3 wrapRGB) |
void |
HasWrap.setWrapRGB(Vector3 wrapRGB) |
Modifier and Type | Class and Description |
---|---|
class |
Vector4
This class is realization of (X, Y, Z, W) vector.
|
Modifier and Type | Method and Description |
---|---|
Vector3 |
Vector3.add(double s) |
Vector3 |
Vector3.add(Vector3 v) |
Vector3 |
Vector3.add(Vector3 v1,
Vector3 v2) |
Vector3 |
Vector3.apply(Matrix3 m) |
Vector3 |
Vector3.apply(Matrix4 m) |
Vector3 |
Vector3.apply(Quaternion q) |
Vector3 |
Vector3.applyAxisAngle(Vector3 axis,
double angle) |
Vector3 |
Vector3.applyEuler(Euler euler) |
Vector3 |
Vector3.applyProjection(Matrix4 m) |
Vector3 |
Ray.at(double t) |
Vector3 |
Line3.at(double t) |
Vector3 |
Ray.at(double t,
Vector3 optionalTarget) |
Vector3 |
Line3.at(double t,
Vector3 optionalTarget) |
Vector3 |
Triangle.barycoordFromPoint(Vector3 point) |
Vector3 |
Triangle.barycoordFromPoint(Vector3 point,
Vector3 optionalTarget) |
static Vector3 |
Triangle.barycoordFromPoint(Vector3 point,
Vector3 a,
Vector3 b,
Vector3 c)
Static/instance method to calculate barycoordinates
based on: http://www.blackpawn.com/texts/pointinpoly/default.html
|
static Vector3 |
Triangle.barycoordFromPoint(Vector3 point,
Vector3 a,
Vector3 b,
Vector3 c,
Vector3 optionalTarget) |
Vector3 |
Vector3.ceil() |
Vector3 |
Line3.center() |
Vector3 |
Box3.center() |
Vector3 |
Line3.center(Vector3 optionalTarget) |
Vector3 |
Box3.center(Vector3 optionalTarget) |
Vector3 |
Vector3.clamp(double minVal,
double maxVal) |
Vector3 |
Vector3.clamp(Vector3 min,
Vector3 max)
This function assumes min < max, if this assumption isn't true it will not operate correctly
|
Vector3 |
Sphere.clampPoint(Vector3 point) |
Vector3 |
Box3.clampPoint(Vector3 point) |
Vector3 |
Sphere.clampPoint(Vector3 point,
Vector3 optionalTarget) |
Vector3 |
Box3.clampPoint(Vector3 point,
Vector3 optionalTarget) |
Vector3 |
Vector3.clone() |
Vector3 |
Ray.closestPointToPoint(Vector3 point) |
Vector3 |
Line3.closestPointToPoint(Vector3 point,
boolean clampToLine) |
Vector3 |
Line3.closestPointToPoint(Vector3 point,
boolean clampToLine,
Vector3 optionalTarget) |
Vector3 |
Ray.closestPointToPoint(Vector3 point,
Vector3 optionalTarget) |
Vector3 |
Plane.coplanarPoint() |
Vector3 |
Plane.coplanarPoint(Vector3 optionalTarget) |
Vector3 |
Vector3.copy(Vector3 v)
Set value of the vector from another vector.
|
Vector3 |
Vector3.cross(Vector3 v) |
Vector3 |
Vector3.cross(Vector3 a,
Vector3 b)
Sets this vector to be the vector cross product of vectors v1 and v2.
|
Vector3 |
Line3.delta() |
Vector3 |
Line3.delta(Vector3 optionalTarget) |
Vector3 |
Vector3.divide(double scalar) |
Vector3 |
Vector3.divide(Vector3 v) |
Vector3 |
Vector3.divide(Vector3 v1,
Vector3 v2) |
Vector3 |
Vector3.floor() |
Vector3 |
Vector3.fromArray(Float32Array array) |
Vector3 |
Vector3.fromArray(Float32Array array,
int offset) |
Vector3 |
Triangle.getA() |
Vector3 |
Triangle.getB() |
Vector3 |
Triangle.getC() |
Vector3 |
Sphere.getCenter() |
Vector3[] |
Spline.getControlPointsArray() |
Vector3 |
Ray.getDirection() |
Vector3 |
Line3.getEnd() |
Vector3 |
Box3.getMax() |
Vector3 |
Box3.getMin() |
Vector3 |
Plane.getNormal() |
Vector3 |
Ray.getOrigin() |
Vector3 |
Box3.getParameter(Vector3 point) |
Vector3 |
Spline.getPoint(int k) |
Vector3 |
Line3.getStart() |
Vector3 |
Ray.intersectBox(Box3 box,
Vector3 optionalTarget)
http://www.scratchapixel.com/lessons/3d-basic-lessons/lesson-7-intersecting-simple-shapes/ray-box-intersection/
|
Vector3 |
Plane.intersectLine(Line3 line) |
Vector3 |
Plane.intersectLine(Line3 line,
Vector3 optionalTarget) |
Vector3 |
Ray.intersectPlane(Plane plane) |
Vector3 |
Ray.intersectPlane(Plane plane,
Vector3 optionalTarget) |
Vector3 |
Ray.intersectSphere(Sphere sphere) |
Vector3 |
Ray.intersectSphere(Sphere sphere,
Vector3 optionalTarget)
from http://www.scratchapixel.com/lessons/3d-basic-lessons/lesson-7-intersecting-simple-shapes/ray-sphere-intersection/
|
Vector3 |
Ray.intersectTriangle(Vector3 a,
Vector3 b,
Vector3 c,
boolean backfaceCulling) |
Vector3 |
Ray.intersectTriangle(Vector3 a,
Vector3 b,
Vector3 c,
boolean backfaceCulling,
Vector3 optionalTarget)
from http://www.geometrictools.com/LibMathematics/Intersection/Wm5IntrRay3Triangle3.cpp
|
Vector3 |
Vector3.lerp(Vector3 v1,
double alpha) |
Vector3 |
Vector3.max(Vector3 v) |
Vector3 |
Triangle.midpoint() |
Vector3 |
Triangle.midpoint(Vector3 optionalTarget) |
Vector3 |
Vector3.min(Vector3 v) |
Vector3 |
Vector3.multiply(double s) |
Vector3 |
Vector3.multiply(Vector3 v) |
Vector3 |
Vector3.multiply(Vector3 v1,
Vector3 v2) |
Vector3 |
Quaternion.multiplyVector3(Vector3 vector)
Sets the value of the input vector to the vector multiplication of input vector and
the current Quaternion.
|
Vector3 |
Vector3.negate() |
Vector3 |
Triangle.normal() |
Vector3 |
Triangle.normal(Vector3 optionalTarget) |
static Vector3 |
Triangle.normal(Vector3 a,
Vector3 b,
Vector3 c) |
static Vector3 |
Triangle.normal(Vector3 a,
Vector3 b,
Vector3 c,
Vector3 optionalTarget) |
Vector3 |
Vector3.normalize()
Normalizes this vector in place.
|
Vector3 |
Plane.orthoPoint(Vector3 point) |
Vector3 |
Plane.orthoPoint(Vector3 point,
Vector3 optionalTarget) |
Vector3 |
Vector3.project(Camera camera) |
Vector3 |
Vector3.projectOnPlane(Vector3 planeNormal) |
Vector3 |
Vector3.projectOnVector(Vector3 vector) |
Vector3 |
Plane.projectPoint(Vector3 point,
Vector3 optionalTarget) |
Vector3 |
Vector3.reflect(Vector3 normal)
reflect incident vector off plane orthogonal to normal
normal is assumed to have unit length
|
Vector3 |
Vector3.round() |
Vector3 |
Vector3.roundToZero() |
Vector3 |
Vector3.set(double a)
Set value of the vector to the specified (A, A, A) coordinates.
|
Vector3 |
Vector3.set(double x,
double y,
double z)
Set value of the vector to the specified (X, Y, Z) coordinates.
|
Vector3 |
Vector3.setFromMatrixColumn(int index,
Matrix4 matrix) |
Vector3 |
Vector3.setFromMatrixPosition(Matrix4 m) |
Vector3 |
Vector3.setFromMatrixScale(Matrix4 m) |
Vector3 |
Vector3.setLength(double l) |
Vector3 |
Box3.size() |
Vector3 |
Box3.size(Vector3 optionalTarget) |
Vector3 |
Vector3.sub(Vector3 v) |
Vector3 |
Vector3.sub(Vector3 v1,
Vector3 v2) |
Vector3 |
Vector3.transformDirection(Matrix4 m) |
Vector3 |
Vector3.unproject(Camera camera) |
Modifier and Type | Method and Description |
---|---|
Vector3 |
Vector3.add(Vector3 v) |
Vector3 |
Vector3.add(Vector3 v1,
Vector3 v2) |
double |
Vector3.angleTo(Vector3 v) |
Vector3 |
Vector3.applyAxisAngle(Vector3 axis,
double angle) |
Vector3 |
Ray.at(double t,
Vector3 optionalTarget) |
Vector3 |
Line3.at(double t,
Vector3 optionalTarget) |
Vector3 |
Triangle.barycoordFromPoint(Vector3 point) |
Vector3 |
Triangle.barycoordFromPoint(Vector3 point,
Vector3 optionalTarget) |
static Vector3 |
Triangle.barycoordFromPoint(Vector3 point,
Vector3 a,
Vector3 b,
Vector3 c)
Static/instance method to calculate barycoordinates
based on: http://www.blackpawn.com/texts/pointinpoly/default.html
|
static Vector3 |
Triangle.barycoordFromPoint(Vector3 point,
Vector3 a,
Vector3 b,
Vector3 c,
Vector3 optionalTarget) |
Vector3 |
Line3.center(Vector3 optionalTarget) |
Vector3 |
Box3.center(Vector3 optionalTarget) |
Vector3 |
Vector3.clamp(Vector3 min,
Vector3 max)
This function assumes min < max, if this assumption isn't true it will not operate correctly
|
Vector3 |
Sphere.clampPoint(Vector3 point) |
Vector3 |
Box3.clampPoint(Vector3 point) |
Vector3 |
Sphere.clampPoint(Vector3 point,
Vector3 optionalTarget) |
Vector3 |
Box3.clampPoint(Vector3 point,
Vector3 optionalTarget) |
Vector3 |
Ray.closestPointToPoint(Vector3 point) |
Vector3 |
Line3.closestPointToPoint(Vector3 point,
boolean clampToLine) |
Vector3 |
Line3.closestPointToPoint(Vector3 point,
boolean clampToLine,
Vector3 optionalTarget) |
Vector3 |
Ray.closestPointToPoint(Vector3 point,
Vector3 optionalTarget) |
double |
Line3.closestPointToPointParameter(Vector3 point) |
double |
Line3.closestPointToPointParameter(Vector3 point,
boolean clampToLine) |
Matrix4 |
Matrix4.compose(Vector3 position,
Quaternion quaternion,
Vector3 scale) |
boolean |
Triangle.containsPoint(Vector3 point) |
static boolean |
Triangle.containsPoint(Vector3 point,
Vector3 a,
Vector3 b,
Vector3 c) |
Vector3 |
Plane.coplanarPoint(Vector3 optionalTarget) |
Vector4 |
Vector4.copy(Vector3 v)
Set value of the vector from another vector.
|
Vector3 |
Vector3.copy(Vector3 v)
Set value of the vector from another vector.
|
Vector3 |
Vector3.cross(Vector3 v) |
Vector3 |
Vector3.cross(Vector3 a,
Vector3 b)
Sets this vector to be the vector cross product of vectors v1 and v2.
|
Matrix4 |
Matrix4.decompose(Vector3 position,
Quaternion quaternion,
Vector3 scale) |
Vector3 |
Line3.delta(Vector3 optionalTarget) |
double |
Ray.distanceSqToSegment(Vector3 v0,
Vector3 v1,
Vector3 optionalPointOnRay,
Vector3 optionalPointOnSegment) |
double |
Vector3.distanceTo(Vector3 v1) |
double |
Sphere.distanceToPoint(Vector3 point) |
double |
Ray.distanceToPoint(Vector3 point) |
double |
Plane.distanceToPoint(Vector3 point) |
double |
Box3.distanceToPoint(Vector3 point) |
double |
Vector3.distanceToSquared(Vector3 v1) |
Vector3 |
Vector3.divide(Vector3 v) |
Vector3 |
Vector3.divide(Vector3 v1,
Vector3 v2) |
double |
Vector3.dot(Vector3 v1)
Computes the dot product of this vector and vector v1.
|
boolean |
Vector3.equals(Vector3 v1)
Returns true if all of the data members of v1 are equal to the
corresponding data members in this Vector3.
|
Box3 |
Box3.expandByPoint(Vector3 point) |
Box3 |
Box3.expandByVector(Vector3 vector) |
Vector3 |
Box3.getParameter(Vector3 point) |
Vector3 |
Ray.intersectBox(Box3 box,
Vector3 optionalTarget)
http://www.scratchapixel.com/lessons/3d-basic-lessons/lesson-7-intersecting-simple-shapes/ray-box-intersection/
|
Vector3 |
Plane.intersectLine(Line3 line,
Vector3 optionalTarget) |
Vector3 |
Ray.intersectPlane(Plane plane,
Vector3 optionalTarget) |
Vector3 |
Ray.intersectSphere(Sphere sphere,
Vector3 optionalTarget)
from http://www.scratchapixel.com/lessons/3d-basic-lessons/lesson-7-intersecting-simple-shapes/ray-sphere-intersection/
|
Vector3 |
Ray.intersectTriangle(Vector3 a,
Vector3 b,
Vector3 c,
boolean backfaceCulling) |
Vector3 |
Ray.intersectTriangle(Vector3 a,
Vector3 b,
Vector3 c,
boolean backfaceCulling,
Vector3 optionalTarget)
from http://www.geometrictools.com/LibMathematics/Intersection/Wm5IntrRay3Triangle3.cpp
|
boolean |
Sphere.isContainsPoint(Vector3 point) |
boolean |
Frustum.isContainsPoint(Vector3 point) |
boolean |
Box3.isContainsPoint(Vector3 point) |
Vector3 |
Vector3.lerp(Vector3 v1,
double alpha) |
Matrix4 |
Matrix4.lookAt(Vector3 eye,
Vector3 target,
Vector3 up)
Modifies the current matrix by looking at target on defined eye.
|
Matrix4 |
Matrix4.makeRotationAxis(Vector3 axis,
double angle)
The method will make rotation matrix on XYZ-axis using defining angle theta.
|
Vector3 |
Vector3.max(Vector3 v) |
Vector3 |
Triangle.midpoint(Vector3 optionalTarget) |
Vector3 |
Vector3.min(Vector3 v) |
Vector3 |
Vector3.multiply(Vector3 v) |
Vector3 |
Vector3.multiply(Vector3 v1,
Vector3 v2) |
Vector3 |
Quaternion.multiplyVector3(Vector3 vector)
Sets the value of the input vector to the vector multiplication of input vector and
the current Quaternion.
|
Vector3 |
Triangle.normal(Vector3 optionalTarget) |
static Vector3 |
Triangle.normal(Vector3 a,
Vector3 b,
Vector3 c) |
static Vector3 |
Triangle.normal(Vector3 a,
Vector3 b,
Vector3 c,
Vector3 optionalTarget) |
Vector3 |
Plane.orthoPoint(Vector3 point) |
Vector3 |
Plane.orthoPoint(Vector3 point,
Vector3 optionalTarget) |
Vector3 |
Vector3.projectOnPlane(Vector3 planeNormal) |
Vector3 |
Vector3.projectOnVector(Vector3 vector) |
Vector3 |
Plane.projectPoint(Vector3 point,
Vector3 optionalTarget) |
Vector3 |
Vector3.reflect(Vector3 normal)
reflect incident vector off plane orthogonal to normal
normal is assumed to have unit length
|
void |
Matrix4.scale(Vector3 v)
Scale the current matrix.
|
Sphere |
Sphere.set(Vector3 center,
double radius) |
Plane |
Plane.set(Vector3 normal,
double constant) |
Ray |
Ray.set(Vector3 origin,
Vector3 direction) |
Line3 |
Line3.set(Vector3 start,
Vector3 end) |
Box3 |
Box3.set(Vector3 min,
Vector3 max) |
Triangle |
Triangle.set(Vector3 a,
Vector3 b,
Vector3 c) |
void |
Triangle.setA(Vector3 a) |
void |
Triangle.setB(Vector3 b) |
void |
Triangle.setC(Vector3 c) |
void |
Sphere.setCenter(Vector3 center) |
void |
Ray.setDirection(Vector3 direction) |
void |
Line3.setEnd(Vector3 end) |
Quaternion |
Quaternion.setFromAxisAngle(Vector3 axis,
double angle)
|
Box3 |
Box3.setFromCenterAndSize(Vector3 center,
Vector3 size) |
Plane |
Plane.setFromCoplanarPoints(Vector3 a,
Vector3 b,
Vector3 c) |
Plane |
Plane.setFromNormalAndCoplanarPoint(Vector3 normal,
Vector3 point) |
Sphere |
Sphere.setFromPoints(java.util.List<Vector3> points,
Vector3 optionalCenter) |
Box3 |
Box3.setFromPoints(Vector3[] points) |
Sphere |
Sphere.setFromPoints(Vector3[] points,
Vector3 optionalCenter) |
Sphere |
Sphere.setFromPoints(Vector3[] points,
Vector3 optionalCenter) |
Quaternion |
Quaternion.setFromUnitVectors(Vector3 vFrom,
Vector3 vTo)
http://lolengine.net/blog/2014/02/24/quaternion-from-two-vectors-final
assumes direction vectors vFrom and vTo are normalized
|
void |
Box3.setMax(Vector3 max) |
void |
Box3.setMin(Vector3 min) |
void |
Plane.setNormal(Vector3 normal) |
void |
Ray.setOrigin(Vector3 origin) |
Matrix4 |
Matrix4.setPosition(Vector3 v)
Setting position values of the current matrix to the values of
input vector.
|
void |
Line3.setStart(Vector3 start) |
Vector3 |
Box3.size(Vector3 optionalTarget) |
Vector3 |
Vector3.sub(Vector3 v) |
Vector3 |
Vector3.sub(Vector3 v1,
Vector3 v2) |
Sphere |
Sphere.translate(Vector3 offset) |
Plane |
Plane.translate(Vector3 offset) |
Box3 |
Box3.translate(Vector3 offset) |
Modifier and Type | Method and Description |
---|---|
Box3 |
Box3.setFromPoints(java.util.List<Vector3> points) |
Sphere |
Sphere.setFromPoints(java.util.List<Vector3> points,
Vector3 optionalCenter) |
Triangle |
Triangle.setFromPointsAndIndices(java.util.List<Vector3> points,
int i0,
int i1,
int i2) |
Constructor and Description |
---|
Box3(Vector3 min,
Vector3 max) |
Line3(Vector3 start,
Vector3 end) |
Plane(Vector3 normal,
double constant) |
Ray(Vector3 origin,
Vector3 direction) |
Sphere(Vector3 center,
double radius) |
Triangle(Vector3 a,
Vector3 b,
Vector3 c) |
Modifier and Type | Method and Description |
---|---|
Vector3 |
DaeTransformVector.getObject() |
Modifier and Type | Method and Description |
---|---|
Vector3 |
LensFlare.getPositionScreen() |