Home
last modified time | relevance | path

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

12

/dports/devel/vcglib/vcglib-2020.09/apps/sample/trimesh_split_vertex/
H A Dtrimesh_split_vertex.cpp76 inline void ExtractVertex(const SrcMesh & srcMesh, const SrcFace & f, int whichWedge, const DstMesh… in ExtractVertex() argument
78 (void)srcMesh; in ExtractVertex()
122 SrcMesh srcMesh; in main() local
124 srcMesh.face.EnableWedgeTexCoord(); in main()
126 vcg::tri::io::ImporterPLY<SrcMesh>::Open(srcMesh, argv[1]); in main()
127 if ((srcMesh.VN() <= 0) || (srcMesh.FN() <= 0)) in main()
132 const int srcVN = srcMesh.VN(); in main()
133 const int srcFN = srcMesh.FN(); in main()
137 DstMesh & dstMesh = srcMesh; in main()
142 vcg::tri::AttributeSeam::SplitVertex(srcMesh, dstMesh, ExtractVertex, CompareVertex, CopyVertex); in main()
[all …]
/dports/cad/meshlab/meshlab-Meshlab-2020.05/src/meshlabplugins/filter_texture/
H A Dfilter_texture.cpp257 (void)srcMesh; in ExtractVertex()
849 assert (srcMesh != NULL); in applyFilter()
966 if (srcMesh != trgMesh) in applyFilter()
969 tri::UpdatePosition<CMeshO>::Matrix(srcMesh->cm, srcMesh->cm.Tr, true); in applyFilter()
992 if (srcMesh != trgMesh) in applyFilter()
995 tri::UpdatePosition<CMeshO>::Matrix(srcMesh->cm, Inverse(srcMesh->cm.Tr), true); in applyFilter()
1047 assert(srcMesh!=NULL); in applyFilter()
1073 if (srcMesh != trgMesh) in applyFilter()
1076 tri::UpdatePosition<CMeshO>::Matrix(srcMesh->cm, srcMesh->cm.Tr, true); in applyFilter()
1089 if (srcMesh != trgMesh) in applyFilter()
[all …]
H A Drastering.h36 CMeshO &srcMesh; variable
50 srcMesh(_srcMesh), srcImgs(_srcImg), dist_upper_bound(upperBound) in VertexSampler()
172 CMeshO *srcMesh; variable
213 srcMesh=&_srcMesh; in TransferColorSampler()
277 …nearestV = vcg::tri::GetClosestVertex<CMeshO,VertexMeshGrid>(*srcMesh,unifGridVert,startPt,dist_u…
/dports/devel/juce/JUCE-f37e9a1/examples/DemoRunner/Builds/Android/app/src/main/assets/
H A DWavefrontObjParser.h121 Index getIndexFor (TripleIndex i, Mesh& newMesh, const Mesh& srcMesh) in getIndexFor()
130 if (isPositiveAndBelow (i.vertexIndex, srcMesh.vertices.size())) in getIndexFor()
133 if (isPositiveAndBelow (i.normalIndex, srcMesh.normals.size())) in getIndexFor()
134 newMesh.normals.add (srcMesh.normals.getReference (i.normalIndex)); in getIndexFor()
136 if (isPositiveAndBelow (i.textureIndex, srcMesh.textureCoords.size())) in getIndexFor()
195 void addIndices (Mesh& newMesh, const Mesh& srcMesh, IndexMap& indexMap) in addIndices()
204 newMesh.indices.add (indexMap.getIndexFor (i0, newMesh, srcMesh)); in addIndices()
205 newMesh.indices.add (indexMap.getIndexFor (i1, newMesh, srcMesh)); in addIndices()
206 newMesh.indices.add (indexMap.getIndexFor (i2, newMesh, srcMesh)); in addIndices()
245 static Shape* parseFaceGroup (const Mesh& srcMesh, in parseFaceGroup() argument
[all …]
/dports/devel/juce/JUCE-f37e9a1/examples/Assets/
H A DWavefrontObjParser.h121 Index getIndexFor (TripleIndex i, Mesh& newMesh, const Mesh& srcMesh) in getIndexFor()
130 if (isPositiveAndBelow (i.vertexIndex, srcMesh.vertices.size())) in getIndexFor()
133 if (isPositiveAndBelow (i.normalIndex, srcMesh.normals.size())) in getIndexFor()
134 newMesh.normals.add (srcMesh.normals.getReference (i.normalIndex)); in getIndexFor()
136 if (isPositiveAndBelow (i.textureIndex, srcMesh.textureCoords.size())) in getIndexFor()
195 void addIndices (Mesh& newMesh, const Mesh& srcMesh, IndexMap& indexMap) in addIndices()
204 newMesh.indices.add (indexMap.getIndexFor (i0, newMesh, srcMesh)); in addIndices()
205 newMesh.indices.add (indexMap.getIndexFor (i1, newMesh, srcMesh)); in addIndices()
206 newMesh.indices.add (indexMap.getIndexFor (i2, newMesh, srcMesh)); in addIndices()
245 static Shape* parseFaceGroup (const Mesh& srcMesh, in parseFaceGroup() argument
[all …]
/dports/games/gtkradiant/GPL/GtkRadiant/tools/quake3/q3map2/
H A Dsurface_foliage.c178 mesh_t srcMesh, *subdivided, *mesh; in Foliage() local
216 srcMesh.width = src->patchWidth; in Foliage()
217 srcMesh.height = src->patchHeight; in Foliage()
218 srcMesh.verts = src->verts; in Foliage()
219 subdivided = SubdivideMesh( srcMesh, 8, 512 ); in Foliage()
/dports/games/netradiant/netradiant-20150621-src/tools/quake3/q3map2/
H A Dsurface_foliage.c182 mesh_t srcMesh, *subdivided, *mesh; in Foliage() local
221 srcMesh.width = src->patchWidth; in Foliage()
222 srcMesh.height = src->patchHeight; in Foliage()
223 srcMesh.verts = src->verts; in Foliage()
224 subdivided = SubdivideMesh( srcMesh, 8, 512 ); in Foliage()
/dports/games/spring/spring_98.0/rts/lib/assimp/code/
H A DDeboneProcess.cpp122 aiMesh* srcMesh = pScene->mMeshes[a]; in Execute() local
127 SplitMesh(srcMesh,newMeshes); in Execute()
132 unsigned int out = 0, in = srcMesh->mNumBones; in Execute()
154 delete srcMesh; in Execute()
159 meshes.push_back(srcMesh); in Execute()
H A DSplitByBoneCountProcess.cpp110 aiMesh* srcMesh = pScene->mMeshes[a]; in Execute() local
126 delete srcMesh; in Execute()
132 meshes.push_back( srcMesh); in Execute()
/dports/devel/upp/upp/bazaar/plugin/assimp/code/PostProcessing/
H A DDeboneProcess.cpp125 aiMesh* srcMesh = pScene->mMeshes[a]; in Execute() local
130 SplitMesh(srcMesh,newMeshes); in Execute()
135 unsigned int out = 0, in = srcMesh->mNumBones; in Execute()
155 delete srcMesh; in Execute()
160 meshes.push_back(srcMesh); in Execute()
/dports/multimedia/assimp/assimp-5.1.3/code/PostProcessing/
H A DDeboneProcess.cpp125 aiMesh* srcMesh = pScene->mMeshes[a]; in Execute() local
130 SplitMesh(srcMesh,newMeshes); in Execute()
135 unsigned int out = 0, in = srcMesh->mNumBones; in Execute()
155 delete srcMesh; in Execute()
160 meshes.push_back(srcMesh); in Execute()
/dports/games/doomsday/doomsday-2.3.1/doomsday/external/assimp/code/
H A DDeboneProcess.cpp123 aiMesh* srcMesh = pScene->mMeshes[a]; in Execute() local
128 SplitMesh(srcMesh,newMeshes); in Execute()
133 unsigned int out = 0, in = srcMesh->mNumBones; in Execute()
155 delete srcMesh; in Execute()
160 meshes.push_back(srcMesh); in Execute()
H A DSplitByBoneCountProcess.cpp112 aiMesh* srcMesh = pScene->mMeshes[a]; in Execute() local
128 delete srcMesh; in Execute()
134 meshes.push_back( srcMesh); in Execute()
/dports/devel/godot/godot-3.2.3-stable/thirdparty/assimp/code/PostProcessing/
H A DDeboneProcess.cpp125 aiMesh* srcMesh = pScene->mMeshes[a]; in Execute() local
130 SplitMesh(srcMesh,newMeshes); in Execute()
135 unsigned int out = 0, in = srcMesh->mNumBones; in Execute()
155 delete srcMesh; in Execute()
160 meshes.push_back(srcMesh); in Execute()
/dports/devel/godot-tools/godot-3.2.3-stable/thirdparty/assimp/code/PostProcessing/
H A DDeboneProcess.cpp125 aiMesh* srcMesh = pScene->mMeshes[a]; in Execute() local
130 SplitMesh(srcMesh,newMeshes); in Execute()
135 unsigned int out = 0, in = srcMesh->mNumBones; in Execute()
155 delete srcMesh; in Execute()
160 meshes.push_back(srcMesh); in Execute()
/dports/graphics/urho3d/Urho3D-1.7.1/Source/ThirdParty/Assimp/code/
H A DDeboneProcess.cpp123 aiMesh* srcMesh = pScene->mMeshes[a]; in Execute() local
128 SplitMesh(srcMesh,newMeshes); in Execute()
133 unsigned int out = 0, in = srcMesh->mNumBones; in Execute()
155 delete srcMesh; in Execute()
160 meshes.push_back(srcMesh); in Execute()
/dports/graphics/qt5-3d/kde-qt3d-5.15.2p39/src/3rdparty/assimp/code/
H A DDeboneProcess.cpp124 aiMesh* srcMesh = pScene->mMeshes[a]; in Execute() local
129 SplitMesh(srcMesh,newMeshes); in Execute()
134 unsigned int out = 0, in = srcMesh->mNumBones; in Execute()
156 delete srcMesh; in Execute()
161 meshes.push_back(srcMesh); in Execute()
H A DSplitByBoneCountProcess.cpp113 aiMesh* srcMesh = pScene->mMeshes[a]; in Execute() local
129 delete srcMesh; in Execute()
135 meshes.push_back( srcMesh); in Execute()
/dports/cad/meshlab/meshlab-Meshlab-2020.05/src/meshlabplugins/filter_sampling/
H A Dfilter_sampling.cpp1148 MeshModel* srcMesh = par.getMesh("SourceMesh"); // mesh whose attribute are read in applyFilter() local
1159 if (srcMesh == trgMesh){ in applyFilter()
1184 if (srcMesh->cm.Tr != Matrix44m::Identity()) in applyFilter()
1185 tri::UpdatePosition<CMeshO>::Matrix(srcMesh->cm, srcMesh->cm.Tr, true); in applyFilter()
1189 srcMesh->updateDataMask(MeshModel::MM_FACEMARK); in applyFilter()
1190 tri::UpdateNormal<CMeshO>::PerFaceNormalized(srcMesh->cm); in applyFilter()
1193 rs.init(&(srcMesh->cm),cb,trgMesh->cm.vn); in applyFilter()
1206 qDebug("Source mesh has %7i vert %7i face",srcMesh->cm.vn,srcMesh->cm.fn); in applyFilter()
1214 if (srcMesh->cm.Tr != Matrix44m::Identity()) in applyFilter()
1215 tri::UpdatePosition<CMeshO>::Matrix(srcMesh->cm, Inverse(srcMesh->cm.Tr), true); in applyFilter()
/dports/science/libgridxc/libgridxc-libgridxc-0.9.6/src/
H A Dmesh3d.F902251 integer :: srcBox(2,3), srcMesh(3) local
2259 srcMesh = srcBox(2,:) - srcBox(1,:) + 1
2264 if (any( shape(srcData) /= srcMesh )) then
2269 errHead//'shape(srcData),srcMesh =', shape(srcData), srcMesh
2277 call re_alloc( mySrcData, 0,srcMesh(1)-1, 0,srcMesh(2)-1, 0,srcMesh(3)-1, &
2279 mySrcData(0:srcMesh(1)-1,0:srcMesh(2)-1,0:srcMesh(3)-1,1) = &
2280 srcData(0:srcMesh(1)-1,0:srcMesh(2)-1,0:srcMesh(3)-1)
/dports/science/siesta/siesta-4.1.5/Src/SiestaXC/
H A Dmesh3d.F902250 integer :: srcBox(2,3), srcMesh(3) local
2258 srcMesh = srcBox(2,:) - srcBox(1,:) + 1
2263 if (any( shape(srcData) /= srcMesh )) then
2268 errHead//'shape(srcData),srcMesh =', shape(srcData), srcMesh
2276 call re_alloc( mySrcData, 0,srcMesh(1)-1, 0,srcMesh(2)-1, 0,srcMesh(3)-1, &
2278 mySrcData(0:srcMesh(1)-1,0:srcMesh(2)-1,0:srcMesh(3)-1,1) = &
2279 srcData(0:srcMesh(1)-1,0:srcMesh(2)-1,0:srcMesh(3)-1)
/dports/devel/upp/upp/bazaar/plugin/assimp/code/Common/
H A DSplitByBoneCountProcess.cpp114 aiMesh* srcMesh = pScene->mMeshes[a]; in Execute() local
130 delete srcMesh; in Execute()
136 meshes.push_back( srcMesh); in Execute()
/dports/cad/meshlab/meshlab-Meshlab-2020.05/src/meshlabplugins/filter_isoparametrization/
H A Dfilter_isoparametrization.cpp416 CMeshO *srcMesh=&mmsrc->cm; in applyFilter() local
421 bool b=tri::Allocator<CMeshO>::IsValidHandle<IsoParametrization>(*srcMesh,isoPHandle); in applyFilter()
439 tri::Allocator<CMeshO>::DeletePerMeshAttribute(*srcMesh,isoPHandle); in applyFilter()
/dports/devel/godot/godot-3.2.3-stable/thirdparty/assimp/code/Common/
H A DSplitByBoneCountProcess.cpp114 aiMesh* srcMesh = pScene->mMeshes[a]; in Execute() local
130 delete srcMesh; in Execute()
136 meshes.push_back( srcMesh); in Execute()
/dports/devel/godot-tools/godot-3.2.3-stable/thirdparty/assimp/code/Common/
H A DSplitByBoneCountProcess.cpp114 aiMesh* srcMesh = pScene->mMeshes[a]; in Execute() local
130 delete srcMesh; in Execute()
136 meshes.push_back( srcMesh); in Execute()

12