Home
last modified time | relevance | path

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

/external/opencv3/modules/calib3d/test/
Dtest_homography_decomp.cpp66 vector<Mat> normals; in run() local
68 decomposeHomographyMat(_H, _K, rotations, translations, normals); in run()
73 ASSERT_GT(static_cast<int>(normals.size()), 0); in run()
75 ASSERT_EQ(rotations.size(), normals.size()); in run()
76 ASSERT_EQ(translations.size(), normals.size()); in run()
78 ASSERT_TRUE(containsValidMotion(rotations, translations, normals)); in run()
108 std::vector<Mat>& normals in containsValidMotion() argument
115 vector<Mat>::iterator niter = normals.begin(); in containsValidMotion()
118 riter != rotations.end() && titer != translations.end() && niter != normals.end(); in containsValidMotion()
/external/mesa3d/src/gallium/state_trackers/vega/
Dbezier.c445 float normals[3][2]; in make_circle() local
452 normals[0][0] = b->y2 - b->y1; in make_circle()
453 normals[0][1] = b->x1 - b->x2; in make_circle()
454 dist = sqrt(normals[0][0]*normals[0][0] + normals[0][1]*normals[0][1]); in make_circle()
457 normals[0][0] /= dist; in make_circle()
458 normals[0][1] /= dist; in make_circle()
460 normals[2][0] = b->y4 - b->y3; in make_circle()
461 normals[2][1] = b->x3 - b->x4; in make_circle()
462 dist = sqrt(normals[2][0]*normals[2][0] + normals[2][1]*normals[2][1]); in make_circle()
465 normals[2][0] /= dist; in make_circle()
[all …]
/external/opencv3/modules/viz/src/vtk/
DvtkOBJWriter.cpp101 vtkSmartPointer<vtkDataArray> normals = input->GetPointData()->GetNormals(); in WriteData() local
102 if(normals) in WriteData()
104 for (int i = 0; i < normals->GetNumberOfTuples(); i++) in WriteData()
107 normals->GetTuple(i, p.val); in WriteData()
172 if (normals) in WriteData()
211 if(normals) in WriteData()
DvtkCloudMatSink.cpp59 normals = _normals; in SetOutput()
113 if (normals.needed() && normals_data) in WriteData()
126 buffer.convertTo(normals, vtktype == VTK_FLOAT ? CV_32F : CV_64F); in WriteData()
129 normals.release(); in WriteData()
157 os << indent << "Normals: " << normals.needed() << "\n"; in PrintSelf()
DvtkCloudMatSource.h66 … virtual int SetColorCloudNormals(InputArray cloud, InputArray colors, InputArray normals);
67 …ColorCloudNormalsTCoords(InputArray cloud, InputArray colors, InputArray normals, InputArray tcoor…
78 vtkSmartPointer<vtkDataArray> normals; variable
DvtkCloudMatSource.cpp173 if (normals) in RequestData()
174 output->GetPointData()->SetNormals(normals); in RequestData()
244 normals = vtkSmartPointer< typename VtkDepthTraits<_Tn>::array_type >::New(); in filterNanNormalsCopy()
245 normals->SetName("Normals"); in filterNanNormalsCopy()
246 normals->SetNumberOfComponents(3); in filterNanNormalsCopy()
247 normals->SetNumberOfTuples(total); in filterNanNormalsCopy()
262 normals->SetTuple(pos++, srow); in filterNanNormalsCopy()
DvtkCloudMatSink.h62 …void SetOutput(OutputArray cloud, OutputArray colors = noArray(), OutputArray normals = noArray(),…
76 _OutputArray cloud, colors, normals, tcoords; variable
/external/opencv3/modules/viz/src/
Dclouds.cpp63 cv::viz::WCloud::WCloud(InputArray cloud, const Color &color, InputArray normals) in WCloud() argument
65 WCloud cloud_widget(cloud, Mat(cloud.size(), CV_8UC3, color), normals); in WCloud()
69 cv::viz::WCloud::WCloud(cv::InputArray cloud, cv::InputArray colors, cv::InputArray normals) in WCloud() argument
74 cloud_source->SetColorCloudNormals(cloud, colors, normals); in WCloud()
278 Mat normals = _normals.getMat(); in WCloudNormals() local
281 CV_Assert(cloud.size() == normals.size() && cloud.type() == normals.type()); in WCloudNormals()
293 int n_chs = normals.channels(); in WCloudNormals()
302 const float *nrow = normals.ptr<float>(y); in WCloudNormals()
321 const double *nrow = normals.ptr<double>(y); in WCloudNormals()
366 source->SetColorCloudNormalsTCoords(mesh.cloud, mesh.colors, mesh.normals, mesh.tcoords); in WMesh()
[all …]
Dvizcore.cpp170 …riteCloud(const String& file, InputArray cloud, InputArray colors, InputArray normals, bool binary) in writeCloud() argument
176 source->SetColorCloudNormals(cloud, colors, normals); in writeCloud()
203 cv::Mat cv::viz::readCloud(const String& file, OutputArray colors, OutputArray normals) in readCloud() argument
237 sink->SetOutput(cloud, colors, normals); in readCloud()
342 Mat normals(1, generic_normals->GetNumberOfTuples(), CV_64FC3); in computeNormals() local
343 Vec3d *optr = normals.ptr<Vec3d>(); in computeNormals()
348 normals.convertTo(_normals, mesh.cloud.type()); in computeNormals()
Dtypes.cpp71 sink->SetOutput(mesh.cloud, mesh.colors, mesh.normals, mesh.tcoords); in load()
/external/opencv3/modules/viz/include/opencv2/viz/
Dvizcore.hpp145 …tring& file, InputArray cloud, InputArray colors = noArray(), InputArray normals = noArray(), bool…
146 …t readCloud (const String& file, OutputArray colors = noArray(), OutputArray normals = noArray());
169 CV_EXPORTS void computeNormals(const Mesh& mesh, OutputArray normals);
Dwidgets.hpp698 WCloud(InputArray cloud, InputArray colors, InputArray normals);
708 WCloud(InputArray cloud, const Color &color, InputArray normals);
768 …WCloudNormals(InputArray cloud, InputArray normals, int level = 64, double scale = 0.1, const Colo…
783 …utArray cloud, InputArray polygons, InputArray colors = noArray(), InputArray normals = noArray());
Dtypes.hpp122 Mat cloud, colors, normals; member in cv::viz::Mesh
/external/replicaisland/src/com/replica/replicaisland/
DSolidSurfaceComponent.java87 final FixedSizeArray<Vector2> normals = mNormals; in update() local
118 normal.set(normals.get(x)); in update()
/external/opencv3/modules/viz/test/
Dtests_simple.cpp239 computeNormals(mesh, mesh.normals); in TEST()
245 …viz.showWidget("normals", WCloudNormals(mesh.cloud, mesh.normals, 30, 0.1f, Color::green()), pose); in TEST()
254 computeNormals(mesh, mesh.normals); in TEST()
258 WCloud cloud(mesh.cloud, Color::white(), mesh.normals); in TEST()
/external/replicaisland/
DREADME.TXT32 res/raw/collision.bin: This is the raw collision data. Line segments and normals.
34 …osed paths and produce a text layer describing them as line segments and normals, organized by til…
/external/mesa3d/src/gallium/docs/source/
Dpipeline.txt8 generics (normals, ]
/external/autotest/client/deps/webgl_mpd/src/resources/
DJ3DI.js181 var normals = new Float32Array(
215 ctx.bufferData(ctx.ARRAY_BUFFER, normals, ctx.STATIC_DRAW);
/external/mesa3d/src/mesa/tnl/
DNOTES80 1/length values for display list normals. Doing so is
/external/opencv3/modules/calib3d/include/opencv2/
Dcalib3d.hpp1442 OutputArrayOfArrays normals);
/external/opencv3/modules/java/src/
Dcalib3d+Calib3d.java1122 …ecomposeHomographyMat(Mat H, Mat K, List<Mat> rotations, List<Mat> translations, List<Mat> normals) in decomposeHomographyMat() argument
1132 Converters.Mat_to_vector_Mat(normals_mat, normals); in decomposeHomographyMat()
Dcalib3d.cpp3651 std::vector<Mat> normals; in Java_org_opencv_calib3d_Calib3d_decomposeHomographyMat_10() local
3655 int _retval_ = cv::decomposeHomographyMat( H, K, rotations, translations, normals ); in Java_org_opencv_calib3d_Calib3d_decomposeHomographyMat_10()
3656 …; vector_Mat_to_Mat( translations, translations_mat ); vector_Mat_to_Mat( normals, normals_mat ); in Java_org_opencv_calib3d_Calib3d_decomposeHomographyMat_10()
/external/mesa3d/docs/
DVERSIONS33 more FPE-prevention checks (0-length normals are OK)
/external/skia/src/animator/
DSkAnimateSchema.xsd1414 towards white or black depending on the normals of the path contour, giving
/external/e2fsprogs/po/
Dca.po505 msgstr "mapa de nodes-i de fitxers normals"