Skip to content

RobinEnjalbert/vedoTk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vedo Toolkit

A Python toolbox based on vedo for 3D objects visualization and manipulation.

Installation

# Option 1 (USERS): install with pip
$ pip install git+https://github.com/RobinEnjalbert/vedoTk.git

# Option 2 (DEVS): install as editable
$ git clone https://github.com/RobinEnjalbert/vedoTk.git
$ cd vedoTk
$ pip install -e .

Usage

Folder inspection

This tool allows you to easily explore the mesh files contents in a repository. The window displays the loaded meshes one by one, and you can switch between files with buttons.

from vedoTk import FolderInspection
FolderInspection(path='examples/resources', extension='.obj')

folder_inspection See examples/folder_inspection.py.

Mesh selection

This tool allows you to easily select vertices from a surface mesh with the mouse. The indices and positions can be saved in a .npy file.

from vedoTk import MeshSelection
plt = MeshSelection(mesh='examples/resources/raptor.obj')
plt.launch()
plt.save('selection.npy')

mesh_selection See examples/mesh_selection.py.

Non-rigid registration

This tool allows you to compute a non-rigid registration between a source and a target mesh using markers and ICP. The registration requires SOFA bindings.

from vedoTk import register
register(source=vedo_source_mesh, target=vedo_target_mesh)

registration See examples/liver_registration.py.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages