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.
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/
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 modifyMakefile.igl
to use the default header only version of libigl.
Then issue:
make -f Makefile.igl clean
make -f Makefile.igl
Issue
make clean
make
Pass a .mesh
file to medit via the command line:
./medit input.mesh
"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.