Subject: CGAL users discussion list
List archive
Re: [cgal-discuss] Surface reconstruction from point cloud - example code does not compile
Chronological Thread
- From: Laurent Saboret <>
- To:
- Subject: Re: [cgal-discuss] Surface reconstruction from point cloud - example code does not compile
- Date: Fri, 20 Nov 2009 09:27:15 +0100
Hi Engin,
Are you using the official CGAL 3.5 release or directly the code in SVN?
Best regards,
Laurent Saboret
Engin Kurutepe wrote:
Hi all,_base_3<CGAL::Robust_circumcenter_traits_3<CGAL::Filtered_kernel<CGAL::Simple_cartesian<double> > >,
I am linking against CGAL3.5 and trying to compile the example code from this page: http://www.cgal.org/Manual/last/doc_html/cgal_manual/Surface_reconstruction_points_3/Chapter_main.html#Subsection_45.3.2
However gcc4.2.1 spits out the following errors:
/Users/ekurutepe/Dropbox/Development/depthRender/depthRender/../../lib/include/CGAL/Meshes/Triangulation_mesher_level_traits_3.h:76:0
/Users/ekurutepe/Dropbox/Development/depthRender/depthRender/../../lib/include/CGAL/Meshes/Triangulation_mesher_level_traits_3.h:76: error: no type named 'Locate_type' in 'class
CGAL::Surface_mesh_complex_2_in_triangulation_3<CGAL::Delaunay_triangulation_3<CGAL::Robust_circumcenter_traits_3<CGAL::Filtered_kernel<CGAL::Simple_cartesian<double>
> >,
CGAL::Triangulation_data_structure_3<CGAL::Surface_mesh_vertex_base_3<CGAL::Robust_circumcenter_traits_3<CGAL::Filtered_kernel<CGAL::Simple_cartesian<double>
> >, CGAL::Triangulation_vertex_base_3<CGAL::Robust_circumcenter_traits_3<CGAL::Filtered_kernel<CGAL::Simple_cartesian<double> > >,
CGAL::Triangulation_ds_vertex_base_3<void> > >,
CGAL::Triangulation_cell_base_with_circumcenter_3<CGAL::Robust_circumcenter_traits_3<CGAL::Filtered_kernel<CGAL::Simple_cartesian<double> > >,
CGAL::Surface_mesh_cell
CGAL::Triangulation_cell_base_3<CGAL::Robust_circumcenter_traits_3<CGAL::Filtered_kernel<CGAL::Simple_cartesian<double> >
>, CGAL::Triangulation_ds_cell_base_3<void> > > > > > >'
l_base_3<CGAL::Robust_circumcenter_traits_3<CGAL::Filtered_kernel<CGAL::Simple_cartesian<double> > >,
/Users/ekurutepe/Dropbox/Development/depthRender/depthRender/../../lib/include/CGAL/Meshes/Triangulation_mesher_level_traits_3.h:54:0
/Users/ekurutepe/Dropbox/Development/depthRender/depthRender/../../lib/include/CGAL/Meshes/Triangulation_mesher_level_traits_3.h:54: error: no type named 'Weighted_tag' in 'class
CGAL::Surface_mesh_complex_2_in_triangulation_3<CGAL::Delaunay_triangulation_3<CGAL::Robust_circumcenter_traits_3<CGAL::Filtered_kernel<CGAL::Simple_cartesian<double>
> >,
CGAL::Triangulation_data_structure_3<CGAL::Surface_mesh_vertex_base_3<CGAL::Robust_circumcenter_traits_3<CGAL::Filtered_kernel<CGAL::Simple_cartesian<double>
> >, CGAL::Triangulation_vertex_base_3<CGAL::Robust_circumcenter_traits_3<CGAL::Filtered_kernel<CGAL::Simple_cartesian<double> > >,
CGAL::Triangulation_ds_vertex_base_3<void> > >,
CGAL::Triangulation_cell_base_with_circumcenter_3<CGAL::Robust_circumcenter_traits_3<CGAL::Filtered_kernel<CGAL::Simple_cartesian<double> > >,
CGAL::Surface_mesh_cel
CGAL::Triangulation_cell_base_3<CGAL::Robust_circumcenter_traits_3<CGAL::Filtered_kernel<CGAL::Simple_cartesian<double> >
>, CGAL::Triangulation_ds_cell_base_3<void> > > > > > >'
The call causing this error is:
STr tr; // 3D Delaunay triangulation for surface mesh generation
C2t3 c2t3(tr); // 2D complex in 3D Delaunay triangulation
CGAL::make_surface_mesh(c2t3, //
reconstructed mesh
surface, // implicit
surface
criteria, // meshing
criteria
CGAL::Manifold_with_boundary_tag()); // require
manifold mesh
When I dug a little deeper into the source code I found out that C2t3 is a
typedef for Complex_2_in_triangulation_3 and that
Complex_2_in_triangulation_3 indeed does not have the Locate_type and
Weighted_tag types. Onthe other hand Locate_type and Weighted_tag are types
in Triangulation_3which is NOT a parent class of Complex_2_in_triangulation_3.
Is this an error on my side or did maybe a recent commit break the example code?
Thanks a lot in advance.
Cheers,
Engin Kurutepe.
--------------------------------------------------------------------
Engin Kurutepe TU Berlin
FG Nachrichtenübertragung
Tel: +49 30 314 28507 Sekr. EN-1, Einsteinufer 17
Fax: +49 30 314 22514 10587 Berlin Germany
====================================================================
Ce courrier électronique et toutes les pièces éventuellement jointes qu’il
contient sont CONFIDENTIELS et destinés exclusivement à l’usage de leur
destinataire. Si une erreur de transmission ou une adresse erronée a mal
dirigée ce courrier, merci d’en informer l’expéditeur en lui faisant une
réponse par courrier électronique dès réception. Si vous n’êtes pas le
destinataire de ce courrier, vous ne devez pas l’utiliser, le conserver, en
faire état, le distribuer, le copier, l’imprimer ou en révéler le contenu à
une tierce partie.
Ce courrier électronique est à usage strictement informatif et ne saurait
engager de quelque manière que ce soit INFOTERRA France SAS, ni ses filiales.
This e-mail and any attachments hereto are CONFIDENTIAL and intended solely
for the use of the addressee. If you have received this e-mail in error
please send it back to the person that sent it to you.
If you have received it in error, please notify the sender by return email.
If you are not the addressee of this email, you must not use, keep,
disseminate, copy, print or otherwise deal with it.
This email is for information only and will not bind INFOTERRA France SAS in
any contract or obligation, nor its subsidiaries.
- [cgal-discuss] Surface reconstruction from point cloud - example code does not compile, Engin Kurutepe, 11/19/2009
- Re: [cgal-discuss] Surface reconstruction from point cloud - example code does not compile, Laurent Saboret, 11/20/2009
- Re: [cgal-discuss] Surface reconstruction from point cloud - example code does not compile, Engin Kurutepe, 11/20/2009
- Re: [cgal-discuss] Surface reconstruction from point cloud - example code does not compile, Laurent Saboret, 11/20/2009
Archive powered by MHonArc 2.6.16.