Home
last modified time | relevance | path

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

12345678

/dports/devel/vcglib/vcglib-2020.09/apps/sample/trimesh_edge/
H A Dtrimesh_edge.cpp69 void CapHole(MyMesh &m, MyMesh &capMesh, bool reverseFlag) in CapHole()
119 MyMesh::FaceIterator fi=tri::Allocator<MyMesh>::AddFaces(capMesh,nv-2); in CapHole()
137 tri::Append<MyMesh,MyMesh>::Mesh(A,m); in SplitMesh()
145 tri::Append<MyMesh,MyMesh>::Mesh(B,A); in SplitMesh()
161 MyMesh Cap; in SplitMesh()
163 tri::Append<MyMesh,MyMesh>::Mesh(A,Cap); in SplitMesh()
166 tri::Append<MyMesh,MyMesh>::Mesh(B,Cap); in SplitMesh()
207 vcg::IntersectionPlaneMesh<MyMesh, MyMesh, float>(m, slicingPlane, em ); in main()
212 MyMesh A,B; in main()
216 tri::Append<MyMesh,MyMesh>::Mesh(sliced,A); in main()
[all …]
/dports/devel/vcglib/vcglib-2020.09/apps/sample/trimesh_voronoisampling/
H A Dtrimesh_voronoisampling.cpp64 MyMesh baseMesh; in main()
90 tri::SurfaceSampling<MyMesh,tri::TrivialSampler<MyMesh> >::PoissonDiskParam pp; in main()
99 MyMesh poissonCornerMesh; in main()
102 …tri::SurfaceSampling<MyMesh,tri::TrivialSampler<MyMesh> >::VertexBorderCorner(baseMesh,mps,math::T… in main()
106 MyMesh borderMesh,poissonBorderMesh; in main()
129 tri::SurfaceSampling<MyMesh,tri::TrivialSampler<MyMesh> >::VertexBorder(baseMesh,mps); in main()
144 MyMesh MontecarloSurfaceMesh; in main()
146 tri::SurfaceSampling<MyMesh,tri::TrivialSampler<MyMesh> >::Montecarlo(baseMesh,mps,50000); in main()
154 MyMesh PoissonMesh; in main()
175 tri::EuclideanDistance<MyMesh> dd; in main()
[all …]
/dports/devel/vcglib/vcglib-2020.09/apps/sample/trimesh_sampling/
H A Dtrimesh_sampling.cpp54 MyMesh m; in main()
61 …tri::SurfaceSampling<MyMesh,tri::TrivialSampler<MyMesh> >::SamplingRandomGenerator().initialize(ti… in main()
74 MyMesh BasicPoissonMesh; in main()
83 MyMesh MontecarloSurfaceMesh; in main()
84 MyMesh MontecarloEdgeMesh; in main()
85 MyMesh PoissonEdgeMesh; in main()
86 MyMesh PoissonMesh; in main()
93 tri::SurfaceSampling<MyMesh,tri::TrivialSampler<MyMesh> >::EdgeMontecarlo(m,mps,10000,false); in main()
98 tri::SurfaceSampling<MyMesh,tri::TrivialSampler<MyMesh> >::VertexCrease(m, mps); in main()
102 tri::SurfaceSampling<MyMesh,tri::TrivialSampler<MyMesh> >::PoissonDiskParam pp; in main()
[all …]
/dports/devel/vcglib/vcglib-2020.09/apps/sample/trimesh_allocate/
H A Dtrimesh_allocate.cpp48 MyMesh m; in main()
49 MyMesh::VertexIterator vi = vcg::tri::Allocator<MyMesh>::AddVertices(m,3); in main()
50 MyMesh::FaceIterator fi = vcg::tri::Allocator<MyMesh>::AddFaces(m,1); in main()
52 MyMesh::VertexPointer ivp[4]; in main()
62 ivp[3]= &*vcg::tri::Allocator<MyMesh>::AddVertex(m,MyMesh::CoordType ( 1.0, 1.0, 0.0)); in main()
68 MyMesh::FacePointer fp = &m.face[0]; in main()
69 vcg::tri::Allocator<MyMesh>::PointerUpdater<MyMesh::FacePointer> pu; in main()
72 vcg::tri::Allocator<MyMesh>::AddVertices(m,3); in main()
84 MyMesh::CoordType b(0,0,0); in main()
110 MyMesh m2; in main()
[all …]
/dports/devel/vcglib/vcglib-2020.09/apps/sample/trimesh_ransac/
H A Dtrimesh_ransac.cpp61 MyMesh fixM,movM; in main()
70 tri::UpdateBounding<MyMesh>::Box(fixM); in main()
71 tri::UpdateBounding<MyMesh>::Box(movM); in main()
82 RansacFramework<MyMesh,BaseFeatureSet<MyMesh> > Ran; in main()
83 RansacFramework<MyMesh,BaseFeatureSet<MyMesh> >::Param pp; in main()
84 BaseFeatureSet<MyMesh>::Param fpp; in main()
91 std::vector<RansacFramework<MyMesh,BaseFeatureSet<MyMesh> >::Candidate> cVec; in main()
126 MyMesh out0; tri::Append<MyMesh,MyMesh>::MeshCopy(out0,fixM); in main()
130 MyMesh inlierMesh0; in main()
134 MyMesh out1; tri::Append<MyMesh,MyMesh>::MeshCopy(out1,movM); in main()
[all …]
/dports/devel/vcglib/vcglib-2020.09/apps/sample/trimesh_hole/
H A Dtrimesh_hole.cpp104 MyMesh m; in main()
122 MyMesh::FaceIterator fi; in main()
148 MyMesh::VertexIterator vi; in main()
149 MyMesh::FaceIterator f; in main()
150 std::vector<MyMesh::FacePointer> vf; in main()
161 std::vector<MyMesh::FacePointer *> FPP; in main()
162 std::vector<MyMesh::FacePointer> added; in main()
221 MyMesh::FaceIterator f1,f2; in main()
223 MyMesh::VertexIterator vertp = tri::Allocator<MyMesh>::AddVertices(m,toadd); in main()
232 …TriSplit<MyMesh,CenterPointBarycenter<MyMesh> >::Apply(vf[i],&(*f1),&(*f2),&(*vertp),CenterPointBa… in main()
[all …]
/dports/devel/vcglib/vcglib-2020.09/apps/sample/trimesh_attribute/
H A Dtrimesh_attribute.cpp46 MyMesh m; in main()
49MyMesh::PerVertexAttributeHandle<float> named_hv = vcg::tri::Allocator<MyMesh>:: GetPerVertexAttri… in main()
56MyMesh::PerVertexAttributeHandle<bool> anon_hv = vcg::tri::Allocator<MyMesh>:: GetPerVertexAttribu… in main()
59MyMesh::PerFaceAttributeHandle<bool> anon_hf = vcg::tri::Allocator<MyMesh>:: GetPerFaceAttribute<b… in main()
62 MyMesh::VertexIterator vi; int i; in main()
77MyMesh::PerVertexAttributeHandle<float> ret_hv = vcg::tri::Allocator<MyMesh>:: FindPerVertexAttrib… in main()
81MyMesh::PerMeshAttributeHandle<int> hm = vcg::tri::Allocator<MyMesh>:: GetPerMeshAttribute<int> (m… in main()
88 vcg::tri::Allocator<MyMesh>::DeletePerVertexAttribute(m, "Radiosity"); in main()
91 vcg::tri::Allocator<MyMesh>::DeletePerVertexAttribute(m, anon_hv); in main()
98 vcg::tri::Allocator<MyMesh>::DeletePerVertexAttribute(m,ret_hv); in main()
[all …]
/dports/devel/vcglib/vcglib-2020.09/wrap/nanoply/nanoply_vcg/
H A Dmain.cpp40 MyMesh::PerVertexAttributeHandle<int> vertexMaterial;
44 MyMesh() in MyMesh() function in MyMesh
81 bool Load(const char* filename, MyMesh& mesh) in Load()
99 mask |= nanoply::NanoPlyWrapper<MyMesh>::IO_VERTCOORD; in Load()
101 mask |= nanoply::NanoPlyWrapper<MyMesh>::IO_VERTCOLOR; in Load()
104 mask |= nanoply::NanoPlyWrapper<MyMesh>::IO_FACEINDEX; in Load()
129 mask |= nanoply::NanoPlyWrapper<MyMesh>::IO_VERTCOORD; in Save()
131 mask |= nanoply::NanoPlyWrapper<MyMesh>::IO_VERTCOLOR; in Save()
134 mask |= nanoply::NanoPlyWrapper<MyMesh>::IO_FACEINDEX; in Save()
145 MyMesh mesh1; in main()
[all …]
/dports/graphics/wdune/wdune-1.926/vcglib/wrap/nanoply/nanoply_vcg/
H A Dmain.cpp40 MyMesh::PerVertexAttributeHandle<int> vertexMaterial;
44 MyMesh() in MyMesh() function in MyMesh
81 bool Load(const char* filename, MyMesh& mesh) in Load()
99 mask |= nanoply::NanoPlyWrapper<MyMesh>::IO_VERTCOORD; in Load()
101 mask |= nanoply::NanoPlyWrapper<MyMesh>::IO_VERTCOLOR; in Load()
104 mask |= nanoply::NanoPlyWrapper<MyMesh>::IO_FACEINDEX; in Load()
129 mask |= nanoply::NanoPlyWrapper<MyMesh>::IO_VERTCOORD; in Save()
131 mask |= nanoply::NanoPlyWrapper<MyMesh>::IO_VERTCOLOR; in Save()
134 mask |= nanoply::NanoPlyWrapper<MyMesh>::IO_FACEINDEX; in Save()
145 MyMesh mesh1; in main()
[all …]
/dports/devel/vcglib/vcglib-2020.09/apps/sample/trimesh_refine/
H A Dtrimesh_refine.cpp99 MyMesh m; in main()
101 if(tri::io::ImporterPLY<MyMesh>::Open(m,argv[1])!=0) { in main()
107 tri::UpdateTopology<MyMesh>::FaceFace(m); in main()
108 tri::UpdateFlags<MyMesh>::FaceBorderFromFF(m); in main()
109 tri::UpdateNormal<MyMesh>::PerVertexNormalized(m); in main()
119 tri::Refine<MyMesh, tri::MidPoint<MyMesh> >(m,tri::MidPoint<MyMesh>(&m),length); in main()
122 …:RefineOddEven<MyMesh, tri::OddPointLoop<MyMesh>, tri::EvenPointLoop<MyMesh> >(m, tri::OddPointLoo… in main()
126 tri::UpdateNormal<MyMesh>::PerBitQuadFaceNormalized(m); in main()
129 tri::BitQuadCreation<MyMesh>::MakePureByRefine(m); in main()
130 tri::UpdateNormal<MyMesh>::PerBitQuadFaceNormalized(m); in main()
[all …]
/dports/devel/vcglib/vcglib-2020.09/apps/sample/trimesh_pointcloud_sampling/
H A Dtrimesh_pointcloud_sampling.cpp54 MyMesh m; in main()
55 MyMesh subM; in main()
56 MyMesh cluM; in main()
57 MyMesh rndM; in main()
59 tri::MeshSampler<MyMesh> mps(subM); in main()
60 tri::MeshSampler<MyMesh> mrs(rndM); in main()
67 …tri::SurfaceSampling<MyMesh,tri::TrivialSampler<MyMesh> >::SamplingRandomGenerator().initialize(ti… in main()
72 tri::SurfaceSampling<MyMesh,tri::MeshSampler<MyMesh> >::PoissonDiskParam pp; in main()
74 tri::SurfaceSampling<MyMesh,tri::MeshSampler<MyMesh> >::PoissonDiskPruning(mps, m, radius, pp); in main()
79 tri::Clustering<MyMesh, vcg::tri::AverageColorCell<MyMesh> > ClusteringGrid; in main()
[all …]
/dports/devel/vcglib/vcglib-2020.09/apps/sample/trimesh_intersection_plane/
H A Dtrimesh_intersection_plane.cpp64 MyMesh m, m_over, m_under;; in main()
76 vcg::IntersectionPlaneMesh<MyMesh, MyEdgeMesh, MyMesh::ScalarType>(m, plane, edge_mesh); in main()
88 tri::UpdateQuality<MyMesh>::VertexFromPlane(m, plane); in main()
89 tri::QualityMidPointFunctor<MyMesh> slicingfunc(0.0); in main()
90 tri::QualityEdgePredicate<MyMesh> slicingpred(0.0,0.0); in main()
91 tri::UpdateTopology<MyMesh>::FaceFace(m); in main()
92 …tri::RefineE<MyMesh, tri::QualityMidPointFunctor<MyMesh>, tri::QualityEdgePredicate<MyMesh> > (m, … in main()
95 tri::UpdateSelection<MyMesh>::FaceFromVertexStrict(m); in main()
96 tri::Append<MyMesh,MyMesh>::Mesh(m_over,m,true); in main()
97 tri::UpdateSelection<MyMesh>::FaceInvert(m); in main()
[all …]
/dports/devel/vcglib/vcglib-2020.09/apps/sample/trimesh_normal/
H A Dtrimesh_normal.cpp56 MyMesh m; in main()
58 if(tri::io::ImporterOFF<MyMesh>::Open(m,argv[1])!=0) in main()
66 tri::UpdateNormal<MyMesh>::PerVertexClear(m); in main()
67 tri::UpdateNormal<MyMesh>::PerVertex(m); in main()
68 tri::UpdateNormal<MyMesh>::PerVertexAngleWeighted(m); in main()
70 tri::UpdateNormal<MyMesh>::PerFace(m); in main()
73 tri::UpdateNormal<MyMesh>::NormalizePerVertex(m); in main()
74 tri::UpdateNormal<MyMesh>::NormalizePerFace(m); in main()
75 tri::UpdateNormal<MyMesh>::NormalizePerFaceByArea(m); in main()
77 tri::UpdateNormal<MyMesh>::PerVertexMatrix(m,m44); in main()
[all …]
/dports/devel/vcglib/vcglib-2020.09/apps/sample/edgemesh_sampling/
H A Dedgemesh_sampling.cpp56 MyMesh m,e; in main()
58 if(tri::io::ImporterOFF<MyMesh>::Open(m,argv[1])!=0) in main()
67 tri::UpdateTopology<MyMesh>::FaceFace(m); in main()
71 assert(tri::Clean<MyMesh>::IsFaceFauxConsistent(m)); in main()
75 tri::UpdateTopology<MyMesh>::VertexEdge(e); in main()
76 tri::Clean<MyMesh>::SelectNonManifoldVertexOnEdgeMesh(e); in main()
78 tri::Clean<MyMesh>::SplitSelectedVertexOnEdgeMesh(e); in main()
82 tri::Clean<MyMesh>::SplitSelectedVertexOnEdgeMesh(e); in main()
88 tri::TrivialSampler<MyMesh> ps(sampleVec); in main()
90 MyMesh sampleMesh; in main()
[all …]
/dports/math/openmesh/OpenMesh-8.1/src/Unittests/
H A Dunittests_subdivider_adaptive.cc65 typedef MyMesh::VertexHandle VHandle;
66 typedef MyMesh::FaceHandle FHandle;
70 MyMesh mesh; in TEST_F()
80 vhandle[0] = mesh.add_vertex(MyMesh::Point(0, 0, 0)); in TEST_F()
81 vhandle[1] = mesh.add_vertex(MyMesh::Point(0, 1, 0)); in TEST_F()
82 vhandle[2] = mesh.add_vertex(MyMesh::Point(0, 2, 0)); in TEST_F()
83 vhandle[3] = mesh.add_vertex(MyMesh::Point(1, 0, 0)); in TEST_F()
84 vhandle[4] = mesh.add_vertex(MyMesh::Point(1, 1, 0)); in TEST_F()
85 vhandle[5] = mesh.add_vertex(MyMesh::Point(1, 2, 0)); in TEST_F()
86 vhandle[6] = mesh.add_vertex(MyMesh::Point(2, 0, 0)); in TEST_F()
[all …]
/dports/devel/vcglib/vcglib-2020.09/apps/sample/trimesh_intersection_mesh/
H A Dtrimesh_intersection_mesh.cpp58 MyMesh m1, m2; in main()
66 tri::UpdatePosition<MyMesh>::Translate(m1,direction); in main()
69 tri::Clean<MyMesh>::SelectIntersectingFaces(m1,m2); in main()
70 tri::UpdateSelection<MyMesh>::FaceDilate(m1); in main()
71 tri::Clean<MyMesh>::SelectIntersectingFaces(m2,m1); in main()
72 tri::UpdateSelection<MyMesh>::FaceDilate(m2); in main()
73 IsotropicRemeshing<MyMesh>::Params params; in main()
75 …float len = (tri::Stat<MyMesh>::ComputeFaceEdgeLengthAverage(m1,true) + tri::Stat<MyMesh>::Compute… in main()
81 IsotropicRemeshing<MyMesh>::Do(m1, params); in main()
82 IsotropicRemeshing<MyMesh>::Do(m2, params); in main()
[all …]
/dports/devel/vcglib/vcglib-2020.09/apps/sample/trimesh_voronoiclustering/
H A Dtrimesh_voronoiclustering.cpp51 MyMesh baseMesh, clusteredMesh; in main()
60 int ret= tri::io::ImporterPLY<MyMesh>::Open(baseMesh,argv[1]); in main()
68 tri::UpdateTopology<MyMesh>::VertexFace(baseMesh); in main()
69 tri::TrivialPointerSampler<MyMesh> cs; in main()
70 …tri::SurfaceSampling<MyMesh, tri::TrivialPointerSampler<MyMesh> >::SamplingRandomGenerator().initi… in main()
71 …tri::SurfaceSampling<MyMesh, tri::TrivialPointerSampler<MyMesh> >::VertexUniform(baseMesh,cs,seedN… in main()
73 tri::EuclideanDistance<MyMesh> df; 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()
78 tri::io::ExporterPLY<MyMesh>::Save(baseMesh,"base.ply",tri::io::Mask::IOM_VERTCOLOR ); in main()
[all …]
/dports/devel/vcglib/vcglib-2020.09/apps/unsupported/texdeci/
H A Dtexdeci.cpp61 …pseQTex: public TriEdgeCollapseQuadricTex< MyMesh, VertexPair, MyTriEdgeCollapseQTex, QuadricTexHe…
63 …typedef TriEdgeCollapseQuadricTex< MyMesh, VertexPair, MyTriEdgeCollapseQTex, QuadricTexHelper<M…
82 tri::UpdateBounding<MyMesh>::Box(m); in TexDecimation()
85 QuadricTexHelper<MyMesh>::QuadricTemp TD3(m.vert,QZero); in TexDecimation()
86 QuadricTexHelper<MyMesh>::TDp3()=&TD3; in TexDecimation()
90 QuadricTexHelper<MyMesh>::Quadric5Temp TD(m.vert,qv); in TexDecimation()
91 QuadricTexHelper<MyMesh>::TDp()=&TD; in TexDecimation()
94 vcg::LocalOptimization<MyMesh> DeciSession(m, &pp); in TexDecimation()
125 MyMesh meshVec[10]; in main()
141 tri::Smooth<MyMesh>::VertexCoordLaplacian(meshVec[i],5*i); in main()
[all …]
/dports/devel/vcglib/vcglib-2020.09/apps/sample/trimesh_voronoi/
H A Dtrimesh_voronoi.cpp47 class MyMesh : public tri::TriMesh< vector<MyVertex>, vector<MyEdge>, vector<MyFace> > {}; class
51 MyMesh baseMesh,voronoiMesh, voronoiPoly, delaunayMesh; in main()
64 int ret= tri::io::ImporterPLY<MyMesh>::Open(baseMesh,argv[1]); in main()
67 printf("Unable to open %s for '%s'\n",argv[1],tri::io::ImporterPLY<MyMesh>::ErrorMsg(ret)); in main()
72 tri::io::ImporterPLY<MyMesh>::Open(baseMesh,argv[1]); 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()
88 tri::EuclideanDistance<MyMesh> df; in main()
97 if(tri::VoronoiProcessing<MyMesh>::CheckVoronoiTopology(baseMesh,seedVec)) in main()
[all …]
/dports/devel/vcglib/vcglib-2020.09/apps/sample/trimesh_harmonic/
H A Dtrimesh_harmonic.cpp41 class MyMesh : public tri::TriMesh< vector<MyVertex>, vector<MyFace> > {}; class
48 MyMesh m; in main()
55 int ret= tri::io::ImporterPLY<MyMesh>::Open(m,argv[1]); in main()
62 tri::UpdateTopology<MyMesh>::FaceFace(m); in main()
71 tri::Harmonic<MyMesh, double>::ConstraintVec constraints; in main()
72 constraints.push_back(tri::Harmonic<MyMesh, double>::Constraint(&(m.vert[ind0]), 1.0f)); in main()
73 constraints.push_back(tri::Harmonic<MyMesh, double>::Constraint(&(m.vert[ind1]), 2.0f)); in main()
75MyMesh::PerVertexAttributeHandle<double> handle = tri::Allocator<MyMesh>::GetPerVertexAttribute<do… in main()
76 bool ok = tri::Harmonic<MyMesh, double>::ComputeScalarField(m, constraints, handle); in main()
79 tri::UpdateQuality<MyMesh>::VertexFromAttributeHandle(m,handle); in main()
[all …]
/dports/math/openmesh/OpenMesh-8.1/src/OpenMesh/Apps/Smoothing/
H A Dsmooth.cc98 MyMesh mesh; in main()
103 SmootherT<MyMesh>::Continuity in main()
104 continuity = SmootherT<MyMesh>::C1; in main()
106 SmootherT<MyMesh>::Component in main()
126 component = component==SmootherT<MyMesh>::Normal in main()
127 ? SmootherT<MyMesh>::Tangential_and_Normal in main()
128 : SmootherT<MyMesh>::Tangential; in main()
132 component = component==SmootherT<MyMesh>::Tangential in main()
133 ? SmootherT<MyMesh>::Tangential_and_Normal in main()
134 : SmootherT<MyMesh>::Normal; in main()
[all …]
/dports/devel/vcglib/vcglib-2020.09/wrap/igl/sample/trimesh_field_smoothing/
H A Dtrimesh_field_smoothing.cpp44 class MyMesh : public tri::TriMesh< std::vector<MyVertex>, std::vector<MyFace> , vector<MyEdge> … class
49 MyMesh m; in main()
51 tri::UpdateTopology<MyMesh>::FaceFace(m); in main()
52 tri::UpdateFlags<MyMesh>::FaceBorderFromFF(m); in main()
54 tri::Refine<MyMesh, tri::MidPoint<MyMesh> >(m,tri::MidPoint<MyMesh>(&m)); in main()
56 tri::UpdateNormal<MyMesh>::PerVertexNormalized(m); in main()
57 tri::Smooth<MyMesh>::VertexCoordLaplacian(m,3); in main()
58 tri::FieldSmoother<MyMesh>::InitByCurvature(m); in main()
59 tri::FieldSmoother<MyMesh>::SmoothParam par; in main()
61 tri::FieldSmoother<MyMesh>::SmoothDirections(m,par); in main()
[all …]
/dports/devel/vcglib/vcglib-2020.09/apps/sample/trimesh_ray/
H A Dtrimesh_ray.cpp58 typedef vcg::GridStaticPtr<MyMesh::FaceType, MyMesh::ScalarType> TriMeshGrid;
75 MyMesh m; in main()
78 int err = tri::io::Importer<MyMesh>::Open(m,argv[1]); in main()
104 tri::UpdateBounding<MyMesh>::Box(m); in main()
105 tri::UpdateNormal<MyMesh>::PerFaceNormalized(m); in main()
107 tri::UpdateNormal<MyMesh>::NormalizePerVertex(m); in main()
112 typedef MyMesh::ScalarType ScalarType; in main()
115 MyMesh::FaceType *rf; in main()
116 MyMesh::VertexIterator vi; in main()
124 tri::UpdateQuality<MyMesh>::VertexConstant(m,0); in main()
[all …]
/dports/devel/vcglib/vcglib-2020.09/apps/sample/trimesh_remeshing/
H A Dtrimesh_remeshing.cpp54 MyMesh original,toremesh; in main()
61 if(tri::io::Importer<MyMesh>::Open(original,argv[1])!=0) in main()
77 tri::Clean<MyMesh>::RemoveUnreferencedVertex(original); in main()
78 Allocator<MyMesh>::CompactEveryVector(original); in main()
82 tri::UpdateBounding<MyMesh>::Box(original); in main()
84 vcg::tri::Append<MyMesh,MyMesh>::MeshCopy(toremesh,original); in main()
86 tri::UpdateBounding<MyMesh>::Box(toremesh); in main()
88 tri::UpdateTopology<MyMesh>::FaceFace(toremesh); in main()
93 IsotropicRemeshing<MyMesh>::Params params; in main()
114 IsotropicRemeshing<MyMesh>::Do(toremesh, original, params); in main()
[all …]
/dports/devel/vcglib/vcglib-2020.09/apps/sample/trimesh_geodesic/
H A Dtrimesh_geodesic.cpp55 MyMesh m; in main()
67 for(MyMesh::VertexIterator vi=m.vert.begin();vi!=m.vert.end(); ++vi) in main()
77 tri::EuclideanDistance<MyMesh> ed; in main()
78 tri::Clean<MyMesh>::RemoveUnreferencedVertex(m); in main()
79 tri::Allocator<MyMesh>::CompactEveryVector(m); in main()
80 tri::UpdateTopology<MyMesh>::VertexFace(m); in main()
81 tri::Geodesic<MyMesh>::Compute(m,seedVec,ed); in main()
82 pair<float,float> minmax = tri::Stat<MyMesh>::ComputePerVertexQualityMinMax(m); in main()
83 tri::UpdateColor<MyMesh>::PerVertexQualityRamp(m); in main()
87 tri::Geodesic<MyMesh>::PerVertexDijkstraCompute(m,seedVec,ed); in main()
[all …]

12345678