Skip to content

Port and Modification of Pascal Frey's medit software for tet-mesh visualization

Notifications You must be signed in to change notification settings

alecjacobson/medit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

medit

Port and Modification of Pascal Frey's medit software for tet-mesh visualization

I'm not sure what the original license was for these files. There's French documentation and a related thesis.

This tool is especially useful for examining the output of TetGen: .mesh files.

Compilation

I've ifdef IGL guarded all of my changes, so you can still compile the legacy version.

Before compiling either version issue, compile libmesh.a

make -C libmesh/

Adapted version

To compile the "new and improved" version. First install libigl and AntTweakBar (preferably from libigl/external/AntTweakBar) and yimg (preferably from libigl/external/yimg/)

I've set up the make file to use the optional IGL_STATIC_LIBRARY flag. It should be possible to modify Makefile.igl to use the default header only version of libigl.

Then issue:

make -f Makefile.igl clean
make -f Makefile.igl

Legacy

Issue

make clean
make

Running

Pass a .mesh file to medit via the command line:

./medit input.mesh

Development Notes

"Capping" seems to mean cutting a planar slice. Not the mountain top view. So capTetraMap creates a display list for the planar slice view. And listTetraMap creates one for the mountain top view.

pXYZ is a pointer to XYZ.

pTransform contains many members that are really just deltas (changes) in axis-angle, pan etc.

About

Port and Modification of Pascal Frey's medit software for tet-mesh visualization

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published