[vtkusers] visualizing NURBS++ surfaces (maybe a FAQ??)

Adriano Gagliardi agagliardi at ara.co.uk
Tue Aug 23 11:36:01 EDT 2011

Is it possible to use a vtkImplicitFunction to generate a NURBS-type
surface? This is something I looked into briefly in the past, but priorities


Adriano Gagliardi MEng PhD
Business Sector Leader
Computational Aerodynamics
Aircraft Research Association Ltd.
Manton Lane

Tel: 01234 32 4644
E-mail: agagliardi at ara.co.uk
Url: www.ara.co.uk 
-----Original Message-----
From: vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] On Behalf
Of Giancarlo Facoetti
Sent: 23 August 2011 17:12
To: vtkusers at vtk.org
Subject: Re: [vtkusers] visualizing NURBS++ surfaces (maybe a FAQ??)

Hi Bryn, thank you for your message.
NURBS++ has a function that provide the triangulated surface, but it's
very slow, it recomputes the triangles mesh everytime I call it.

I have to investigate in a deeper way if NURBS++ provides direct access 
to the rendered triangles/quads (I fear that it uses the gluNurbsSurface 
functions, without create them explicitely)
thank you!

> Hi Giancarlo
> It looks like the class vtkExplicitCell is abstract and there seems to 
> be no child classes VTK. I haven't used it (subclassed), so cannot 
> help there.
> Maybe the NURBS++ library can also output triangles or quads (it 
> manages to generate them for OpenGL rendering, so they exist somewhere).
> Then you could fill a vtkPolyData with these triangles/polygons and 
> render as usual with VTK.
> Good luck
> Bryn
> *From:* vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] *On 
> Behalf Of *Giancarlo Facoetti
> *Sent:* Tuesday, August 23, 2011 9:55 AM
> *To:* vtkusers at vtk.org
> *Subject:* [vtkusers] visualizing NURBS++ surfaces (maybe a FAQ??)
> Hi everybody,
> I'm using an open source library for NURBS management, called NURBS++.
> I'm able to do everything: creation of the surface, control points 
> moving, surface points moving, visualiation of the surface with OpenGL 
> (gluNurbsSurface...)
> I'm developing a VTK based application, and now I need to visualize 
> the NURBS++ surfaces into VTK pipeline, therefore without using 
> gluNurbsSurface but the VTK rendering
> I found in the VTK documentation the class vtkExplicitCell.h that 
> tells about NURBS surfaces, but I didn't understand how to use it. 
> (http://davis.lbl.gov/Manuals/VTK-4.5/classvtkExplicitCell.html)
> Do you have some suggestion please?
> thank you!
> Giancarlo

Powered by www.kitware.com

Visit other Kitware open-source projects at

Please keep messages on-topic and check the VTK FAQ at:

Follow this link to subscribe/unsubscribe:

This email contains information that is private and confidential and is intended only for the addressee.
If you are not the intended recipient please delete it and notify us immediately by e-mailing the sender.
Note: All email sent to or from this address may be accessed by someone other than the recipient, for
system management and security reasons.
Aircraft Research Association Ltd.  Registered in England, Registration No 503668 Registered Office:
Manton Lane, Bedford MK41 7PF England VAT No GB 196351245


More information about the vtkusers mailing list