/dports/cad/meshdev/meshdev-0.5/src/ |
H A D | Mesh.h | 80 std::vector<Vector3d> vertex_normals; variable 102 vertex_normals(m.vertex_normals), texture_name(m.texture_name) { in Mesh() 439 return (int)vertex_normals.size(); in VertexNormalNumber() 444 return vertex_normals; in VertexNormals() 449 return vertex_normals; in VertexNormals() 454 vertex_normals.push_back( n ); in AddVertexNormal() 459 vertex_normals.clear(); in ClearVertexNormals() 465 return vertex_normals[i]; in VertexNormal() 471 return vertex_normals[i]; in VertexNormal() 480 return vertex_normals[faces[f][v]]; in VertexNormal() [all …]
|
/dports/graphics/gimp-app/gimp-2.10.30/plug-ins/lighting/ |
H A D | lighting-shade.c | 125 if (vertex_normals[n] != NULL) in precompute_init() 126 g_free (vertex_normals[n]); in precompute_init() 132 vertex_normals[n] = g_new (GimpVector3, w); in precompute_init() 304 tmpv = vertex_normals[0]; in precompute_normals() 305 vertex_normals[0] = vertex_normals[1]; in precompute_normals() 306 vertex_normals[1] = vertex_normals[2]; in precompute_normals() 307 vertex_normals[2] = tmpv; in precompute_normals() 447 vertex_normals[1][n] = normal; in precompute_normals() 613 normal = vertex_normals[1][(gint) RINT (xf)]; in get_ray_color_ref() 733 normal = vertex_normals[1][x]; in get_ray_color_no_bilinear() [all …]
|
/dports/games/0ad/0ad-0.0.23b-alpha/source/tools/springimport/ |
H A D | convert.pl | 117 my @vertex_normals; 119 push @vertex_normals, [0,0,0]; 134 $vertex_normals[$v][0] += $n[0]; 135 $vertex_normals[$v][1] += $n[1]; 136 $vertex_normals[$v][2] += $n[2]; 141 my @n = @{ $vertex_normals[$_] }; 143 $vertex_normals[$_] = $d ? [$n[0]/$d, $n[1]/$d, $n[2]/$d] : [0,0,0]; 173 printf $fh "%.6f %.6f %.6f\n", @{$vertex_normals[$n]};
|
/dports/cad/PrusaSlicer/PrusaSlicer-version_2.3.3/sandboxes/aabb-evaluation/ |
H A D | aabb-evaluation.cpp | 35 Eigen::MatrixXd vertex_normals; in profile() local 37 igl::per_vertex_normals(V, F, vertex_normals); in profile() 55 const Eigen::Vector3d normal = vertex_normals.row(ivertex).template cast<double>(); in profile() 76 const Eigen::Vector3d normal = vertex_normals.row(ivertex).template cast<double>(); in profile() 114 const Eigen::Vector3d normal = vertex_normals.row(ivertex).template cast<double>(); in profile() 145 const Eigen::Vector3d normal = vertex_normals.row(ivertex).template cast<double>(); in profile() 181 const Eigen::Vector3d normal = vertex_normals.row(ivertex).template cast<double>(); in profile()
|
/dports/math/cgal/CGAL-5.3/include/CGAL/boost/graph/IO/ |
H A D | Generic_facegraph_builder.h | 84 std::vector<Vertex_normal> vertex_normals; in operator() local 94 … parameters::vertex_normal_output_iterator(std::back_inserter(vertex_normals)) in operator() 110 const bool has_vertex_normals = (is_vnm_requested && !(vertex_normals.empty())); in operator() 115 if(has_vertex_normals && vertex_normals.size() != m_points.size()) in operator() 133 put(vnm, vertices[id], vertex_normals[id]); in operator()
|
/dports/x11-toolkits/plib/plib-1.8.5/src/ssg/ |
H A D | ssgLoad3ds.cxx | 325 static sgVec3 *face_normals, *vertex_normals; variable 624 if (vertex_normals) in free_trimesh() 625 delete [] vertex_normals; in free_trimesh() 646 vertex_normals = NULL; in free_trimesh() 768 vertex_normals = new sgVec3[num_faces * 3]; in parse_face_list() 936 normals ->add( vertex_normals[ v1 ] ); in add_leaf() 937 normals ->add( vertex_normals[ v2 ] ); in add_leaf() 938 normals ->add( vertex_normals[ v3 ] ); in add_leaf() 968 sgCopyVec3( n[0], vertex_normals[v1] ); in add_leaf() 969 sgCopyVec3( n[1], vertex_normals[v3] ); in add_leaf() [all …]
|
/dports/science/elmerfem/elmerfem-release-9.0/ElmerGUI/Application/src/ |
H A D | meshtype.cpp | 397 this->vertex_normals[n][0] = d[0]; in setVertexNormalVec() 398 this->vertex_normals[n][1] = d[1]; in setVertexNormalVec() 399 this->vertex_normals[n][2] = d[2]; in setVertexNormalVec() 404 this->vertex_normals[n][0] += d[0]; in addVertexNormalVec() 405 this->vertex_normals[n][1] += d[1]; in addVertexNormalVec() 406 this->vertex_normals[n][2] += d[2]; in addVertexNormalVec() 411 this->vertex_normals[n][0] -= d[0]; in subVertexNormalVec() 412 this->vertex_normals[n][1] -= d[1]; in subVertexNormalVec() 413 this->vertex_normals[n][2] -= d[2]; in subVertexNormalVec() 418 return &this->vertex_normals[n][0]; in getVertexNormalVec()
|
/dports/devel/py-trimesh/trimesh-3.5.25/trimesh/ |
H A D | base.py | 54 vertex_normals=None, argument 149 if vertex_normals is not None: 150 self.vertex_normals = vertex_normals 444 def vertex_normals(self): member in Trimesh 461 vertex_normals = geometry.weighted_vertex_normals( 466 return vertex_normals 468 @vertex_normals.setter 469 def vertex_normals(self, values): member in Trimesh 1170 self.vertex_normals = cached_normals[mask] 2225 self.vertex_normals, [all …]
|
/dports/math/openmesh/OpenMesh-8.1/src/OpenMesh/Apps/Unsupported/Streaming/Client/ |
H A D | MeshViewerWidgetT_impl.hh | 252 glNormalPointer(GL_FLOAT, 0, mesh_.vertex_normals()); in draw_openmesh() 316 glNormalPointer(GL_FLOAT, 0, mesh_.vertex_normals()); in draw_openmesh() 355 glNormalPointer(GL_FLOAT, 0, mesh_.vertex_normals()); in draw_openmesh() 387 glNormalPointer(GL_FLOAT, 0, mesh_.vertex_normals()); in draw_openmesh() 414 glNormalPointer(GL_FLOAT, 0, mesh_.vertex_normals()); in draw_openmesh()
|
/dports/lang/erlang-runtime22/otp-OTP-22.3.4.24/lib/dialyzer/test/opaque_SUITE_data/src/ |
H A D | inf_loop1.erl | 46 RegVsData = vertex_normals(Vs, FaceNormTab, We, LoopVsData), 132 vertex_normals([V|Vs], FaceNormTab, #we{vp = Vtab, mirror = M} = We, Acc) -> function 141 vertex_normals(Vs, FaceNormTab, We, [{V,{Vpos,VNorm}}|Acc]); 142 vertex_normals([], _, _, Acc) -> function
|
H A D | inf_loop2.erl | 49 RegVsData = vertex_normals(Vs, FaceNormTab, We, LoopVsData), 135 vertex_normals([V|Vs], FaceNormTab, #we{vp = Vtab, mirror = M} = We, Acc) -> function 144 vertex_normals(Vs, FaceNormTab, We, [{V,{Vpos,VNorm}}|Acc]); 145 vertex_normals([], _, _, Acc) -> function
|
/dports/lang/erlang-runtime23/otp-OTP-23.3.4.10/lib/dialyzer/test/opaque_SUITE_data/src/ |
H A D | inf_loop1.erl | 46 RegVsData = vertex_normals(Vs, FaceNormTab, We, LoopVsData), 132 vertex_normals([V|Vs], FaceNormTab, #we{vp = Vtab, mirror = M} = We, Acc) -> function 141 vertex_normals(Vs, FaceNormTab, We, [{V,{Vpos,VNorm}}|Acc]); 142 vertex_normals([], _, _, Acc) -> function
|
H A D | inf_loop2.erl | 49 RegVsData = vertex_normals(Vs, FaceNormTab, We, LoopVsData), 135 vertex_normals([V|Vs], FaceNormTab, #we{vp = Vtab, mirror = M} = We, Acc) -> function 144 vertex_normals(Vs, FaceNormTab, We, [{V,{Vpos,VNorm}}|Acc]); 145 vertex_normals([], _, _, Acc) -> function
|
/dports/lang/erlang-runtime24/otp-OTP-24.1.7/lib/dialyzer/test/opaque_SUITE_data/src/ |
H A D | inf_loop1.erl | 46 RegVsData = vertex_normals(Vs, FaceNormTab, We, LoopVsData), 132 vertex_normals([V|Vs], FaceNormTab, #we{vp = Vtab, mirror = M} = We, Acc) -> function 141 vertex_normals(Vs, FaceNormTab, We, [{V,{Vpos,VNorm}}|Acc]); 142 vertex_normals([], _, _, Acc) -> function
|
H A D | inf_loop2.erl | 49 RegVsData = vertex_normals(Vs, FaceNormTab, We, LoopVsData), 135 vertex_normals([V|Vs], FaceNormTab, #we{vp = Vtab, mirror = M} = We, Acc) -> function 144 vertex_normals(Vs, FaceNormTab, We, [{V,{Vpos,VNorm}}|Acc]); 145 vertex_normals([], _, _, Acc) -> function
|
/dports/lang/erlang-wx/otp-OTP-24.1.7/lib/dialyzer/test/opaque_SUITE_data/src/ |
H A D | inf_loop1.erl | 46 RegVsData = vertex_normals(Vs, FaceNormTab, We, LoopVsData), 132 vertex_normals([V|Vs], FaceNormTab, #we{vp = Vtab, mirror = M} = We, Acc) -> function 141 vertex_normals(Vs, FaceNormTab, We, [{V,{Vpos,VNorm}}|Acc]); 142 vertex_normals([], _, _, Acc) -> function
|
H A D | inf_loop2.erl | 49 RegVsData = vertex_normals(Vs, FaceNormTab, We, LoopVsData), 135 vertex_normals([V|Vs], FaceNormTab, #we{vp = Vtab, mirror = M} = We, Acc) -> function 144 vertex_normals(Vs, FaceNormTab, We, [{V,{Vpos,VNorm}}|Acc]); 145 vertex_normals([], _, _, Acc) -> function
|
/dports/lang/erlang/otp-OTP-24.1.7/lib/dialyzer/test/opaque_SUITE_data/src/ |
H A D | inf_loop1.erl | 46 RegVsData = vertex_normals(Vs, FaceNormTab, We, LoopVsData), 132 vertex_normals([V|Vs], FaceNormTab, #we{vp = Vtab, mirror = M} = We, Acc) -> function 141 vertex_normals(Vs, FaceNormTab, We, [{V,{Vpos,VNorm}}|Acc]); 142 vertex_normals([], _, _, Acc) -> function
|
H A D | inf_loop2.erl | 49 RegVsData = vertex_normals(Vs, FaceNormTab, We, LoopVsData), 135 vertex_normals([V|Vs], FaceNormTab, #we{vp = Vtab, mirror = M} = We, Acc) -> function 144 vertex_normals(Vs, FaceNormTab, We, [{V,{Vpos,VNorm}}|Acc]); 145 vertex_normals([], _, _, Acc) -> function
|
/dports/lang/erlang-java/otp-OTP-24.1.7/lib/dialyzer/test/opaque_SUITE_data/src/ |
H A D | inf_loop2.erl | 49 RegVsData = vertex_normals(Vs, FaceNormTab, We, LoopVsData), 135 vertex_normals([V|Vs], FaceNormTab, #we{vp = Vtab, mirror = M} = We, Acc) -> function 144 vertex_normals(Vs, FaceNormTab, We, [{V,{Vpos,VNorm}}|Acc]); 145 vertex_normals([], _, _, Acc) -> function
|
H A D | inf_loop1.erl | 46 RegVsData = vertex_normals(Vs, FaceNormTab, We, LoopVsData), 132 vertex_normals([V|Vs], FaceNormTab, #we{vp = Vtab, mirror = M} = We, Acc) -> function 141 vertex_normals(Vs, FaceNormTab, We, [{V,{Vpos,VNorm}}|Acc]); 142 vertex_normals([], _, _, Acc) -> function
|
/dports/lang/erlang-runtime21/otp-OTP-21.3.8.24/lib/dialyzer/test/opaque_SUITE_data/src/ |
H A D | inf_loop1.erl | 46 RegVsData = vertex_normals(Vs, FaceNormTab, We, LoopVsData), 132 vertex_normals([V|Vs], FaceNormTab, #we{vp = Vtab, mirror = M} = We, Acc) -> function 141 vertex_normals(Vs, FaceNormTab, We, [{V,{Vpos,VNorm}}|Acc]); 142 vertex_normals([], _, _, Acc) -> function
|
H A D | inf_loop2.erl | 49 RegVsData = vertex_normals(Vs, FaceNormTab, We, LoopVsData), 135 vertex_normals([V|Vs], FaceNormTab, #we{vp = Vtab, mirror = M} = We, Acc) -> function 144 vertex_normals(Vs, FaceNormTab, We, [{V,{Vpos,VNorm}}|Acc]); 145 vertex_normals([], _, _, Acc) -> function
|
/dports/cad/PrusaSlicer/PrusaSlicer-version_2.3.3/src/libigl/igl/ |
H A D | principal_curvature.cpp | 153 Eigen::MatrixXd vertex_normals; member in CurvatureCalculator 331 igl::per_vertex_normals(V, F, face_normals, vertex_normals); in init() 552 normal=(vertex_normals.row(j)).normalized(); in getAverageNormal() 558 normal+=vertex_normals.row(vv[i]).normalized(); in getAverageNormal() 586 a+= vertex_normals.row(vv[i])[0]; in getProjPlane() 587 b+= vertex_normals.row(vv[i])[1]; in getProjPlane() 588 c+= vertex_normals.row(vv[i])[2]; in getProjPlane() 630 if (vertex_normals.row(*vpi) * ppn > 0.0) in applyProjOnPlane() 703 applyProjOnPlane (vertex_normals.row(i), vv, vvtmp); in computeCurvature()
|
/dports/math/openmesh/OpenMesh-8.1/src/OpenMesh/Apps/QtViewer/ |
H A D | MeshViewerWidgetT_impl.hh | 295 glNormalPointer(GL_FLOAT, 0, mesh_.vertex_normals()); in draw_openmesh() 358 glNormalPointer(GL_FLOAT, 0, mesh_.vertex_normals()); in draw_openmesh() 397 glNormalPointer(GL_FLOAT, 0, mesh_.vertex_normals()); in draw_openmesh() 429 glNormalPointer(GL_FLOAT, 0, mesh_.vertex_normals()); in draw_openmesh() 456 glNormalPointer(GL_FLOAT, 0, mesh_.vertex_normals()); in draw_openmesh() 483 glNormalPointer(GL_FLOAT, 0, mesh_.vertex_normals()); in draw_openmesh()
|