One more question - sunroofs

Does the sunroof intrude on interior space comapred to those that don't have it. One reason I will buy an xterra is becasue I have enough head room. I'm 6.5 feet tall and have trouble in other trucks. All the ones I have tested have no sunroof thats why I am wondering. Also how does the sunroof open with the roof budge and the roof basket in the way?