Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] CGAL Scale-Space reconstruction with normals and colors

Subject: CGAL users discussion list

List archive

[cgal-discuss] CGAL Scale-Space reconstruction with normals and colors


Chronological Thread 
  • From: syedharoonalam <>
  • To:
  • Subject: [cgal-discuss] CGAL Scale-Space reconstruction with normals and colors
  • Date: Mon, 13 Jun 2016 23:57:02 -0700 (PDT)
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=SoftFail ; spf=None
  • Ironport-phdr: 9a23:RiktPxW+12nzzZfAY8UB39CSAUHV8LGtZVwlr6E/grcLSJyIuqrYZhKDt8tkgFKBZ4jH8fUM07OQ6PCxHzxaqs/Y7jgrS99laVwssY0uhQsuAcqIWwXQDcXBSGgEJvlET0Jv5HqhMEJYS47UblzWpWCuv3ZJQk2sfTR8Kum9IIPOlcP/j7n0oM2CJVUSz2PkP/tbF1afk0b4joEum4xsK6I8mFPig0BjXKBo/15uPk+ZhB3m5829r9ZJ+iVUvO89pYYbCf2pN5IRFuIJSW1+eyBuvJWq5lH/Sl6E6XIYF2kXiRFVGBPt7RfgX563vDGpmPB63XyBLMD6TbkuXjOk5qNiTVe8kzYKOz4w6mbQjMV0hadzrxeophg5yInRNtLGfMFid7/QKIpJDVFKWdxcAncZWo4=

I am using CGAL for point cloud processing, and generating mesh out of it
using Scale-Space reconstruction.

I recently require to save color and normal information. So, I used
boost::tuple(Point_3, Vector_3, CGAL::Color) for filters: simplification,
outlier removal and normal estimations/orientation. Now triangulating the
cloud using Scale-Space reconstruction is only accepting vector of points,
not the tuple I have created.

Code snippet:

typedef CGAL::Scale_space_surface_reconstruction_3< Kernel > Reconstruction;
Reconstruction reconstruct;
reconstruct.insert( points.begin(), points.end());
//Error if points is defined as vector<PointNormalColorTuple>
//Works if points are vector<Point_3>
//There is no parameter in insert and reconstruct_surface, where I can
define property map:
//CGAL::Nth_of_tuple_property_map<0,PointNormalColorTuple>()

I cannot copy data in a new vector<Point_3> as color information will be
lost. Any suggestions would be helpful.



--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/CGAL-Scale-Space-reconstruction-with-normals-and-colors-tp4661992.html
Sent from the cgal-discuss mailing list archive at Nabble.com.


  • [cgal-discuss] CGAL Scale-Space reconstruction with normals and colors, syedharoonalam, 06/14/2016

Archive powered by MHonArc 2.6.18.

Top of Page