Export the current rendering scene as a VTKjs scene for
        rendering in a web browser

def export_vtkjs(self, filename, compress_arrays=False):
        """
        Export the current rendering scene as a VTKjs scene for
        rendering in a web browser
        """
        if not hasattr(self, 'ren_win'):
            raise RuntimeError('Export must be called before showing/closing the scene.')
        if isinstance(vtki.FIGURE_PATH, str) and not os.path.isabs(filename):
            filename = os.path.join(vtki.FIGURE_PATH, filename)
        return export_plotter_vtkjs(self, filename, compress_arrays=compress_arrays)