Anyview: Generalizable Indoor 3D Object Detection with Variable Frames