Comments (1)
Hello!
You can operate with distances.vec
like as list()
source_points = update_mesh(mesh_current_frame, mask)
meshlib_mesh = meshlib.mrmeshnumpy.meshFromFacesVerts(mesh_current_frame.face_indices.reshape(-1,3), mesh_current_frame.positions)
meshlib_source_points = meshlib.mrmeshnumpy.pointCloudFromPoints(seed_points.positions)
meshlib_targets = meshlib.mrmeshnumpy.pointCloudFromPoints(mesh_current_frame.positions)
distances = meshlib.mrmeshpy.computeSurfaceDistances(meshlib_mesh, meshlib_seeds.validPoints, meshlib_targets.validPoints)
npArrayDistances = numpy.array(distances.vec)
from meshlib.
Related Issues (20)
- Compilation Error in MRPch Project with Eigen3 HOT 4
- Chinese support problem HOT 2
- depth test problem HOT 4
- Upload a closed triangular mesh to MeshInspector but it displays mesh with holes HOT 24
- Example of CMAKE integration and MESHLIB_THIRD_PARTY_INCLUDE_DIR HOT 1
- integration with meshlib deb package - perils of includes HOT 1
- How to create a mesh by my data.(VTK to meshlib) HOT 3
- MRSpaceMouseHandlerHidapi.h - please try to move #include "MRPch/MRSpdlog.h" into MRSpaceMouseHandlerHidapi.cpp HOT 1
- About the normals HOT 1
- measure thickness HOT 5
- MeshLib could not be built in the ubuntu24 container HOT 1
- Use backtrace as a backend for boost-stacktrace
- demo code to show the smooth curvature feature of filling holes or stitching two holes HOT 2
- build WASM/Emscripten error HOT 15
- Crash fill hole in specific case
- Merge multiple meshes with overlapping areas HOT 16
- Improve active voxels support. HOT 5
- Fast Signed Distance Calculation for a list of points HOT 2
- Question about reconstruction HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from meshlib.