Subject: CGAL users discussion list
List archive
- From: David Canino <>
- To:
- Subject: Re: [cgal-discuss] OFF to PNG
- Date: Mon, 10 Sep 2012 22:56:30 +0200
Good morning,
the member function I mentioned saves the content of the frame buffer, so first you load and draw your shape, and then save the content of the current frame. It is a common practice in any program exploiting the QT Library.
Best regards
David Canino
2012/9/10 Noel Warren <>
Sounds promising. I haven't used the Qt library but I know that you add your widgets and then execute the app. Would I have to execute the app before being able to toy around with the view of the widget, or could I create my images without executing the app?
2012/9/10 David Canino <>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 regardsDavid Canino2012/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.
- [cgal-discuss] OFF to PNG, Noel Warren, 09/10/2012
- Re: [cgal-discuss] OFF to PNG, David Canino, 09/10/2012
- Re: [cgal-discuss] OFF to PNG, Noel Warren, 09/10/2012
- Re: [cgal-discuss] OFF to PNG, David Canino, 09/10/2012
- Re: [cgal-discuss] OFF to PNG, Felipe de Jesus Trujillo Romero, 09/10/2012
- Re: [cgal-discuss] OFF to PNG, David Canino, 09/10/2012
- Re: [cgal-discuss] OFF to PNG, Noel Warren, 09/10/2012
- [cgal-discuss] Re: OFF to PNG, Oleg, 09/19/2012
- [cgal-discuss] Re: OFF to PNG, Oleg, 09/19/2012
- Re: [cgal-discuss] OFF to PNG, David Canino, 09/10/2012
Archive powered by MHonArc 2.6.18.