Home
last modified time | relevance | path

Searched refs:Geometry (Results 1 – 25 of 215) sorted by relevance

123456789

/external/eigen/Eigen/
DGeometry16 /** \defgroup Geometry_Module Geometry module
29 * #include <Eigen/Geometry>
33 #include "src/Geometry/OrthoMethods.h"
34 #include "src/Geometry/EulerAngles.h"
37 #include "src/Geometry/Homogeneous.h"
38 #include "src/Geometry/RotationBase.h"
39 #include "src/Geometry/Rotation2D.h"
40 #include "src/Geometry/Quaternion.h"
41 #include "src/Geometry/AngleAxis.h"
42 #include "src/Geometry/Transform.h"
[all …]
/external/jmonkeyengine/engine/src/core/com/jme3/renderer/queue/
DGeometryList.java36 import com.jme3.scene.Geometry;
51 private Geometry[] geometries;
52 private Geometry[] geometries2;
64 geometries = new Geometry[DEFAULT_SIZE]; in GeometryList()
65 geometries2 = new Geometry[DEFAULT_SIZE]; in GeometryList()
94 public Geometry get(int index){ in get()
105 public void add(Geometry g) { in add()
107 Geometry[] temp = new Geometry[size * 2]; in add()
111 geometries2 = new Geometry[size * 2]; in add()
DTransparentComparator.java37 import com.jme3.scene.Geometry;
56 private float distanceToCam2(Geometry spat){ in distanceToCam2()
85 private float distanceToCam(Geometry spat){ in distanceToCam()
91 public int compare(Geometry o1, Geometry o2) { in compare()
/external/jmonkeyengine/engine/src/test/jme3test/bullet/
DPhysicsTestHelper.java21 import com.jme3.scene.Geometry;
49 Geometry floorGeometry = new Geometry("Floor", floorBox); in createPhysicsTestWorld()
62 Geometry boxGeometry = new Geometry("Box", box); in createPhysicsTestWorld()
73 Geometry sphereGeometry = new Geometry("Sphere", sphere); in createPhysicsTestWorld()
91 Geometry floorGeometry = new Geometry("Floor", floorBox); in createPhysicsTestWorldSoccer()
104 Geometry ballGeometry = new Geometry("Soccer ball", sphere); in createPhysicsTestWorldSoccer()
116 Geometry boxGeometry = new Geometry("Box", box); in createPhysicsTestWorldSoccer()
130 public static Geometry createPhysicsTestBox(AssetManager assetManager) { in createPhysicsTestBox()
134 Geometry boxGeometry = new Geometry("Box", box); in createPhysicsTestBox()
146 public static Geometry createPhysicsTestSphere(AssetManager assetManager) { in createPhysicsTestSphere()
[all …]
DTestCollisionShapeFactory.java42 import com.jme3.scene.Geometry;
89 Geometry myGeom = new Geometry("cylinder", new Cylinder(16, 16, 0.5f, 1)); in simpleInitApp()
101 Geometry[] boxes = new Geometry[]{ in attachRandomGeometry()
102 new Geometry("box1", box), in attachRandomGeometry()
103 new Geometry("box2", box), in attachRandomGeometry()
104 new Geometry("box3", box), in attachRandomGeometry()
105 new Geometry("torus1", torus), in attachRandomGeometry()
106 new Geometry("torus2", torus), in attachRandomGeometry()
107 new Geometry("torus3", torus) in attachRandomGeometry()
110 Geometry geometry = boxes[i]; in attachRandomGeometry()
/external/jmonkeyengine/engine/src/tools/jme3tools/optimize/
DOctree.java44 import com.jme3.scene.Geometry;
56 private final Geometry[] geoms;
63 private static List<Geometry> getGeometries(Spatial scene){ in getGeometries()
64 if (scene instanceof Geometry){ in getGeometries()
65 List<Geometry> geomList = new ArrayList<Geometry>(1); in getGeometries()
66 geomList.add((Geometry) scene); in getGeometries()
70 List<Geometry> geoms = new ArrayList<Geometry>(); in getGeometries()
83 List<Geometry> geomsList = getGeometries(scene); in Octree()
84 geoms = new Geometry[geomsList.size()]; in Octree()
88 for (Geometry geom : geoms){ in Octree()
[all …]
DGeometryBatchFactory.java96 public static void mergeGeometries(Collection<Geometry> geometries, Mesh outMesh) { in mergeGeometries()
105 for (Geometry geom : geometries) { in mergeGeometries()
176 for (Geometry geom : geometries) { in mergeGeometries()
227 public static void makeLods(Collection<Geometry> geometries, Mesh outMesh) { in makeLods()
231 for (Geometry g : geometries) { in makeLods()
253 for (Geometry g : geometries) { in makeLods()
276 public static List<Geometry> makeBatches(Collection<Geometry> geometries) { in makeBatches()
285 public static List<Geometry> makeBatches(Collection<Geometry> geometries, boolean useLods) { in makeBatches()
286 ArrayList<Geometry> retVal = new ArrayList<Geometry>(); in makeBatches()
287 HashMap<Material, List<Geometry>> matToGeom = new HashMap<Material, List<Geometry>>(); in makeBatches()
[all …]
DTestCollector.java36 import com.jme3.scene.Geometry;
45 Geometry g = new Geometry("quad", new Quad(2,2)); in main()
46 Geometry g2 = new Geometry("quad", new Quad(2,2)); in main()
50 List<Geometry> firstOne = TriangleCollector.gatherTris(new Geometry[]{ g, g2 }, tris); in main()
DOctnode.java46 import com.jme3.scene.Geometry;
66 Geometry[] geoms;
173 public void createFastOctnode(List<Geometry> globalGeomList){ in createFastOctnode()
177 Collection<Geometry> geomsColl = Arrays.asList(geoms); in createFastOctnode()
178 List<Geometry> myOptimizedList = GeometryBatchFactory.makeBatches(geomsColl); in createFastOctnode()
212 private void generateRenderSetNoCheck(Set<Geometry> renderSet, Camera cam){ in generateRenderSetNoCheck()
223 public void generateRenderSet(Set<Geometry> renderSet, Camera cam){ in generateRenderSet()
245 public void collectTriangles(Geometry[] inGeoms){ in collectTriangles()
247 List<Geometry> geomsList = TriangleCollector.gatherTris(inGeoms, tris); in collectTriangles()
248 geoms = new Geometry[geomsList.size()]; in collectTriangles()
[all …]
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/meshes/
DMeshContext.java4 import com.jme3.scene.Geometry;
17 private List<Geometry> mesh;
23 private Map<Geometry, VertexBuffer> uvCoordinates = new HashMap<Geometry, VertexBuffer>();
30 public List<Geometry> getMesh() { in getMesh()
40 public void setMesh(List<Geometry> mesh) { in setMesh()
91 public void addUVCoordinates(Geometry geometry, VertexBuffer vertexBuffer) { in addUVCoordinates()
102 public VertexBuffer getUVCoordinates(Geometry geometry) { in getUVCoordinates()
/external/skia/include/core/
DSkDeviceProperties.h17 struct Geometry { struct
79 static Geometry MakeDefault() { in MakeDefault() argument
82 Geometry ret = { SkToU8(orientation | layout) }; in MakeDefault()
86 static Geometry Make(Orientation orientation, Layout layout) { in Make() argument
87 Geometry ret = { SkToU8(orientation | layout) }; in Make()
95 SkDeviceProperties ret = { Geometry::MakeDefault(), SK_GAMMA_EXPONENT }; in MakeDefault()
99 static SkDeviceProperties Make(Geometry geometry, SkScalar gamma) { in Make()
106 Geometry fGeometry;
/external/jmonkeyengine/engine/src/test/jme3test/light/
DTestTangentGenBadUV.java42 import com.jme3.scene.Geometry;
51 Geometry lightMdl;
61 if (teapot instanceof Geometry){ in simpleInitApp()
62 Geometry g = (Geometry) teapot; in simpleInitApp()
72 Geometry debug = new Geometry( in simpleInitApp()
74 TangentBinormalGenerator.genTbnLines(((Geometry) teapot).getMesh(), 0.03f) in simpleInitApp()
89 lightMdl = new Geometry("Light", new Sphere(10, 10, 0.1f)); in simpleInitApp()
/external/jmonkeyengine/engine/src/test/jme3test/helloworld/
DHelloMaterial.java42 import com.jme3.scene.Geometry;
63 Geometry cube = new Geometry("My Textured Box", boxshape1); in simpleInitApp()
72 Geometry window_frame = new Geometry("window frame", boxshape3); in simpleInitApp()
82 Geometry cube_leak = new Geometry("Leak-through color cube", boxshape4); in simpleInitApp()
92 Geometry shiny_rock = new Geometry("Shiny rock", rock); in simpleInitApp()
DHelloPicking.java49 import com.jme3.scene.Geometry;
64 Geometry mark;
127 protected Geometry makeCube(String name, float x, float y, float z) { in makeCube()
129 Geometry cube = new Geometry(name, box); in makeCube()
137 protected Geometry makeFloor() { in makeFloor()
139 Geometry floor = new Geometry("the Floor", box); in makeFloor()
149 mark = new Geometry("BOOM!", sphere); in initMark()
DHelloNode.java39 import com.jme3.scene.Geometry;
58 Geometry blue = new Geometry("Box", box1); in simpleInitApp()
66 Geometry red = new Geometry("Box", box2); in simpleInitApp()
/external/jmonkeyengine/engine/src/test/jme3test/tools/
DTestOctree.java46 import com.jme3.scene.Geometry;
63 private Geometry[] globalGeoms;
66 private Set<Geometry> renderSet = new HashSet<Geometry>(300);
108 ArrayList<Geometry> globalGeomList = new ArrayList<Geometry>(); in simpleInitApp()
112 for (Geometry geom : globalGeomList){ in simpleInitApp()
118 globalGeoms = globalGeomList.toArray(new Geometry[0]); in simpleInitApp()
145 for (Geometry geom : renderSet){ in postQueue()
/external/jmonkeyengine/engine/src/test/jme3test/collision/
DTestMousePick.java44 import com.jme3.scene.Geometry;
58 Geometry mark;
109 protected Geometry makeCube(String name, float x, float y, float z) { in makeCube()
111 Geometry cube = new Geometry(name, box); in makeCube()
119 protected Geometry makeFloor() { in makeFloor()
121 Geometry floor = new Geometry("the Floor", box); in makeFloor()
134 mark = new Geometry("BOOM!", arrow); in initMark()
/external/jmonkeyengine/engine/src/test/jme3test/model/shape/
DTestBillboard.java39 import com.jme3.scene.Geometry;
55 Geometry g = new Geometry("Quad", q); in simpleInitApp()
61 Geometry g3 = new Geometry("Quad2", q2); in simpleInitApp()
68 Geometry g2 = new Geometry("Box", b); in simpleInitApp()
DTestCustomMesh.java40 import com.jme3.scene.Geometry;
91 Geometry geom = new Geometry("OurMesh", m); in simpleInitApp()
103 Geometry coloredMesh = new Geometry ("ColoredMesh", cMesh); in simpleInitApp()
144 Geometry wfGeom = new Geometry("wireframeGeometry", wfMesh); in simpleInitApp()
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/curves/
DCurvesHelper.java7 import com.jme3.scene.Geometry;
63 …public List<Geometry> toCurve(Structure curveStructure, BlenderContext blenderContext) throws Blen… in toCurve()
100 List<Geometry> bevelObject = null; in toCurve()
147 bevelObject = new ArrayList<Geometry>(1); in toCurve()
148 bevelObject.add(new Geometry("", bevelCurve)); in toCurve()
154 bevelObject = new ArrayList<Geometry>(1); in toCurve()
155 bevelObject.add(new Geometry("", bevelCurve)); in toCurve()
170 List<Geometry> result = new ArrayList<Geometry>(nurbs.size()); in toCurve()
174 List<Geometry> nurbGeoms = null; in toCurve()
181 for (Geometry nurbGeom : nurbGeoms) { in toCurve()
[all …]
/external/jmonkeyengine/engine/src/test/jme3test/games/
DCubeField.java47 import com.jme3.scene.Geometry;
71 private Geometry fcube;
72 private ArrayList<Geometry> cubeField;
105 cubeField = new ArrayList<Geometry>(); in simpleInitApp()
120 for (Geometry cube : cubeField){ in gameReset()
177 Geometry cube = fcube.clone(); in randomizeCube()
198 private Geometry createFirstCube() { in createFirstCube()
203 Geometry geom = new Geometry("Box", b); in createFirstCube()
213 Geometry playerMesh = new Geometry("Box", b); in createPlayer()
222 Geometry floorMesh = new Geometry("Box", floor); in createPlayer()
[all …]
/external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/util/
DCollisionShapeFactory.java105 } else if (spatial instanceof Geometry) { in createCompoundShape()
113 ? createSingleDynamicMeshShape((Geometry) spatial, realRootNode) in createCompoundShape()
114 : createSingleMeshShape((Geometry) spatial, realRootNode); in createCompoundShape()
170 } else if (spatial instanceof Geometry) { in createMeshShape()
171 return createSingleMeshShape((Geometry) spatial, spatial); in createMeshShape()
185 if (spatial instanceof Geometry) { in createDynamicMeshShape()
186 return createSingleDynamicMeshShape((Geometry) spatial, spatial); in createDynamicMeshShape()
196 if (spatial instanceof Geometry) { in createBoxShape()
197 return createSingleBoxShape((Geometry) spatial, spatial); in createBoxShape()
210 private static MeshCollisionShape createSingleMeshShape(Geometry geom, Spatial parent) { in createSingleMeshShape()
[all …]
/external/jmonkeyengine/engine/src/test/jme3test/conversion/
DTestTriangleStrip.java39 import com.jme3.scene.Geometry;
52 Geometry teaGeom = (Geometry) assetManager.loadModel("Models/Teapot/Teapot.obj"); in simpleInitApp()
61 Geometry teaClone = new Geometry("teapot", teaMesh); in simpleInitApp()
/external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/control/ragdoll/
DRagdollUtils.java14 import com.jme3.scene.Geometry;
43 if (model instanceof Geometry) { in buildPointMap()
44 Geometry g = (Geometry) model; in buildPointMap()
49 if (s instanceof Geometry) { in buildPointMap()
50 Geometry g = (Geometry) s; in buildPointMap()
159 if (model instanceof Geometry) { in makeShapeFromVerticeWeights()
160 Geometry g = (Geometry) model; in makeShapeFromVerticeWeights()
167 if (s instanceof Geometry) { in makeShapeFromVerticeWeights()
168 Geometry g = (Geometry) s; in makeShapeFromVerticeWeights()
/external/jmonkeyengine/engine/src/core/com/jme3/scene/
DGeometry.java60 public class Geometry extends Spatial { class
66 private static final Logger logger = Logger.getLogger(Geometry.class.getName());
95 public Geometry() { in Geometry() method in Geometry
105 public Geometry(String name) { in Geometry() method in Geometry
117 public Geometry(String name, Mesh mesh) { in Geometry() method in Geometry
479 public Geometry clone(boolean cloneMaterial) { in clone()
480 Geometry geomClone = (Geometry) super.clone(cloneMaterial); in clone()
505 public Geometry clone() { in clone()
516 Geometry geomClone = clone(true); in deepClone()
557 if (ic.getSavableVersion(Geometry.class) == 0){ in read()

123456789