
13 Aug
2014
13 Aug
'14
12:52 p.m.
As mentioned in the original post: g.points is std::vector<Point, Eigen::aligned_allocator<Point> > pcl::PointCloud<Point>::points I include #include <boost/serialization/vector.hpp> so that handles the vector part and I created a serialize function for the Point: template<class Archive> void serialize(Archive & ar, Point& g, const unsigned int version) { ar & g.getVector3fMap().data()[0]; ar & g.getVector3fMap().data()[1]; ar & g.getVector3fMap().data()[2]; } Shouldn't that be enough. -- View this message in context: http://boost.2283326.n4.nabble.com/boost-serialization-serialize-is-not-a-me... Sent from the Boost - Users mailing list archive at Nabble.com.