code: @Override
      protected void perform(Wave wave) throws CommandException {
  
          final SnapshotWaveBean wb = waveBean(wave);
  
          WritableImage image = wb.image();
  
          if (wb.node() == null) {
              final Scene scene = localFacade().globalFacade().application().scene();
  
              image = scene.snapshot(image);
  
          } else {
  
              image = wb.node().snapshot(wb.parameters(), image);
          }
  
          wb.image(image);
  
      }
docs: {@inheritDoc}