Searched defs:translation (Results 1 - 25 of 36) sorted by relevance

12

/external/jmonkeyengine/engine/src/test/jme3test/light/
H A DTestTangentGen.java86 private void addMesh(String name, Mesh mesh, Vector3f translation) { argument
92 testGeom.getLocalTranslation().set(translation);
102 debug.getLocalTranslation().set(translation);
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/constraints/
H A DConstraintLocLimit.java101 * This method modifies the given translation.
102 * @param translation the translation to be modified.
105 private void locLimit(Vector3f translation, float influence) { argument
107 if (translation.x < limits[0][0]) {
108 translation.x -= (translation.x - limits[0][0]) * influence;
112 if (translation.x > limits[0][1]) {
113 translation.x -= (translation
[all...]
/external/webkit/Source/WebCore/svg/
H A DSVGTransformDistance.cpp207 FloatPoint translation = transform.translate(); local
208 translation += FloatSize::narrowPrecision(m_transform.e(), m_transform.f());
209 newTransform.setTranslate(translation.x(), translation.y());
219 // FIXME: I'm not certain the translation is calculated correctly here
H A DSVGSVGElement.cpp220 void SVGSVGElement::setCurrentTranslate(const FloatPoint& translation) argument
222 m_translation = translation;
/external/eigen/Eigen/src/Geometry/
H A DTranslation.h19 * \brief Represents a translation transformation
24 * \note This class is not aimed to be used to store a translation transformation,
70 /** Constructs and initialize the translation transformation from a vector of translation coefficients */
73 /** \brief Retruns the x-translation by value. **/
75 /** \brief Retruns the y-translation by value. **/
77 /** \brief Retruns the z-translation by value. **/
80 /** \brief Retruns the x-translation as a reference. **/
82 /** \brief Retruns the y-translation as a reference. **/
84 /** \brief Retruns the z-translation a
90 const VectorType& translation() const { return m_coeffs; } function in class:Eigen::Translation
91 VectorType& translation() { return m_coeffs; } function in class:Eigen::Translation
[all...]
H A DTransform.h94 * linear & translation\\
210 /** type of a read/write reference to the translation part of the rotation */
212 /** type of a read reference to the translation part of the rotation */
214 /** corresponding translation type */
332 translation() = other.translation();
381 /** \returns a read-only expression of the translation vector of the transformation */
382 inline ConstTranslationPart translation() const { return ConstTranslationPart(m_matrix,0,Dim); } function in class:Eigen::Transform
383 /** \returns a writable expression of the translation vector of the transformation */
384 inline TranslationPart translation() { retur function in class:Eigen::Transform
[all...]
/external/jmonkeyengine/engine/src/core/com/jme3/math/
H A DTransform.java40 * Represents a translation, rotation and scale in one object.
52 private Vector3f translation = new Vector3f(); field in class:Transform
55 public Transform(Vector3f translation, Quaternion rot){ argument
56 this.translation.set(translation);
60 public Transform(Vector3f translation, Quaternion rot, Vector3f scale){ argument
61 this(translation, rot);
65 public Transform(Vector3f translation){ argument
66 this(translation, Quaternion.IDENTITY);
88 * Sets this translation t
[all...]
H A DMatrix4f.java43 * This matrix is intended for use in a translation and rotational capacity.
47 * Matrices are stored assuming column vectors on the right, with the translation
49 * row, third column, which is the "x" translation part. This means that the implicit
107 * An array of 16 floats in column-major format (translation in elements 12, 13 and 14).
873 // translation
1139 * translation. The resulting vector is returned.
1243 * does not add translation. The resulting vector is returned.
1266 * does not add translation. The resulting vector is returned.
1289 * translation. The w value is returned as a result of
1553 // Set up final matrix with scale, rotation and translation
1756 setTranslation(float[] translation) argument
1788 setTranslation(Vector3f translation) argument
1803 setInverseTranslation(float[] translation) argument
[all...]
/external/webkit/Source/WebCore/platform/graphics/transforms/
H A DAffineTransform.h174 static AffineTransform translation(double x, double y) function in class:WebCore::AffineTransform
/external/jmonkeyengine/engine/src/core/com/jme3/animation/
H A DAnimationFactory.java41 * you can add some keyFrames for a given time or a given keyFrameIndex, for translation rotation and scale.
203 * Adds a key frame for the given translation at the given time
205 * @param translation the translation to use for this keyFrame
207 public void addTimeTranslation(float time, Vector3f translation) { argument
208 addKeyFrameTranslation((int) (time / tpf), translation);
212 * Adds a key frame for the given translation at the given keyFrame index
214 * @param translation the translation to use for this keyFrame
216 public void addKeyFrameTranslation(int keyFrameIndex, Vector3f translation) { argument
[all...]
H A DBone.java335 //translation
425 // Computing translation
437 public void setUserTransforms(Vector3f translation, Quaternion rotation, Vector3f scale) { argument
446 localPos.addLocal(translation);
453 * @param translation
456 public void setUserTransformsWorld(Vector3f translation, Quaternion rotation) { argument
462 worldPos.set(translation);
467 attachNode.setLocalTranslation(translation);
508 void setAnimTransforms(Vector3f translation, Quaternion rotation, Vector3f scale) { argument
513 // localPos.addLocal(translation);
525 blendAnimTransforms(Vector3f translation, Quaternion rotation, Vector3f scale, float weight) argument
559 setBindTransforms(Vector3f translation, Quaternion rotation, Vector3f scale) argument
[all...]
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/
H A DLODGeomap.java941 protected Triangle getTriangleAtPoint(float x, float z, Vector3f scale, Vector3f translation) { argument
944 tri.get1().multLocal(scale).addLocal(translation);
945 tri.get2().multLocal(scale).addLocal(translation);
946 tri.get3().multLocal(scale).addLocal(translation);
958 * @param translation
961 protected Triangle[] getGridTrianglesAtPoint(float x, float z, Vector3f scale, Vector3f translation) { argument
964 tris[0].get1().multLocal(scale).addLocal(translation);
965 tris[0].get2().multLocal(scale).addLocal(translation);
966 tris[0].get3().multLocal(scale).addLocal(translation);
967 tris[1].get1().multLocal(scale).addLocal(translation);
[all...]
H A DTerrainQuad.java1705 public void getAllTerrainPatchesWithTranslation(Map<TerrainPatch,Vector3f> holder, Vector3f translation) { argument
1710 ((TerrainQuad) child).getAllTerrainPatchesWithTranslation(holder, translation.clone().add(child.getLocalTranslation()));
1713 holder.put((TerrainPatch)child, translation.clone().add(child.getLocalTranslation()));
/external/qemu/
H A Dblockdev.c144 int cyls, heads, secs, translation; local
158 translation = BIOS_ATA_TRANSLATION_AUTO;
244 translation = BIOS_ATA_TRANSLATION_NONE;
246 translation = BIOS_ATA_TRANSLATION_LBA;
248 translation = BIOS_ATA_TRANSLATION_AUTO;
250 fprintf(stderr, "qemu: '%s' invalid translation type\n", buf);
435 bdrv_set_translation_hint(dinfo->bdrv, translation);
H A Dblock_int.h193 int cyls, heads, secs, translation; member in struct:BlockDriverState
/external/webkit/Source/WebCore/platform/graphics/win/
H A DFontCGWin.cpp202 FloatSize translation = glyphBuffer.offsetAt(from); local
203 if (translation.width() || translation.height()) {
209 xform.eDx = translation.width();
210 xform.eDy = translation.height();
353 FloatSize translation = glyphBuffer.offsetAt(from); local
371 float shadowTextX = point.x() + translation.width() + shadowOffset.width();
373 float shadowTextY = point.y() + translation.height() + shadowOffset.height() * (graphicsContext->shadowsIgnoreTransforms() ? -1 : 1);
377 CGContextSetTextPosition(cgContext, point.x() + translation.width() + shadowOffset.width() + font->syntheticBoldOffset(), point.y() + translation
[all...]
/external/bison/lib/
H A Dquotearg.c163 /* MSGID approximates a quotation mark. Return its translation if it
168 char const *translation = _(msgid); local
169 if (translation == msgid && s == clocale_quoting_style)
170 translation = "\"";
171 return translation;
230 "'". If the catalog has no translation,
/external/eigen/Eigen/src/Eigen2Support/Geometry/
H A DTransform.h63 /** type of a read/write reference to the translation part of the rotation */
65 /** type of a read/write reference to the translation part of the rotation */
67 /** corresponding translation type */
108 transform->translation().setZero();
152 /** \returns a read-only expression of the translation vector of the transformation */
153 inline ConstTranslationPart translation() const { return m_matrix.template block<Dim,1>(0,Dim); } function in class:Eigen::Transform
154 /** \returns a writable expression of the translation vector of the transformation */
155 inline TranslationPart translation() { return m_matrix.template block<Dim,1>(0,Dim); } function in class:Eigen::Transform
426 /** Applies on the right the translation matrix represented by the vector \a other
436 translation()
[all...]
/external/quake/quake/src/QW/client/
H A Ddraw.c533 void Draw_TransPicTranslate (int x, int y, qpic_t *pic, byte *translation) argument
557 dest[u] = translation[tbyte];
570 dest[u] = translation[tbyte];
572 dest[u+1] = translation[tbyte];
574 dest[u+2] = translation[tbyte];
576 dest[u+3] = translation[tbyte];
578 dest[u+4] = translation[tbyte];
580 dest[u+5] = translation[tbyte];
582 dest[u+6] = translation[tbyte];
584 dest[u+7] = translation[tbyt
[all...]
H A Dgl_draw.c745 void Draw_TransPicTranslate (int x, int y, qpic_t *pic, byte *translation) argument
766 dest[u] = d_8to24table[translation[p]];
/external/quake/quake/src/WinQuake/
H A Ddraw.cpp427 void Draw_TransPicTranslate (int x, int y, qpic_t *pic, byte *translation) argument
451 dest[u] = translation[tbyte];
464 dest[u] = translation[tbyte];
466 dest[u+1] = translation[tbyte];
468 dest[u+2] = translation[tbyte];
470 dest[u+3] = translation[tbyte];
472 dest[u+4] = translation[tbyte];
474 dest[u+5] = translation[tbyte];
476 dest[u+6] = translation[tbyte];
478 dest[u+7] = translation[tbyt
[all...]
/external/webkit/Source/WebCore/platform/graphics/cg/
H A DPathCG.cpp157 CGAffineTransform translation = CGAffineTransformMake(1, 0, 0, 1, size.width(), size.height()); local
159 CGPathAddPath(newPath, &translation, m_path);
/external/e2fsprogs/intl/
H A Ddcigettext.c236 /* And finally the translation. */
237 const char *translation; member in struct:known_translation_t
311 const char *translation, size_t translation_len)
480 /* Try to find the translation among those which we found at
494 retval = plural_lookup ((*foundp)->domain, n, (*foundp)->translation,
497 retval = (char *) (*foundp)->translation;
580 got an ordered list of languages to consider for the translation. */
590 by implicitly appending a "C" entry, i.e. no translation
642 /* Found the translation of MSGID1 in domain DOMAIN:
662 newp->translation
1033 plural_lookup(struct loaded_l10nfile *domain, unsigned long int n, const char *translation, size_t translation_len) argument
[all...]
/external/webkit/Source/WebCore/platform/graphics/android/layers/
H A DLayerAndroid.cpp349 FloatPoint LayerAndroid::translation() const function in class:WebCore::LayerAndroid
428 // adjust the translation coordinates of the draw transform matrix so
434 ALOGV("fudging translation from %f, %f to %f, %f",
/external/qemu/hw/
H A Dpc.c370 int cylinders, heads, sectors, translation; local
374 geometry can be different if a translation is done. */
375 translation = bdrv_get_translation_hint(hd_table[i]);
376 if (translation == BIOS_ATA_TRANSLATION_AUTO) {
379 /* No translation. */
380 translation = 0;
382 /* LBA translation. */
383 translation = 1;
386 translation--;
388 val |= translation << (
[all...]

Completed in 527 milliseconds

12