Get point cloud and 3d bbox data in synthetic data

how to get point cloud, 3d bbox in synthetic data?

i want get point cloud and 3d bbox data in viewpoint

and then,

I want to automatically get the 6dof (lotation,position) of each object in the synthetic data scene, as well as the internal camera parameters and 6dof from the current viewpoint. Is there any way?