Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] OFF to PNG

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] OFF to PNG


Chronological Thread 
  • From: David Canino <>
  • To:
  • Subject: Re: [cgal-discuss] OFF to PNG
  • Date: Mon, 10 Sep 2012 21:38:52 +0200

Good morning,

I know that this feature is present in the QGLWidget class (QT Library). Basically, you can save the content of the frame buffer on a file in any format you want (OFF, PNG, and so on). You must see, for instance, QImage QGLWidget::grabFrameBuffer(bool withAlpha=false) member function. You can find documentation at http://doc.trolltech.com/4.5/qglwidget.html#grabFrameBuffer (also for any newest QT Library).

Best regards

David Canino

2012/9/10 Noel Warren <>
I have a Nef_Polyhedron_3.  I would now like to obtain a few image files from it, you know, top, bottom from an angle.  I know there is a Qt widget for visualizing Nefs but that's not really what I want.  I was hoping that someone in the community would know of some application/framework that would take an OFF (I would obtain this in CGAL) file or STL file or something, a few arguments and generate a png file or a stream of bitmap data,

I think I'm being a little too optimistic in thinking that there might be something out there ready for me to use.  I know this question is not entirely bound to CGAL but I was hoping someone might know of some library.  What I am essentially doing is projecting.




Archive powered by MHonArc 2.6.18.

Top of Page