[vtk-developers] Class design for spline visualizations

Lin M majcjc at gmail.com
Tue Jun 30 12:50:34 EDT 2015


I forgot one thing, the vtkPoints can not hold a 4-dimension vtkDataArray
so I cannot store the control points in the vtkStructuredGrid. Currently I
stored it separately in a vtkDataArray for test. Do I need to implement a
vtkPoints subclass likt vtkControlPoints to allow it store 4-dimension
coordinates?

On Tue, Jun 30, 2015 at 12:42 PM, David Thompson <david.thompson at kitware.com
> wrote:

> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20150630/898b9c88/attachment-0001.html>


More information about the vtk-developers mailing list