support XYZ and XYZRGB point cloud