[vtk-developers] Class design for spline visualizations

David Thompson david.thompson at kitware.com
Tue Jun 30 12:42:09 EDT 2015


Hi Lin,

> I have finished the conversion from NURBS patch to Bezier patch and generation of surface meshes.
> 
> Now we can load some real nurbs shapes to test. :-)

Great! I'm working on 2 sources of data.

+ [CGM](https://bitbucket.org/fathomteam/cgm) provides a nice interface to OpenCascade's surface definitions, including these methods:

https://bitbucket.org/fathomteam/cgm/src/1aab72dc7c4ca6d0333a88df7b857e49d661db43/geom/Surface.hpp?at=master#cl-370
https://bitbucket.org/fathomteam/cgm/src/1aab72dc7c4ca6d0333a88df7b857e49d661db43/geom/Curve.hpp?at=master#cl-364

CGM has a few CAD models for testing in the "test" directory of the source repo.

+ [PetIGA](https://bitbucket.org/dalcinl/petiga) has 3D NURBS including simulation results but is in a binary file format that is undocumented (except in the source).

	David


More information about the vtk-developers mailing list