Home
last modified time | relevance | path

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

12

/dports/devel/vcglib/vcglib-2020.09/apps/sample/trimesh_voronoisampling/
H A Dtrimesh_voronoisampling.cpp64 MyMesh baseMesh; in main() local
77 int ret= tri::io::ImporterPLY<MyMesh>::Open(baseMesh,argv[1]); in main()
86 tri::Clean<MyMesh>::RemoveUnreferencedVertex(baseMesh); in main()
87 tri::Allocator<MyMesh>::CompactEveryVector(baseMesh); in main()
88 tri::UpdateTopology<MyMesh>::VertexFace(baseMesh); in main()
92 tri::VoronoiProcessing<MyMesh>::PreprocessForVoronoi(baseMesh,radius,vpp); in main()
94 tri::UpdateFlags<MyMesh>::FaceBorderFromVF(baseMesh); in main()
95 tri::UpdateFlags<MyMesh>::VertexBorderFromFaceBorder(baseMesh); in main()
164 for(size_t i=0;i<baseMesh.vert.size();++i){ in main()
165 if(baseMesh.vert[i].IsB()) in main()
[all …]
/dports/devel/vcglib/vcglib-2020.09/apps/sample/trimesh_voronoi/
H A Dtrimesh_voronoi.cpp51 MyMesh baseMesh,voronoiMesh, voronoiPoly, delaunayMesh; in main() local
64 int ret= tri::io::ImporterPLY<MyMesh>::Open(baseMesh,argv[1]); in main()
72 tri::io::ImporterPLY<MyMesh>::Open(baseMesh,argv[1]); in main()
74 …printf("Read %30s (%7i vn %7i fn) in %6.3f \n",argv[1],baseMesh.vn,baseMesh.fn,float(t1-t0… in main()
79 tri::PoissonSampling<MyMesh>(baseMesh,pointVec,sampleNum,radius); in main()
81 tri::VoronoiProcessing<MyMesh>::PreprocessForVoronoi(baseMesh,radius,vpp); in main()
82 tri::VoronoiProcessing<MyMesh>::SeedToVertexConversion(baseMesh,pointVec,seedVec); in main()
86 … argv[1],baseMesh.vn,baseMesh.fn, seedVec.size(), sampleNum, radius, float(t2-t1)/CLOCKS_PER_SEC); in main()
90 …int actualIter = tri::VoronoiProcessing<MyMesh>::VoronoiRelaxing(baseMesh, seedVec, iterNum, df, v… in main()
97 if(tri::VoronoiProcessing<MyMesh>::CheckVoronoiTopology(baseMesh,seedVec)) in main()
[all …]
/dports/devel/vcglib/vcglib-2020.09/apps/sample/trimesh_voronoiclustering/
H A Dtrimesh_voronoiclustering.cpp51 MyMesh baseMesh, clusteredMesh; in main() local
60 int ret= tri::io::ImporterPLY<MyMesh>::Open(baseMesh,argv[1]); in main()
68 tri::UpdateTopology<MyMesh>::VertexFace(baseMesh); in main()
71 …tri::SurfaceSampling<MyMesh, tri::TrivialPointerSampler<MyMesh> >::VertexUniform(baseMesh,cs,seedN… in main()
74 tri::VoronoiProcessing<MyMesh>::VoronoiRelaxing(baseMesh, cs.sampleVec, iterNum, df, vpp); in main()
75 tri::VoronoiProcessing<MyMesh>::TopologicalVertexColoring(baseMesh, cs.sampleVec); in main()
76 …tri::VoronoiProcessing<MyMesh>::ConvertDelaunayTriangulationToMesh(baseMesh,clusteredMesh,cs.sampl… in main()
78 tri::io::ExporterPLY<MyMesh>::Save(baseMesh,"base.ply",tri::io::Mask::IOM_VERTCOLOR ); in main()
/dports/graphics/wdune/wdune-1.926/vcglib/vcg/complex/algorithms/
H A Dvoronoi_volume_sampling.h54 :surfTree(0),baseMesh(_baseMesh) {} in PointSampledDistance()
61 MeshType &baseMesh; variable
70 ScalarType meshArea = Stat<MeshType>::ComputeMeshArea(baseMesh);
88 surfGrid.SetWithRadius(baseMesh.face.begin(),baseMesh.face.end(),poissonRadiusSurface);
89 mf.SetMesh(&baseMesh);
171 tri::RequirePerFaceMark(baseMesh); in VoronoiVolumeSampling()
172 tri::UpdateBounding<MeshType>::Box(baseMesh); in VoronoiVolumeSampling()
173 tri::UpdateNormal<MeshType>::PerFaceNormalized(baseMesh); in VoronoiVolumeSampling()
181 MeshType &baseMesh; // The base mesh for which we compute all variable
469 BoxType bb = BoxType::Construct(baseMesh.bbox); in BuildScaffoldingMeshOld()
[all …]
H A Dskeleton.h107 …pling<MeshType, RedetailSampler<MeshType> >::VertexUniform(vvs.baseMesh, rs, vvs.baseMesh.vn, fals…
116 CoordType point = math::GeneratePointInBox3Uniform(vvs.rng,vvs.baseMesh.bbox); in RefineSkeletonVolume()
/dports/devel/vcglib/vcglib-2020.09/vcg/complex/algorithms/
H A Dvoronoi_volume_sampling.h54 :surfTree(0),baseMesh(_baseMesh) {} in PointSampledDistance()
61 MeshType &baseMesh; variable
70 ScalarType meshArea = Stat<MeshType>::ComputeMeshArea(baseMesh);
88 surfGrid.SetWithRadius(baseMesh.face.begin(),baseMesh.face.end(),poissonRadiusSurface);
89 mf.SetMesh(&baseMesh);
171 tri::RequirePerFaceMark(baseMesh); in VoronoiVolumeSampling()
172 tri::UpdateBounding<MeshType>::Box(baseMesh); in VoronoiVolumeSampling()
173 tri::UpdateNormal<MeshType>::PerFaceNormalized(baseMesh); in VoronoiVolumeSampling()
181 MeshType &baseMesh; // The base mesh for which we compute all variable
469 BoxType bb = BoxType::Construct(baseMesh.bbox); in BuildScaffoldingMeshOld()
[all …]
H A Dvoronoi_remesher.h355 Mesh baseMesh; variable
356 Append<Mesh, Mesh>::MeshCopy(baseMesh, original, false, true);
363 Voronoi::PreprocessForVoronoi(baseMesh, samplingRadius, vpp);
440 Voronoi::RestrictedVoronoiRelaxing(baseMesh, seedPointVec, seedFixedVec, VoroRelaxationStep, vpp);
442 …Voronoi::RestrictedVoronoiRelaxing(baseMesh, seedPointVec, seedFixedVec, VoroRelaxationStep/2, vpp…
457 …ThisType::SeedToFixedBorderVertexConversion(baseMesh, samplingRadius, seedPointVec, seedFixedVec, …
462 Voronoi::ComputePerVertexSources(baseMesh, seedVertexVec, dd);
468 Voronoi::ConvertDelaunayTriangulationExtendedToMesh(baseMesh, *finalMeshPtr, seedVertexVec);
472 …io::ExporterPLY<MeshType>::Save(baseMesh, QString("baseMesh_%1.ply").arg(idx).toStdString().c_str(…
H A Dskeleton.h107 …pling<MeshType, RedetailSampler<MeshType> >::VertexUniform(vvs.baseMesh, rs, vvs.baseMesh.vn, fals…
116 CoordType point = math::GeneratePointInBox3Uniform(vvs.rng,vvs.baseMesh.bbox); in RefineSkeletonVolume()
/dports/graphics/py-visvis/visvis-1.13.0/functions/
H A DsolidLine.py44 baseMesh = lineToMesh(pp, radius, N)
54 m = vv.Mesh(axes, baseMesh)
/dports/science/simbody/simbody-Simbody-3.7/examples/TaskSpaceControl-UR10/
H A DUR10.cpp118 PolygonalMesh baseMesh, shoulderMesh, upperArmMesh, forearmMesh, in UR10() local
121 baseMesh.loadObjFile(auxDir + "geometry/Base.obj"); in UR10()
132 baseInfo.addDecoration(DecorativeMesh(baseMesh).setColor(Gray)); in UR10()
/dports/games/0ad/0ad-0.0.23b-alpha/libraries/source/fcollada/include/FCDocument/
H A DFCDGeometryPolygonsTools.h89 …FCOLLADA_EXPORT void ApplyUniqueIndices(FCDGeometryMesh* targMesh, FCDGeometryMesh* baseMesh, cons…
/dports/games/0ad/0ad-0.0.23b-alpha/libraries/source/fcollada/src/FCollada/FCDocument/
H A DFCDGeometryPolygonsTools.h89 …FCOLLADA_EXPORT void ApplyUniqueIndices(FCDGeometryMesh* targMesh, FCDGeometryMesh* baseMesh, cons…
H A DFCDGeometryPolygonsTools.cpp858 …void ApplyUniqueIndices(FCDGeometryMesh* targMesh, FCDGeometryMesh* baseMesh, const UInt32List& ne… in ApplyUniqueIndices() argument
876 for (size_t j = 0; j < baseMesh->GetSourceCount(); j++) in ApplyUniqueIndices()
880 FCDGeometrySource* baseSource = baseMesh->GetSource(j); in ApplyUniqueIndices()
/dports/cad/meshlab/meshlab-Meshlab-2020.05/src/meshlabplugins/filter_sampling/
H A Dfilter_sampling.cpp1236 MeshModel *baseMesh= md.mm(); in applyFilter() local
1238 baseMesh->updateDataMask(MeshModel::MM_FACEMARK); in applyFilter()
1241 Box3m volumeBox = baseMesh->cm.bbox; in applyFilter()
1247 …Log(" Mesh Box is %f %f %f",baseMesh->cm.bbox.DimX(),baseMesh->cm.bbox.DimY(),baseMesh->cm.bbo… in applyFilter()
1249 …tri::Resampler<CMeshO,CMeshO>::Resample(baseMesh->cm, offsetMesh->cm, volumeBox, volumeDim, voxelS… in applyFilter()
/dports/games/spring/spring_98.0/rts/lib/assimp/code/
H A DDeboneProcess.cpp345 aiMesh *baseMesh = MakeSubmesh(pMesh,subFaces,0); in SplitMesh() local
346 std::pair<aiMesh*,const aiBone*> push_pair(baseMesh,(const aiBone*)0); in SplitMesh()
/dports/devel/upp/upp/bazaar/plugin/assimp/code/PostProcessing/
H A DDeboneProcess.cpp346 aiMesh *baseMesh = MakeSubmesh(pMesh,subFaces,0); in SplitMesh() local
347 std::pair<aiMesh*,const aiBone*> push_pair(baseMesh,(const aiBone*)0); in SplitMesh()
/dports/multimedia/assimp/assimp-5.1.3/code/PostProcessing/
H A DDeboneProcess.cpp346 aiMesh *baseMesh = MakeSubmesh(pMesh,subFaces,0); in SplitMesh() local
347 std::pair<aiMesh*,const aiBone*> push_pair(baseMesh,(const aiBone*)0); in SplitMesh()
/dports/games/doomsday/doomsday-2.3.1/doomsday/external/assimp/code/
H A DDeboneProcess.cpp346 aiMesh *baseMesh = MakeSubmesh(pMesh,subFaces,0); in SplitMesh() local
347 std::pair<aiMesh*,const aiBone*> push_pair(baseMesh,(const aiBone*)0); in SplitMesh()
/dports/devel/godot/godot-3.2.3-stable/thirdparty/assimp/code/PostProcessing/
H A DDeboneProcess.cpp346 aiMesh *baseMesh = MakeSubmesh(pMesh,subFaces,0); in SplitMesh() local
347 std::pair<aiMesh*,const aiBone*> push_pair(baseMesh,(const aiBone*)0); in SplitMesh()
/dports/devel/godot-tools/godot-3.2.3-stable/thirdparty/assimp/code/PostProcessing/
H A DDeboneProcess.cpp346 aiMesh *baseMesh = MakeSubmesh(pMesh,subFaces,0); in SplitMesh() local
347 std::pair<aiMesh*,const aiBone*> push_pair(baseMesh,(const aiBone*)0); in SplitMesh()
/dports/graphics/urho3d/Urho3D-1.7.1/Source/ThirdParty/Assimp/code/
H A DDeboneProcess.cpp346 aiMesh *baseMesh = MakeSubmesh(pMesh,subFaces,0); in SplitMesh() local
347 std::pair<aiMesh*,const aiBone*> push_pair(baseMesh,(const aiBone*)0); in SplitMesh()
/dports/graphics/qt5-3d/kde-qt3d-5.15.2p39/src/3rdparty/assimp/code/
H A DDeboneProcess.cpp347 aiMesh *baseMesh = MakeSubmesh(pMesh,subFaces,0); in SplitMesh() local
348 std::pair<aiMesh*,const aiBone*> push_pair(baseMesh,(const aiBone*)0); in SplitMesh()
/dports/graphics/qgis-ltr/qgis-3.16.16/tests/src/core/
H A Dtestqgsmeshlayer.cpp1147 QgsTriangularMesh *baseMesh = mMdal3DLayer->triangularMesh(); in test_mesh_simplification() local
1149 QCOMPARE( baseMesh->triangles().count(), 640 ); in test_mesh_simplification()
1152 QVector<QgsTriangularMesh *> simplifiedMeshes = baseMesh->simplifyMesh( 0.5, 1 ); in test_mesh_simplification()
1156 simplifiedMeshes = baseMesh->simplifyMesh( 2, 1 ); in test_mesh_simplification()
/dports/graphics/qgis-ltr/qgis-3.16.16/src/core/mesh/
H A Dqgsmeshlayer.cpp274 QgsTriangularMesh *baseMesh = new QgsTriangularMesh; in updateTriangularMesh() local
275 mTriangularMeshes.emplace_back( baseMesh ); in updateTriangularMesh()
/dports/graphics/qgis/qgis-3.22.3/tests/src/core/
H A Dtestqgsmeshlayer.cpp1163 QgsTriangularMesh *baseMesh = mMdal3DLayer->triangularMesh(); in test_mesh_simplification() local
1165 QCOMPARE( baseMesh->triangles().count(), 640 ); in test_mesh_simplification()
1168 QVector<QgsTriangularMesh *> simplifiedMeshes = baseMesh->simplifyMesh( 0.5, 1 ); in test_mesh_simplification()
1172 simplifiedMeshes = baseMesh->simplifyMesh( 2, 1 ); in test_mesh_simplification()

12