The gym rule is that you can look wherever you want. It's all public. If you don't want to be looked at stay home or if you want to really control your own destiny wear baggy clothes not skimpy spandex.
And what's the point anyway? All those mirrors mean most anyone can be looking and you don't even realize it.