Positon and Orient of Joints

Hello everybody

How can I get the position and orient of every joint in real time?

Thank you