Subject: CGAL users discussion list
List archive
Re: [cgal-discuss] Plotting a mesh: Geom_traits with Triangulation_data_structure_2
Chronological Thread
- From: Yoann LE BARS <>
- To:
- Subject: Re: [cgal-discuss] Plotting a mesh: Geom_traits with Triangulation_data_structure_2
- Date: Wed, 14 Nov 2018 02:29:38 +0100
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=None ; spf=Pass
- Ironport-phdr: 9a23:2lNG0xToKXvtq2/sLq4xwxJbmNpsv+yvbD5Q0YIujvd0So/mwa6yZhWN2/xhgRfzUJnB7Loc0qyK6/+mATRIyK3CmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TW94jEIBxrwKxd+KPjrFY7OlcS30P2594HObwlSizexfbF/IA+qoQnNq8IbnZZsJqEtxxXTv3BGYf5WxWRmJVKSmxbz+MK994N9/ipTpvws6ddOXb31cKokQ7NYCi8mM30u683wqRbDVwqP6WACXWgQjxFFHhLK7BD+Xpf2ryv6qu9w0zSUMMHqUbw5Xymp4qF2QxHqlSgHLSY0/nzJhMx+jKxVoxyvqBJwzIHWfI6bO+Fzfr/ecN4AWWZNQshcWi5HD4ihb4UPFe0BPeNAoob/oFsBtx2+BQ+xD+3pxTFDm2L70LEm3eo8DArL2wwhH9UUv3TSqtX4L6MSXv6swKbT1zrDdehW1S376IfWbhAsuPeBVq9+f8rWzEkgDQLFjlOIpIzjJTyazf8Cs2yF4OZ6Se2vjGsnpxl1ojex38sjkZPGhpgOylze8yV23po1KcWgSEFhe96rCoVQtyCEOIp4WM8iRHtouCkixrIatp60ZiwKxI4gxx7FZPyKdZWD7BH7VOuJPzt0mXBodKiiixux70Ss0O7xW8mu3FpXsiZIlsHAu3QQ2xDJ98SKS+Zx8l281TuP1Q3f8PxILEM6mKfdNpUv2KQ/loAJvkTGBiL2mFv5jKuRdkg8/+in8eXnYrHnpp+aK4B0jgb+MrkzlcClHes4NQ0OU3Ca+eS6yrLj4VX0TKtXgvA0iKXVrZPXKdoBqqO6AwJZyJsv5wq7Aju+1dQXh3gHLFZLeBKdiIjpPknDIfD/DfilhVSslixmx/TYMbH4GZrCNGLDkKz7cbZ79UFc1BI/zcpD6JJMFrEBPPXzV1ftu9zXFBA5NxW4zPvmCNVmyoweRHmPArSCPaPJsV6I4/ovLPOWaI8Uvjb9Mfkl6OT0gX83g19ONZWuiJAYYXT9EvV9KFiCelLthM0AGCEEpFkQVuvv3WyFWDhVL1KfF4gV3ApzXJOhBIHFboSgxbaIxjz9GJBKMDMVQmuQGGvlIt3XE8wHbzifd5c4w240EIO5Qopk7imA8Qrzyr5pNO3Ro3ZKsZ+m3tFv/KvVmA1grWUoXfTY6HmESiRPpk1NXyU/hfstpUE4wF6Zyu5+juAKTYUOtcMMaR8zMNvn98I/C932XVueLNKASVKnRN6iBiw9CNk2xo1Xbg==
Hello everybody out there!
Thank you for your answer, Chris, and my apologies to have sent this
message to you alone rather to the list. I repost it.
Le 13/11/2018 à 17:31, Chris Marsh a écrit :
> I've never used the Qt functionality of CGAL, but I think you need to
> use just CGAL::draw(tri), as per
> https://doc.cgal.org/latest/Triangulation_2/Triangulation_2_2draw_triangulation_2_8cpp-example.html
Well, it turned out CGAL version on Ubuntu has not been compiled with
“draw”. As it is one of the systems I have to support, I cannot use it.
Anyway, I am working on an application with an interface made with Qt,
therefore the visualisation should be embedded in the interface and I
have to use Qt. As a consequence, “draw” is not a good option in my case.
> I'm on MacOS and my Qt library through brew causes me nothing but
> problems, so it might be related to that.
This is not the question, but I do not really understand why mac
people
tend to prefer Homebrew to Macport. My tests show you have better
control with Macport, it is more coherent with a Unix system and you can
solve things more easily and more efficiently when something goes wrong.
Also, there are much more applications available in Macports.
Anyway …
> Everything I've read over the years suggests the viz in cgal is for
> quick and dirty visualization.
> e.g.,
> http://cgal-discuss.949826.n4.nabble.com/Tutorial-for-visualisation-in-CGAL-using-QT-td4656057.html
Then, it turns out I should use CGAL only for mesh manipulation and
computation, then something else for visualisation.
> Depending on what your needs are, you might want to consider writing to
> a format that is easily visualized in another software. If you're
> interested in visualizing simulation output, might I suggest writing to
> a Paraview (paraview.org <http://paraview.org>) format (vtu)? This
> approach has treated me very well. It's pretty straightforward format to
> write to (VTK library does the hard part), and Paraview is immensely
> useful for visualizing simulation outputs and exploring a mesh. I can
> send you a paraview file that is an exported CGAL mesh if you're interested.
Using Paraview does not seem a good option to me, as I need to do
several treatments either on my meshes or using my meshes.
Paraview uses Vtk library, which can be embedded in Qt applications.
It
may be a good way to do visualisation I need to do.
However, I am interested in the code you use for visualisation with
Paraview.
Moreover, I am interested on any information to use CGAL with Vtk.
Best regards.
--
Yoann LE BARS
http://le-bars.net/yoann/
Diaspora* :
- [cgal-discuss] Plotting a mesh: Geom_traits with Triangulation_data_structure_2, Yoann LE BARS, 11/12/2018
- Re: [cgal-discuss] Plotting a mesh: Geom_traits with Triangulation_data_structure_2, Yoann LE BARS, 11/13/2018
- Re: [cgal-discuss] Plotting a mesh: Geom_traits with Triangulation_data_structure_2, Yoann LE BARS, 11/13/2018
- Re: [cgal-discuss] Plotting a mesh: Geom_traits with Triangulation_data_structure_2, Chris Marsh, 11/13/2018
- Re: [cgal-discuss] Plotting a mesh: Geom_traits with Triangulation_data_structure_2, Yoann LE BARS, 11/14/2018
- Re: [cgal-discuss] Plotting a mesh: Geom_traits with Triangulation_data_structure_2, Chris Marsh, 11/15/2018
- Re: [cgal-discuss] Plotting a mesh: Geom_traits with Triangulation_data_structure_2, Yoann LE BARS, 11/15/2018
- Re: [cgal-discuss] Plotting a mesh: Geom_traits with Triangulation_data_structure_2, Chris Marsh, 11/15/2018
- Re: [cgal-discuss] Plotting a mesh: Geom_traits with Triangulation_data_structure_2, Yoann LE BARS, 11/14/2018
- Re: [cgal-discuss] Plotting a mesh: Geom_traits with Triangulation_data_structure_2, Chris Marsh, 11/13/2018
- Re: [cgal-discuss] Plotting a mesh: Geom_traits with Triangulation_data_structure_2, Yoann LE BARS, 11/13/2018
- Re: [cgal-discuss] Plotting a mesh: Geom_traits with Triangulation_data_structure_2, Yoann LE BARS, 11/13/2018
Archive powered by MHonArc 2.6.18.