qt - save to file

problem with drawing segments - not always aligned with reconstructed object