Giter Site home page Giter Site logo

powercrust's Introduction

This is a VTK implementation of the powercrust algorithm:
Amenta, Choi and Kolluri, The power crust, 6th ACM Symposium on Solid Modeling, 2001, pages 249-260
Amenta, Choi and Kolluri, The power crust, unions of balls, and the medial axis transform, Computational Geometry: Theory and Applications, 2001, 19:(2-3), pages 127-153. 

Sample code in C with a GPL license was made available as a tar ball by the authors at:
http://www.cs.ucdavis.edu/~amenta/powercrust.html

It was subsequently improved and ported to VTK by Tim Hutton at:
http://www.sq3.org.uk/powercrust/

The VTK code had compilation bugs with gcc 4.6.3 with Ubuntu 12.04 LTS. I cleared the bugs and ported to VTK 6.0. Note that VTK 6.0 has backwards incompatible API changes. The VTK 6.0 compatible code is on master branch and VTK 5.0 compatible code is located on a separate branch.

To use the code, I have provided a sample CMakeLists.txt file for using CMake. I have also provided a simple main file ReconstructFromPoints.txt that accepts a text file of unorganized points in the following format:

NumberOfPoints
X Y Z
.....

Using the code, one can make changes in the r parameter and also write out the reconstructed surface and the medial surface. The original C code is more powerful and can simplify the medial surface and reconstruct a smoother surface.

If you improve the code, please contribute back to this repository.

Kishore Mosaliganti

Research Fellow in Megason Lab,
Department of Systems Biology,
Harvard Medical School,
200 Longwood Avenue, WAB 536,
Boston, MA 02115

powercrust's People

Contributors

krm15 avatar lorensen avatar sankhesh avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.