rem: case 'e': doWire = !doWire; std::cerr << "BBox render: " << (doWire ? "on" : "off") << std::endl; break;
context: void key(unsigned char key, int, int){    switch(key)    {    case 27:        osgExit();        exit(0);    case 'z':        glPolygonMode(GL_FRONT_AND_BACK, GL_POINT);        std::cerr << "PolygonMode: Point." << std::endl;        break;    case 'x':        glPolygonMode(GL_FRONT_AND_BACK, GL_LINE);        std::cerr << "PolygonMode: Line." << std::endl;        break;    case 'c':        glPolygonMode(GL_FRONT_AND_BACK, GL_FILL);        std::cerr << "PolygonMode: Fill." << std::endl;        break;    case 'q':        glDisable(GL_COLOR_MATERIAL);        std::cerr << "ColorMaterial disabled." << std::endl;        break;    case 'w':        glEnable(GL_COLOR_MATERIAL);        std::cerr << "ColorMaterial enabled." << std::endl;        break;    case 'e':        doWire = !doWire;        std::cerr << "BBox render: " << (doWire ? "on" : "off") << std::endl;        break;    case 'd':        ract->setFrustumCulling(!ract->getFrustumCulling());        std::cerr <<            "Culling: " <<            (ract->getFrustumCulling() ? "on" : "off") <<            std::endl;        break;    case 'f':        ract->setVolumeDrawing(!ract->getVolumeDrawing());        std::cerr << "Volume Drawing: " << (ract->getVolumeDrawing() ? "on" : "off") << std::endl;        break;    case 'r':        headlight->setOn(!headlight->getOn());        std::cerr <<            "Headlight: " <<            (headlight->getOn() ? "on" : "off") <<            std::endl;        break;    case 'R':        doRender = !doRender;        printf("Now using %s action\n", doRender ? "render" : "draw");        break;    }}