open source marching cubes algorithm in c++?

3.5k views Asked by At

i am trying to use marching cubes to visualize molecular densities and i was wondering if there was a place on the web that has a open source libraries to do this. i have seen many people post their code online, but i don't want to "steal" code.

i know i can email them and ask for permission, which i might end up doing, but i was wondering if there was a LAPACK type library for computer graphics which would have a marching cubes routine which i could just link against.

by this i mean that LAPACK simply has functions which do a predetermined linear algebra calculation and it is very common for people to simply link to LAPACk (or something like it) instead of writing their own code from scratch.

is there a package or library like this for marching cubes?

1

There are 1 answers

1
Eric Z On BEST ANSWER

Take a look at VTK open source library. I used to use that before:

vtkMarchingCubes Class Reference