Take measure on a floor with reference object

I want to create simple software to make measurements on a plan using a reference object. Like this: ON 3D-CameraMeasure. Do you know some library to do this? better than for windows system on visual studio .net.

Thank in advance