Searched defs:vertices (Results 1 - 25 of 134) sorted by relevance

123456

/external/ceres-solver/internal/ceres/
H A Dgraph_test.cc42 EXPECT_EQ(graph.vertices().size(), 0);
51 const HashSet<int>& vertices = graph.vertices(); local
52 EXPECT_EQ(vertices.size(), 2);
67 const HashSet<int>& vertices = graph.vertices(); local
69 EXPECT_EQ(vertices.size(), 2);
73 EXPECT_EQ(vertices.size(), 2);
H A Dgraph_algorithms_test.cc113 const HashSet<int>& vertices = forest->vertices(); local
114 EXPECT_EQ(vertices.size(), 2);
135 const HashSet<int>& vertices = forest->vertices(); local
136 EXPECT_EQ(vertices.size(), 5);
H A Dparameter_block_ordering.cc51 const HashSet<ParameterBlock*>& vertices = graph->vertices(); local
53 if (vertices.count(parameter_blocks[i]) > 0) {
H A Dgraph.h92 // AddEdge on a pair of vertices which do not exist in the graph yet
96 // vertices.
123 // Calling EdgeWeight on a pair of vertices where either one of the
124 // vertices is not present in the graph will result in undefined
141 const HashSet<Vertex>& vertices() const { function in class:ceres::internal::Graph
H A Dparameter_block_ordering_test.cc88 const VertexSet& vertices = graph->vertices(); local
89 EXPECT_EQ(vertices.size(), 4);
92 EXPECT_TRUE(vertices.find(parameter_blocks[i]) != vertices.end());
132 EXPECT_EQ(graph->vertices().size(), 0);
142 const VertexSet& vertices = graph->vertices(); local
144 EXPECT_EQ(vertices.size(), 3);
145 EXPECT_TRUE(vertices
[all...]
H A Dschur_ordering_test.cc88 const VertexSet& vertices = graph->vertices(); local
89 EXPECT_EQ(vertices.size(), 4);
92 EXPECT_TRUE(vertices.find(parameter_blocks[i]) != vertices.end());
132 EXPECT_EQ(graph->vertices().size(), 0);
142 const VertexSet& vertices = graph->vertices(); local
144 EXPECT_EQ(vertices.size(), 3);
145 EXPECT_TRUE(vertices
[all...]
/external/eigen/demos/opengl/
H A Dicosphere.h20 const std::vector<Eigen::Vector3f>& vertices() const { return mVertices; } function in class:IcoSphere
/external/chromium_org/cc/base/
H A Dmath_util_unittest.cc54 gfx::PointF vertices[3]; local
57 vertices[0] = gfx::PointF(-10, -100);
58 vertices[1] = gfx::PointF(-100, -10);
59 vertices[2] = gfx::PointF(-30, -30);
66 MathUtil::ComputeEnclosingRectOfVertices(vertices, num_vertices);
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
H A Du_prim.h171 u_gs_prims_for_vertices(int primitive, int vertices) argument
175 return vertices;
177 return vertices / 2;
179 return vertices;
181 return vertices - 1;
183 return vertices / 3;
185 return vertices - 2;
187 return vertices - 2;
189 return vertices / 2;
191 return vertices
[all...]
/external/jmonkeyengine/engine/src/bullet-native/
H A Dcom_jme3_bullet_util_NativeMeshUtil.cpp52 float* vertices = (float*) env->GetDirectBufferAddress(vertexIndexBase); local
53 btTriangleIndexVertexArray* array = new btTriangleIndexVertexArray(numTriangles, triangles, triangleIndexStride, numVertices, vertices, vertexStride);
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_prim.h171 u_gs_prims_for_vertices(int primitive, int vertices) argument
175 return vertices;
177 return vertices / 2;
179 return vertices;
181 return vertices - 1;
183 return vertices / 3;
185 return vertices - 2;
187 return vertices - 2;
189 return vertices / 2;
191 return vertices
[all...]
/external/chromium_org/third_party/skia/src/gpu/
H A DGrPathUtils.h69 * path renderer will have a small fixed number of vertices that it
72 * N is the number of vertices.
75 * vertices is a pointer to the first vertex.
78 void apply(const void* vertices) { argument
79 intptr_t xyPtr = reinterpret_cast<intptr_t>(vertices);
80 intptr_t uvPtr = reinterpret_cast<intptr_t>(vertices) + UV_OFFSET;
/external/jmonkeyengine/engine/src/core/com/jme3/effect/shapes/
H A DEmitterMeshVertexShape.java20 * This emiter shape emits the particles from the given shape's vertices
25 protected List<List<Vector3f>> vertices; field in class:EmitterMeshVertexShape
51 this.vertices = new ArrayList<List<Vector3f>>(meshes.size());
70 // adding data to vertices and normals
71 List<Vector3f> vertices = new ArrayList<Vector3f>(vertToNormalMap.size());
74 vertices.add(entry.getKey());
77 this.vertices.add(vertices);
89 int meshIndex = FastMath.nextRandomInt(0, vertices.size() - 1);
90 int vertIndex = FastMath.nextRandomInt(0, vertices
[all...]
/external/skia/src/gpu/
H A DGrPathUtils.h69 * path renderer will have a small fixed number of vertices that it
72 * N is the number of vertices.
75 * vertices is a pointer to the first vertex.
78 void apply(const void* vertices) { argument
79 intptr_t xyPtr = reinterpret_cast<intptr_t>(vertices);
80 intptr_t uvPtr = reinterpret_cast<intptr_t>(vertices) + UV_OFFSET;
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/
H A DPolygonShape.h85 PolygonShape(PassOwnPtr<Vector<FloatPoint> > vertices, WindRule fillRule) argument
87 , m_polygon(vertices, fillRule)
/external/chromium_org/third_party/WebKit/Source/platform/geometry/
H A DFloatPolygon.cpp82 FloatPolygon::FloatPolygon(PassOwnPtr<Vector<FloatPoint> > vertices, WindRule fillRule) argument
83 : m_vertices(vertices)
/external/chromium_org/third_party/angle/samples/gles2_book/Common/
H A DesShapes.c46 /// \param vertices If not NULL, will contain array of float3 positions
53 int ESUTIL_API esGenSphere ( int numSlices, float radius, GLfloat **vertices, GLfloat **normals, argument
64 if ( vertices != NULL )
65 *vertices = malloc ( sizeof(GLfloat) * 3 * numVertices );
82 if ( vertices )
84 (*vertices)[vertex + 0] = radius * sinf ( angleStep * (float)i ) *
86 (*vertices)[vertex + 1] = radius * cosf ( angleStep * (float)i );
87 (*vertices)[vertex + 2] = radius * sinf ( angleStep * (float)i ) *
93 (*normals)[vertex + 0] = (*vertices)[vertex + 0] / radius;
94 (*normals)[vertex + 1] = (*vertices)[verte
140 esGenCube( float scale, GLfloat **vertices, GLfloat **normals, GLfloat **texCoords, GLushort **indices ) argument
[all...]
/external/chromium_org/third_party/angle/samples/gles2_book/PostSubBuffer/
H A DPostSubBuffer.c36 GLfloat *vertices; member in struct:__anon11350
78 userData->numIndices = esGenCube( 1.0, &userData->vertices,
149 GL_FALSE, 3 * sizeof(GLfloat), userData->vertices );
170 if ( userData->vertices != NULL )
172 free ( userData->vertices );
/external/chromium_org/third_party/angle/samples/gles2_book/Simple_TextureCubemap/
H A DSimple_TextureCubemap.c35 GLfloat *vertices; member in struct:__anon11352
142 userData->numIndices = esGenSphere ( 20, 0.75f, &userData->vertices, &userData->normals,
172 GL_FALSE, 0, userData->vertices );
206 free ( userData->vertices );
/external/chromium_org/third_party/angle/samples/gles2_book/Simple_VertexShader/
H A DSimple_VertexShader.c31 GLfloat *vertices; member in struct:__anon11353
73 userData->numIndices = esGenCube( 1.0, &userData->vertices,
139 GL_FALSE, 3 * sizeof(GLfloat), userData->vertices );
160 if ( userData->vertices != NULL )
162 free ( userData->vertices );
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/progs/d3d10tri/
H A Dd3d10tri.cpp36 static struct vertex vertices[3] = variable in typeref:struct:vertex
72 bufferd.ByteWidth = sizeof(vertices);
79 buffersd.pSysMem = vertices;
80 buffersd.SysMemPitch = sizeof(vertices);
81 buffersd.SysMemSlicePitch = sizeof(vertices);
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/progs/d3d11tri/
H A Dd3d11tri.cpp36 static struct vertex vertices[3] = variable in typeref:struct:vertex
73 bufferd.ByteWidth = sizeof(vertices);
81 buffersd.pSysMem = vertices;
82 buffersd.SysMemPitch = sizeof(vertices);
83 buffersd.SysMemSlicePitch = sizeof(vertices);
/external/chromium_org/third_party/mesa/src/src/gallium/tests/graw/
H A Dfs-fragcoord.c24 static struct vertex vertices[] = variable in typeref:struct:vertex
47 #define NUM_VERTS (sizeof(vertices) / sizeof(vertices[0]))
73 sizeof(vertices),
74 vertices);
H A Dfs-frontface.c23 static struct vertex vertices[] = variable in typeref:struct:vertex
68 #define NUM_VERTS (sizeof(vertices) / sizeof(vertices[0]))
95 sizeof(vertices),
96 vertices);
H A Dfs-write-z.c27 static struct vertex vertices[] = variable in typeref:struct:vertex
72 #define NUM_VERTS (sizeof(vertices) / sizeof(vertices[0]))
99 sizeof(vertices),
100 vertices);

Completed in 537 milliseconds

123456