/external/opencv3/modules/calib3d/test/ |
test_homography_decomp.cpp | 66 vector<Mat> normals; local 68 decomposeHomographyMat(_H, _K, rotations, translations, normals); 73 ASSERT_GT(static_cast<int>(normals.size()), 0); 75 ASSERT_EQ(rotations.size(), normals.size()); 76 ASSERT_EQ(translations.size(), normals.size()); 78 ASSERT_TRUE(containsValidMotion(rotations, translations, normals)); 108 std::vector<Mat>& normals 115 vector<Mat>::iterator niter = normals.begin(); 118 riter != rotations.end() && titer != translations.end() && niter != normals.end();
|
/cts/tests/openglperf2/jni/graphics/ |
Mesh.cpp | 16 Mesh::Mesh(const float* vertices, const float* normals, const float* texCoords, 19 mNormals(normals),
|
GLUtils.cpp | 102 float* normals = new float[numVertices * 3]; local 113 // Normals 114 normals[vIndex + 0] = readFloat(buffer + index); 116 normals[vIndex + 1] = readFloat(buffer + index); 118 normals[vIndex + 2] = readFloat(buffer + index); 127 return new Mesh(vertices, normals, texCoords, numVertices);
|
Mesh.h | 23 Mesh(const float* vertices, const float* normals, const float* texCoords,
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
bezier.c | 445 float normals[3][2]; local 452 normals[0][0] = b->y2 - b->y1; 453 normals[0][1] = b->x1 - b->x2; 454 dist = sqrt(normals[0][0]*normals[0][0] + normals[0][1]*normals[0][1]); 457 normals[0][0] /= dist; 458 normals[0][1] /= dist; 460 normals[2][0] = b->y4 - b->y3 [all...] |
/external/opencv3/modules/viz/src/vtk/ |
vtkCloudMatSink.cpp | 59 normals = _normals; 113 if (normals.needed() && normals_data) 126 buffer.convertTo(normals, vtktype == VTK_FLOAT ? CV_32F : CV_64F); 129 normals.release(); 157 os << indent << "Normals: " << normals.needed() << "\n";
|
vtkCloudMatSource.cpp | 131 CV_Assert(!"Unsupported normals/cloud type"); 173 if (normals) 174 output->GetPointData()->SetNormals(normals); variable 244 normals = vtkSmartPointer< typename VtkDepthTraits<_Tn>::array_type >::New(); 245 normals->SetName("Normals"); 246 normals->SetNumberOfComponents(3); 247 normals->SetNumberOfTuples(total); 262 normals->SetTuple(pos++, srow);
|
vtkCloudMatSource.h | 66 virtual int SetColorCloudNormals(InputArray cloud, InputArray colors, InputArray normals); 67 virtual int SetColorCloudNormalsTCoords(InputArray cloud, InputArray colors, InputArray normals, InputArray tcoords); 78 vtkSmartPointer<vtkDataArray> normals; member in class:cv::viz::vtkCloudMatSource
|
vtkOBJWriter.cpp | 101 vtkSmartPointer<vtkDataArray> normals = input->GetPointData()->GetNormals(); local 102 if(normals) 104 for (int i = 0; i < normals->GetNumberOfTuples(); i++) 107 normals->GetTuple(i, p.val); 172 if (normals) 211 if(normals)
|
vtkCloudMatSink.h | 62 void SetOutput(OutputArray cloud, OutputArray colors = noArray(), OutputArray normals = noArray(), OutputArray tcoords = noArray()); 76 _OutputArray cloud, colors, normals, tcoords; member in class:cv::viz::vtkCloudMatSink
|
/external/opencv3/modules/viz/src/ |
clouds.cpp | 63 cv::viz::WCloud::WCloud(InputArray cloud, const Color &color, InputArray normals) 65 WCloud cloud_widget(cloud, Mat(cloud.size(), CV_8UC3, color), normals); 69 cv::viz::WCloud::WCloud(cv::InputArray cloud, cv::InputArray colors, cv::InputArray normals) 74 cloud_source->SetColorCloudNormals(cloud, colors, normals); 273 /// Cloud Normals Widget implementation 278 Mat normals = _normals.getMat(); local 281 CV_Assert(cloud.size() == normals.size() && cloud.type() == normals.type()); 293 int n_chs = normals.channels(); 302 const float *nrow = normals.ptr<float>(y) [all...] |
vizcore.cpp | 170 void cv::viz::writeCloud(const String& file, InputArray cloud, InputArray colors, InputArray normals, bool binary) 176 source->SetColorCloudNormals(cloud, colors, normals); 203 cv::Mat cv::viz::readCloud(const String& file, OutputArray colors, OutputArray normals) 237 sink->SetOutput(cloud, colors, normals); 332 /// Computing normals for mesh 342 Mat normals(1, generic_normals->GetNumberOfTuples(), CV_64FC3); 343 Vec3d *optr = normals.ptr<Vec3d>(); 348 normals.convertTo(_normals, mesh.cloud.type());
|
/external/replicaisland/src/com/replica/replicaisland/ |
SolidSurfaceComponent.java | 87 final FixedSizeArray<Vector2> normals = mNormals; local 118 normal.set(normals.get(x));
|
/external/opencv3/modules/viz/include/opencv2/viz/ |
vizcore.hpp | 145 CV_EXPORTS void writeCloud(const String& file, InputArray cloud, InputArray colors = noArray(), InputArray normals = noArray(), bool binary = false); 146 CV_EXPORTS Mat readCloud (const String& file, OutputArray colors = noArray(), OutputArray normals = noArray()); 167 /// Computing normals for mesh 169 CV_EXPORTS void computeNormals(const Mesh& mesh, OutputArray normals);
|
widgets.hpp | 197 /** @brief Transforms internal widget data (i.e. points, normals) using the given transform. 694 @param normals Normals for each point in cloud. Size and type should match with the cloud parameter. 698 WCloud(InputArray cloud, InputArray colors, InputArray normals); 703 @param normals Normals for each point in cloud. 708 WCloud(InputArray cloud, const Color &color, InputArray normals); 753 /** @brief This 3D Widget represents normals of a point cloud. : 761 @param normals A set of normals that has to be of same type with cloud [all...] |
/external/mesa3d/src/mesa/tnl/ |
t_vb_normals.c | 69 VB->AttribPtr[_TNL_ATTRIB_NORMAL], /* input normals */ 71 &store->normal ); /* resulting normals */ 146 * Allocate stage's private data (storage for transformed normals).
|
NOTES | 80 1/length values for display list normals. Doing so is
|
/external/replicaisland/tools/ |
ExtractPoints.js | 20 * each path in the current document and generates a list of edges and normals 53 // Walk the list of paths and extract edges and normals. Store these in 153 // The normals that we calculated previously might be facing the wrong 191 // Render the edges and normals to the new document.
|
/external/autotest/client/deps/webgl_mpd/src/resources/ |
J3DI.js | 150 // Create a box with vertices, normals and texCoords. Create VBOs for each as well as the index array. 153 // normalObject WebGLBuffer object for normals 181 var normals = new Float32Array( 215 ctx.bufferData(ctx.ARRAY_BUFFER, normals, ctx.STATIC_DRAW); 241 // Sphere has vertices, normals and texCoords. Create VBOs for each as well as the index array. 244 // normalObject WebGLBuffer object for normals 338 // normalObject WebGLBuffer object for normals 472 // do the normals
|
/external/opencv3/modules/viz/test/ |
tests_simple.cpp | 239 computeNormals(mesh, mesh.normals); 245 viz.showWidget("normals", WCloudNormals(mesh.cloud, mesh.normals, 30, 0.1f, Color::green()), pose); 246 viz.setRenderingProperty("normals", LINE_WIDTH, 2.0); 247 viz.showWidget("text2d", WText("Cloud or mesh normals", Point(20, 20), 20, Color::green())); 254 computeNormals(mesh, mesh.normals); 258 WCloud cloud(mesh.cloud, Color::white(), mesh.normals); 263 viz.showWidget("text2d", WText("Cloud shaded by normals", Point(20, 20), 20, Color::green()));
|
/external/replicaisland/ |
README.TXT | 32 res/raw/collision.bin: This is the raw collision data. Line segments and normals. 34 tools/ExtractPoints.js: This is a (rather horrible) Javascript tool for Photoshop. It will walk closed paths and produce a text layer describing them as line segments and normals, organized by tile. It takes a long time to run and is probably the worst code in the entire project. res/raw/collision.bin is the binary version of output from this tool.
|
/external/mesa3d/src/mesa/math/ |
m_norm_tmp.h | 30 /* Functions to tranform a vector of normals. This includes applying 37 * in - the source vector of normals 40 * dest - the destination vector of normals
|
m_eval.h | 86 * should be computed (this is needed to compute normals to the
|
/cts/tests/openglperf2/ |
cob_exporter.py | 7 # for texture coordinates, which is why this script duplicates the vertices and normals. This
|
/external/skia/src/core/ |
SkStrokerPriv.cpp | 154 // negate the dot since we're using normals instead of tangents 197 My dotProd is opposite sign, since it is built from normals and not tangents
|