Registration on StructureCore

I see that the DepthFrame class has a method of isRegisteredTo, which returns if the current depth frame is registered to a color frame. How can we register it? I am on Linux with a Structure Core sensor.

Basically, I would like to have a XYZRGB point cloud. Thanks in advance.

Nothing? Anyone has this problem?