Searched refs:geometry (Results 1 - 25 of 48) sorted by relevance

12

/external/jmonkeyengine/engine/src/core/com/jme3/collision/
H A DCollisionResult.java49 private Geometry geometry; field in class:CollisionResult
55 public CollisionResult(Geometry geometry, Vector3f contactPoint, float distance, int triangleIndex) { argument
56 this.geometry = geometry;
71 this.geometry = geom;
94 Mesh m = geometry.getMesh();
131 return geometry;
/external/skia/src/gpu/
H A DGrRectBatch.cpp52 static GrBatch* Create(const Geometry& geometry) { argument
53 return SkNEW_ARGS(RectBatch, (geometry));
59 // When this is called on a batch, there is only one geometry bundle
164 RectBatch(const Geometry& geometry) { argument
166 fGeoData.push_back(geometry);
168 fBounds = geometry.fRect;
169 geometry.fViewMatrix.mapRect(&fBounds);
228 RectBatch::Geometry geometry; local
229 geometry.fColor = color;
230 geometry
[all...]
H A DGrOvalRenderer.cpp65 * vec2f : position in device space of the bounding geometry vertices
659 static GrBatch* Create(const Geometry& geometry) { return SkNEW_ARGS(CircleBatch, (geometry)); } argument
664 // When this is called on a batch, there is only one geometry bundle
694 // Setup geometry processor
759 CircleBatch(const Geometry& geometry) { argument
761 fGeoData.push_back(geometry);
763 this->setBounds(geometry.fDevBounds);
843 CircleBatch::Geometry geometry; local
844 geometry
882 Create(const Geometry& geometry) argument
988 EllipseBatch(const Geometry& geometry) argument
1107 EllipseBatch::Geometry geometry; local
1155 Create(const Geometry& geometry, const SkRect& bounds) argument
1252 DIEllipseBatch(const Geometry& geometry, const SkRect& bounds) argument
1358 DIEllipseBatch::Geometry geometry; local
1513 Create(const Geometry& geometry) argument
1636 RRectCircleRendererBatch(const Geometry& geometry) argument
1695 Create(const Geometry& geometry) argument
1828 RRectEllipseRendererBatch(const Geometry& geometry) argument
1961 RRectCircleRendererBatch::Geometry geometry; local
2009 RRectEllipseRendererBatch::Geometry geometry; local
[all...]
H A DGrAARectRenderer.cpp57 static GrBatch* Create(const Geometry& geometry) { argument
58 return SkNEW_ARGS(AAFillRectBatch, (geometry));
64 // When this is called on a batch, there is only one geometry bundle
147 AAFillRectBatch(const Geometry& geometry) { argument
149 fGeoData.push_back(geometry);
151 this->setBounds(geometry.fDevRect);
325 AAFillRectBatch::Geometry geometry; local
326 geometry.fRect = rect;
327 geometry.fViewMatrix = viewMatrix;
328 geometry
412 Create(const Geometry& geometry, const SkMatrix& viewMatrix) argument
512 AAStrokeRectBatch(const Geometry& geometry, const SkMatrix& viewMatrix) argument
794 AAStrokeRectBatch::Geometry geometry; local
[all...]
H A DGrDefaultPathRenderer.cpp222 static GrBatch* Create(const Geometry& geometry, uint8_t coverage, const SkMatrix& viewMatrix, argument
224 return SkNEW_ARGS(DefaultPathBatch, (geometry, coverage, viewMatrix, isHairline,
231 // When this is called on a batch, there is only one geometry bundle
384 DefaultPathBatch(const Geometry& geometry, uint8_t coverage, const SkMatrix& viewMatrix, argument
390 fGeoData.push_back(geometry);
695 DefaultPathBatch::Geometry geometry; local
696 geometry.fColor = color;
697 geometry.fPath = path;
698 geometry.fTolerance = srcSpaceTol;
700 SkAutoTUnref<GrBatch> batch(DefaultPathBatch::Create(geometry, newCoverag
765 DefaultPathBatch::Geometry geometry; local
[all...]
H A DGrContext.cpp407 static GrBatch* Create(const Geometry& geometry, bool snapToPixelCenters) { argument
408 return SkNEW_ARGS(StrokeRectBatch, (geometry, snapToPixelCenters));
414 // When this is called on a batch, there is only one geometry bundle
504 StrokeRectBatch(const Geometry& geometry, bool snapToPixelCenters) { argument
507 fBatch.fHairline = geometry.fStrokeWidth == 0;
509 fGeoData.push_back(geometry);
512 fBounds = geometry.fRect;
513 SkScalar rad = SkScalarHalf(geometry.fStrokeWidth);
515 geometry.fViewMatrix.mapRect(&fBounds);
663 StrokeRectBatch::Geometry geometry; local
744 Create(const Geometry& geometry, GrPrimitiveType primitiveType, const SkMatrix& viewMatrix, const SkPoint* positions, int vertexCount, const uint16_t* indices, int indexCount, const GrColor* colors, const SkPoint* localCoords, const SkRect& bounds) argument
873 DrawVerticesBatch(const Geometry& geometry, GrPrimitiveType primitiveType, const SkMatrix& viewMatrix, const SkPoint* positions, int vertexCount, const uint16_t* indices, int indexCount, const GrColor* colors, const SkPoint* localCoords, const SkRect& bounds) argument
1024 DrawVerticesBatch::Geometry geometry; local
1889 StrokeRectBatch::Geometry geometry; local
1999 DrawVerticesBatch::Geometry geometry; local
[all...]
H A DGrAADistanceFieldPathRenderer.cpp142 static GrBatch* Create(const Geometry& geometry, GrColor color, const SkMatrix& viewMatrix, argument
144 return SkNEW_ARGS(AADistanceFieldPathBatch, (geometry, color, viewMatrix,
293 AADistanceFieldPathBatch(const Geometry& geometry, GrColor color, const SkMatrix& viewMatrix, argument
299 fGeoData.push_back(geometry);
307 fBounds = geometry.fPath.getBounds();
600 AADistanceFieldPathBatch::Geometry geometry(stroke.getStrokeRec());
601 geometry.fPath = path;
602 geometry.fAntiAlias = antiAlias;
604 SkAutoTUnref<GrBatch> batch(AADistanceFieldPathBatch::Create(geometry, color, viewMatrix,
670 AADistanceFieldPathBatch::Geometry geometry(GrTes
[all...]
H A DGrAAHairLinePathRenderer.cpp687 static GrBatch* Create(const Geometry& geometry) { argument
688 return SkNEW_ARGS(AAHairlineBatch, (geometry));
694 // When this is called on a batch, there is only one geometry bundle
726 AAHairlineBatch(const Geometry& geometry) { argument
728 fGeoData.push_back(geometry);
731 fBounds = geometry.fPath.getBounds();
732 geometry.fViewMatrix.mapRect(&fBounds);
811 // Setup geometry processors for worst case
983 AAHairlineBatch::Geometry geometry; local
984 geometry
[all...]
/external/apache-commons-math/src/main/java/org/apache/commons/math/geometry/
H A DCardanEulerSingularityException.java18 package org.apache.commons.math.geometry;
H A DNotARotationMatrixException.java18 package org.apache.commons.math.geometry;
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/meshes/
H A DMeshContext.java86 * @param geometry
91 public void addUVCoordinates(Geometry geometry, VertexBuffer vertexBuffer) { argument
92 uvCoordinates.put(geometry, vertexBuffer);
98 * @param geometry
102 public VertexBuffer getUVCoordinates(Geometry geometry) { argument
103 return uvCoordinates.get(geometry);
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/util/
H A DDebugShapeFactory.java76 Geometry geometry = createDebugShape(ccollisionShape);
79 geometry.setLocalTranslation(childCollisionShape.location);
85 tempRot.set(geometry.getLocalRotation());
87 geometry.setLocalRotation(tempRot);
91 node.attachChild(geometry);
/external/jmonkeyengine/engine/src/test/jme3test/bullet/
H A DTestCollisionShapeFactory.java88 //test single geometry too
110 Geometry geometry = boxes[i];
111 geometry.setLocalTranslation((float) Math.random() * 10 -10, (float) Math.random() * 10 -10, (float) Math.random() * 10 -10);
112 geometry.setLocalRotation(new Quaternion().fromAngles((float) Math.random() * FastMath.PI, (float) Math.random() * FastMath.PI, (float) Math.random() * FastMath.PI));
113 geometry.setLocalScale((float) Math.random() * 10 -10, (float) Math.random() * 10 -10, (float) Math.random() * 10 -10);
114 geometry.setMaterial(mat);
115 node.attachChild(geometry);
/external/jmonkeyengine/engine/src/core/com/jme3/scene/
H A DSimpleBatchNode.java44 batch.geometry.setTransformRefresh();
H A DBatchNode.java55 * There is one geometry per different material in the sub tree.
59 * all the geometry that have been batched are set to {@link CullHint#Always} to not render them.
73 * the map of geometry holding the batched meshes
122 batch.geometry.getMesh().updateBound();
123 batch.geometry.updateWorldBound();
146 Mesh mesh = batch.geometry.getMesh();
172 * every geometry of the sub scene graph of this node will be batched into a single mesh that will be rendered in one call
178 batch.geometry.setIgnoreTransform(true);
190 batch.geometry.removeFromParent();
200 list.add(batches.get(material).geometry);
643 Geometry geometry; field in class:BatchNode.Batch
[all...]
/external/skia/gm/
H A Dconvexpolyeffect.cpp68 // conservative bounding geometry.
191 ConvexPolyTestBatch::Geometry geometry; variable
192 geometry.fColor = color;
193 geometry.fBounds = p.getBounds();
195 SkAutoTUnref<GrBatch> batch(ConvexPolyTestBatch::Create(gp, geometry));
240 ConvexPolyTestBatch::Geometry geometry; variable
241 geometry.fColor = color;
242 geometry.fBounds = rect;
244 SkAutoTUnref<GrBatch> batch(ConvexPolyTestBatch::Create(gp, geometry));
H A Dbeziereffects.cpp225 BezierCubicOrConicTestBatch::Geometry geometry; variable
226 geometry.fColor = color;
227 geometry.fBounds = bounds;
230 BezierCubicOrConicTestBatch::Create(gp, geometry, klmEqs, klmSigns[c]));
370 BezierCubicOrConicTestBatch::Geometry geometry; variable
371 geometry.fColor = color;
372 geometry.fBounds = bounds;
375 BezierCubicOrConicTestBatch::Create(gp, geometry, klmEqs, 1.f));
609 BezierQuadTestBatch::Geometry geometry; variable
610 geometry
[all...]
/external/gptfdisk/
H A Ddiskio-unix.cc185 struct hd_geometry geometry; local
191 if (!ioctl(fd, HDIO_GETGEO, &geometry))
192 numHeads = (uint32_t) geometry.heads;
203 struct hd_geometry geometry; local
209 if (!ioctl(fd, HDIO_GETGEO, &geometry))
210 numSecs = (uint32_t) geometry.sectors;
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/modifiers/
H A DMirrorModifier.java154 Geometry geometry = new Geometry(null, clone);
155 geometry.setMaterial(((Geometry) spatial).getMaterial());
156 geometriesToAdd.add(geometry);
161 for (Geometry geometry : geometriesToAdd) {
162 node.attachChild(geometry);
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/util/
H A DDebugShapeFactory.java85 Geometry geometry = createDebugShape(ccollisionShape);
88 geometry.setLocalTranslation(childCollisionShape.location);
95 tempRot.set(geometry.getLocalRotation());
97 geometry.setLocalRotation(tempRot);
101 node.attachChild(geometry);
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/
H A DUVCoordinatesGenerator.java187 for (Geometry geometry : geometries) {
188 mesh = geometry.getMesh();
204 for (Geometry geometry : geometries) {
205 BoundingBox bb = UVCoordinatesGenerator.getBoundingBox(geometry.getMesh());
243 for (Geometry geometry : geometries) {
244 BoundingSphere bs = UVCoordinatesGenerator.getBoundingSphere(geometry.getMesh());
315 for (Geometry geometry : geometries) {
316 BoundingTube bt = UVCoordinatesGenerator.getBoundingTube(geometry.getMesh());
/external/kernel-headers/original/uapi/linux/
H A Dvirtio_blk.h36 #define VIRTIO_BLK_F_GEOMETRY 4 /* Legacy geometry available */
59 /* geometry the device (if VIRTIO_BLK_F_GEOMETRY) */
64 } geometry; member in struct:virtio_blk_config
/external/libvncserver/x11vnc/misc/
H A Ddesktop.cgi351 # geometry and session are ignored when they are returning to their
356 # Used below if user did not specify preferred geometry and color depth:
373 # select which one he wants. For now we just hack this onto geometry
400 <input type="text" name="geometry" maxlength="40" value="_GEOMETRY_">
450 # anyway (set to 'W' or 'H' to use actual session geometry values):
515 # we hide it in geometry:tag for now:
517 if ($enable_unique_tags && $request{geometry} =~ /^(.*):(\w+)$/) {
518 $request{geometry} = $1;
522 # Check/set geometry and session:
524 if (!exists $request{geometry} ||
[all...]
/external/skia/src/gpu/effects/
H A DGrDashingEffect.cpp238 * Bounding geometry is rendered and the effect computes coverage based on the fragment's
260 static GrBatch* Create(const Geometry& geometry, SkPaint::Cap cap, DashAAMode aaMode, argument
262 return SkNEW_ARGS(DashBatch, (geometry, cap, aaMode, fullDash));
268 // When this is called on a batch, there is only one geometry bundle
372 // Otherwise we'd have to track start / end rects for each individual geometry
608 DashBatch(const Geometry& geometry, SkPaint::Cap cap, DashAAMode aaMode, bool fullDash) { argument
610 fGeoData.push_back(geometry);
617 SkScalar halfStrokeWidth = 0.5f * geometry.fSrcStrokeWidth;
619 fBounds.set(geometry.fPtsRot[0], geometry
689 DashBatch::Geometry geometry; local
[all...]
/external/jmonkeyengine/engine/src/tools/jme3tools/optimize/
H A DTextureAtlas.java78 * to the atlas. You can access the information for each texture or geometry texture via helper methods.</p>
80 * <p>The TextureAtlas also allows you to change the texture coordinates of a mesh or geometry
93 * Create one geometry out of several geometries that are loaded from a j3o file:
99 * Create a texture atlas and change the texture coordinates of one geometry:
111 * //change one geometry to use atlas, apply texture coordinates and replace material.
140 * @param geometry
143 public boolean addGeometry(Geometry geometry) { argument
144 Texture diffuse = getMaterialTexture(geometry, "DiffuseMap");
145 Texture normal = getMaterialTexture(geometry, "NormalMap");
146 Texture specular = getMaterialTexture(geometry, "SpecularMa
543 getMaterialTexture(Geometry geometry, String mapName) argument
[all...]

Completed in 1799 milliseconds

12