MCGL - Matlab Computer Graphics Library

Home Indexed-Face-Set Half-Edge Formats Download


MCGL MATLAB Computer Graphics Library is an extension toolbox for MATLAB 7 (R14) and above. MCGL introduces into the MATLAB environment several new data structures and classes together with tens of new functions that support many mesh-processing tasks. MCGL is accessible through the built-in MATLAB command line interface with easy and intuitive functions and methods.

The most frequently used classes are IndexedFaceSet, which holds the set of the mesh vertices and faces, and HalfEdge, which inherits IndexedFaceSet properties and also supports traversal on the mesh vertices together with queries such as: which are the neighbors of a specific vertex, which are the in and out edges to and from a specific vertex, etc. The library also supports import and export functions from and to VRML format.