3D calibration

I have x y z values how i calibrate this points into my own defined area its may be rectangle using c++ language,plz any one tell me which martix i apply for it any way to solve this problem


Your question is unclear. You have XYZ values, what are you trying to do with them? Project them onto the screen?