switch


  
  DEF SWITCH Switch {
     whichChoice 0
     choice [
        Shape {
           appearance DEF BLUE Appearance {
              material Material {
                 diffuseColor 0 0 1
              }
           }
           geometry Box {}
        }
        Shape {
           appearance USE BLUE
           geometry Sphere {}
        }
        Shape {
           appearance USE BLUE
           geometry Cone {}
        }
        Shape {
           appearance USE BLUE
           geometry Cylinder {}
        }
     ]
  }