Using PointCloud2Display class
How to utilise PointCloud2Display class to display point cloud data on a render panel, I went through the rviz source code but I was not able to find it's usage and where it's object was initialised.