Home
last modified time | relevance | path

Searched refs:Matrix4f (Results 1 – 25 of 92) sorted by relevance

1234

/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/constraints/
DFeature.java4 import com.jme3.math.Matrix4f;
198 Matrix4f m = this.getParentWorldTransformMatrix(); in applyTransform()
200 Matrix4f matrix = this.toMatrix(transform); in applyTransform()
224 Matrix4f m = this.getParentWorldTransformMatrix(); in applyTransform()
252 public Matrix4f getWorldTransformMatrix() { in getWorldTransformMatrix()
254 Matrix4f result = new Matrix4f(); in getWorldTransformMatrix()
260 Matrix4f result = new Matrix4f(); in getWorldTransformMatrix()
269 public Matrix4f getParentWorldTransformMatrix() { in getParentWorldTransformMatrix()
270 Matrix4f result = new Matrix4f(); in getParentWorldTransformMatrix()
292 protected Matrix4f toMatrix(Transform transform) { in toMatrix()
[all …]
DConstraintDistLimit.java4 import com.jme3.math.Matrix4f;
71 Matrix4f targetWorldMatrix = target.getWorldTransformMatrix(); in bakeConstraint()
73 Matrix4f m = this.owner.getParentWorldTransformMatrix(); in bakeConstraint()
75 Matrix4f ownerWorldMatrix = this.owner.getWorldTransformMatrix(); in bakeConstraint()
/external/eigen/doc/snippets/
DSelfAdjointEigenSolver_SelfAdjointEigenSolver.cpp1 SelfAdjointEigenSolver<Matrix4f> es;
2 Matrix4f X = Matrix4f::Random(4,4);
3 Matrix4f A = X + X.transpose();
6 es.compute(A + Matrix4f::Identity(4,4)); // re-use es to compute eigenvalues of A+I
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/animations/
DBoneContext.java8 import com.jme3.math.Matrix4f;
33 private Matrix4f armatureMatrix;
43 private Matrix4f restMatrix;
45 private Matrix4f inverseTotalTransformation;
47 private Matrix4f inverseParentMatrix;
64 …public BoneContext(Structure boneStructure, Matrix4f objectToArmatureMatrix, final Map<Long, Struc… in BoneContext()
85 …private BoneContext(Structure boneStructure, BoneContext parent, Matrix4f objectToArmatureMatrix, … in BoneContext()
110 private void computeRestMatrix(Matrix4f objectToArmatureMatrix) { in computeRestMatrix()
116 inverseParentMatrix = Matrix4f.IDENTITY.clone(); in computeRestMatrix()
174 Matrix4f pose = this.restMatrix.clone(); in buildBone()
/external/jmonkeyengine/engine/src/core/com/jme3/math/
DMatrix4f.java56 public final class Matrix4f implements Savable, Cloneable, java.io.Serializable { class
60 private static final Logger logger = Logger.getLogger(Matrix4f.class.getName());
65 … public static final Matrix4f ZERO = new Matrix4f(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
66 public static final Matrix4f IDENTITY = new Matrix4f();
73 public Matrix4f() { in Matrix4f() method in Matrix4f
80 public Matrix4f(float m00, float m01, float m02, float m03, in Matrix4f() method in Matrix4f
109 public Matrix4f(float[] array) { in Matrix4f() method in Matrix4f
121 public Matrix4f(Matrix4f mat) { in Matrix4f() method in Matrix4f
133 public void copy(Matrix4f matrix) { in copy()
192 Matrix4f transMatrix = vars.tempMat4; in fromFrame()
[all …]
/external/jmonkeyengine/engine/src/core/com/jme3/shadow/
DShadowUtil.java36 import com.jme3.math.Matrix4f;
192 public static BoundingBox computeUnionBound(GeometryList list, Matrix4f mat) { in computeUnionBound()
247 public static BoundingBox computeBoundForPoints(Vector3f[] pts, Matrix4f mat) { in computeBoundForPoints()
287 Matrix4f viewProjMatrix = shadowCam.getViewProjectionMatrix(); in updateShadowCamera()
288 Matrix4f projMatrix = shadowCam.getProjectionMatrix(); in updateShadowCamera()
308 Matrix4f cropMatrix = new Matrix4f(scaleX, 0f, 0f, offsetX, in updateShadowCamera()
314 Matrix4f result = new Matrix4f(); in updateShadowCamera()
364 Matrix4f viewProjMatrix = shadowCam.getViewProjectionMatrix(); in updateShadowCamera()
442 Matrix4f projMatrix = shadowCam.getProjectionMatrix(); in updateShadowCamera()
473 Matrix4f cropMatrix = new Matrix4f(scaleX, 0f, 0f, offsetX, in updateShadowCamera()
[all …]
DPssmShadowUtil.java36 import com.jme3.math.Matrix4f;
75 Matrix4f mat = cam.getViewMatrix(); in computeZFar()
/external/jmonkeyengine/engine/src/core/com/jme3/scene/
DGeometry.java43 import com.jme3.math.Matrix4f;
74 protected transient Matrix4f cachedWorldMat = new Matrix4f();
90 protected Matrix4f cachedOffsetMat = null;
314 cachedOffsetMat = new Matrix4f(); in batch()
346 Matrix4f tmpMat = vars.tempMat42; in computeOffsetTransform()
354 Matrix4f scaleMat = vars.tempMat4; in computeOffsetTransform()
396 Matrix4f scaleMat = vars.tempMat4; in computeWorldMatrix()
412 public Matrix4f getWorldMatrix() { in getWorldMatrix()
DCollisionData.java39 import com.jme3.math.Matrix4f;
49 Matrix4f worldMatrix, in collideWith()
/external/eigen/doc/examples/
Dfunction_taking_ref.cpp14 Matrix4f m = Matrix4f::Random(); in main()
18 cout << "inv_cond(m+I): " << inv_cond(m+Matrix4f::Identity()) << endl; in main()
DTutorial_simple_example_fixed_size.cpp10 Matrix4f m4 = Matrix4f::Identity(); in main()
/external/jmonkeyengine/engine/src/core/com/jme3/renderer/
DRenderer.java37 import com.jme3.math.Matrix4f;
120 public void setWorldMatrix(Matrix4f worldMatrix); in setWorldMatrix()
129 public void setViewProjectionMatrices(Matrix4f viewMatrix, Matrix4f projMatrix); in setViewProjectionMatrices()
DRenderManager.java83 private Matrix4f orthoMatrix = new Matrix4f();
84 private Matrix4f viewMatrix = new Matrix4f();
85 private Matrix4f projMatrix = new Matrix4f();
86 private Matrix4f viewProjMatrix = new Matrix4f();
87 private Matrix4f worldMatrix = new Matrix4f();
340 Matrix4f tempMat4 = vars.tempMat4; in updateUniformBindings()
592 public void setWorldMatrix(Matrix4f mat) { in setWorldMatrix()
633 setWorldMatrix(Matrix4f.IDENTITY); in renderGeometry()
979 viewMatrix.set(Matrix4f.IDENTITY); in setViewProjection()
997 renderer.setViewProjectionMatrices(Matrix4f.IDENTITY, orthoMatrix); in setViewProjection()
DCamera.java198 protected Matrix4f projectionMatrixOverride;
199 protected Matrix4f viewMatrix = new Matrix4f();
200 protected Matrix4f projectionMatrix = new Matrix4f();
201 protected Matrix4f viewProjectionMatrix = new Matrix4f();
394 Matrix4f p = projectionMatrix.clone(); in setClipPlane()
396 Matrix4f ivm = viewMatrix.clone(); in setClipPlane()
1068 public Matrix4f getViewMatrix() { in getViewMatrix()
1079 public void setProjectionMatrix(Matrix4f projMatrix) { in setProjectionMatrix()
1090 public Matrix4f getProjectionMatrix() { in getProjectionMatrix()
1115 public Matrix4f getViewProjectionMatrix() { in getViewProjectionMatrix()
[all …]
/external/jmonkeyengine/engine/src/core/com/jme3/system/
DNullRenderer.java38 import com.jme3.math.Matrix4f;
83 public void setWorldMatrix(Matrix4f worldMatrix) { in setWorldMatrix()
86 public void setViewProjectionMatrices(Matrix4f viewMatrix, Matrix4f projMatrix) { in setViewProjectionMatrices()
/external/jmonkeyengine/engine/src/core/com/jme3/util/
DTempVars.java188 public final Matrix4f tempMat4 = new Matrix4f();
189 public final Matrix4f tempMat42 = new Matrix4f();
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/objects/
DObjectHelper.java44 import com.jme3.math.Matrix4f;
300Matrix4f parentInv = pParent.isNull() ? Matrix4f.IDENTITY : this.getMatrix(objectStructure, "paren… in getTransformation()
303 Matrix4f globalMatrix = new Matrix4f(); in getTransformation()
307 Matrix4f localMatrix = parentInv.mult(globalMatrix); in getTransformation()
342 public Matrix4f getMatrix(Structure structure, String matrixName) { in getMatrix()
356 public Matrix4f getMatrix(Structure structure, String matrixName, boolean applyFixUpAxis) { in getMatrix()
357 Matrix4f result = new Matrix4f(); in getMatrix()
397 public Vector3f getScale(Matrix4f matrix) { in getScale()
/external/jmonkeyengine/engine/src/core/com/jme3/animation/
DSkeleton.java35 import com.jme3.math.Matrix4f;
57 private transient Matrix4f[] skinningMatrixes;
122 skinningMatrixes = new Matrix4f[boneList.length]; in createSkinningMatrices()
124 skinningMatrixes[i] = new Matrix4f(); in createSkinningMatrices()
246 public Matrix4f[] computeSkinningMatrices() { in computeSkinningMatrices()
/external/eigen/test/
Dunalignedassert.cpp40 Matrix4f m;
88 construct_at_boundary<Matrix4f>(16); in unalignedassert()
114 VERIFY_RAISES_ASSERT(construct_at_boundary<Matrix4f>(8)); in unalignedassert()
/external/eigen/doc/
Dtutorial.cpp9 Eigen::Matrix4f m4 = Eigen::Matrix4f::Identity(); in main()
50 Eigen::Matrix4f other = (m4 * m4).lazy(); // forces lazy evaluation in main()
/external/eigen/demos/opengl/
Dcamera.h79 const Eigen::Matrix4f& projectionMatrix(void) const;
90 …Eigen::Vector3f unProject(const Eigen::Vector2f& uv, float depth, const Eigen::Matrix4f& invModelv…
105 mutable Eigen::Matrix4f mProjectionMatrix;
Dcamera.cpp147 Matrix4f mrot, mt, mtm; in rotateAroundTarget()
232 const Matrix4f& Camera::projectionMatrix(void) const in projectionMatrix()
248 Matrix4f inv = mViewMatrix.inverse().matrix(); in unProject()
252 Vector3f Camera::unProject(const Vector2f& uv, float depth, const Matrix4f& invModelview) const in unProject()
/external/eigen/bench/
Dsparse_trisolver.cpp190 Matrix4f m = Matrix4f::Random(); in main()
205 Matrix4f m = Matrix4f::Random(); in main()
/external/jmonkeyengine/engine/src/core/com/jme3/shader/
DUniform.java96 oc.write( (Matrix4f)value, "valueMatrix4", null); in write()
283 Matrix4f m4 = (Matrix4f) value; in setValue()
355 Matrix4f[] m4a = (Matrix4f[]) value; in setValue()
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/renderer/lwjgl/
DLwjglGL1Renderer.java8 import com.jme3.math.Matrix4f;
62 private Matrix4f worldMatrix = new Matrix4f();
63 private Matrix4f viewMatrix = new Matrix4f();
430 private FloatBuffer storeMatrix(Matrix4f matrix, FloatBuffer store) { in storeMatrix()
437 private void setModelView(Matrix4f modelMatrix, Matrix4f viewMatrix){ in setModelView()
447 private void setProjection(Matrix4f projMatrix){ in setProjection()
456 public void setWorldMatrix(Matrix4f worldMatrix) { in setWorldMatrix()
460 public void setViewProjectionMatrices(Matrix4f viewMatrix, Matrix4f projMatrix) { in setViewProjectionMatrices()

1234