[ros-users] POINT_CLOUD_REGISTER_POINT_STRUCT and using templated user defined points

kadir kadirfu at gmail.com
Sun Feb 13 14:04:57 UTC 2011


Hi everybody,

Can someone tell me if this is possible in PCL? If not, is there any
suggestion that does something similar? I have tried many things but no
success at all :(

template<typedef T, int how_many>
	struct FeaturePoint{
	T a;
	T b;
	T c;
	T d[how_many]
};

template<typedef T, int how_many>
POINT_CLOUD_REGISTER_POINT_STRUCT(
	pcl::FeaturePoint<T,how_many>,
	(T,   a,	a)
	(T,   b,	b)
	(T,   c,	c)
	(T[how_many],d, d));

Thanks...

-Kadir-
-- 
View this message in context: http://ros-users.122217.n3.nabble.com/POINT-CLOUD-REGISTER-POINT-STRUCT-and-using-templated-user-defined-points-tp2485736p2485736.html
Sent from the ROS-Users mailing list archive at Nabble.com.



More information about the ros-users mailing list