├── .editorconfig ├── .eslintignore ├── .eslintrc.js ├── .github ├── FUNDING.yml ├── ISSUE_TEMPLATE │ ├── bug_report.md │ ├── config.yml │ ├── feature_request.md │ └── performance_issue.md ├── pull_request_template.md └── workflows │ └── publish.yml ├── .gitignore ├── .npmignore ├── CONTRIBUTING.md ├── COPYRIGHT ├── LICENSE ├── README.md ├── babel.config.js ├── build └── writeVersion.js ├── documentation ├── .gitignore ├── config.js ├── content │ ├── api │ │ └── index.md │ ├── docs │ │ ├── apache_front_end.md │ │ ├── compatibility.md │ │ ├── contributing.md │ │ ├── index.md │ │ ├── launching_examples.md │ │ ├── launching_examples │ │ │ ├── pvw-deploy-opt-1.png │ │ │ ├── pvw-deploy-opt-2.png │ │ │ └── pvw-deploy-opt-3.png │ │ ├── multi_user_setup.md │ │ ├── multi_user_setup │ │ │ └── pvw-3comp-resize.png │ │ ├── python_launcher.md │ │ └── troubleshooting.md │ ├── gallery │ │ ├── 01-pv-lite-landing-light.jpg │ │ ├── 02-pv-lite-landing-dark.jpg │ │ ├── 03-pv-lite-about-light.jpg │ │ ├── 04-pv-lite-about-dark.jpg │ │ ├── 05-pv-lite-light-A.jpg │ │ ├── 06-pv-lite-dark-A.jpg │ │ ├── 07-pv-lite-light-C.jpg │ │ ├── 08-pv-lite-dark-B.jpg │ │ └── index.md │ ├── icon │ │ ├── favicon-160x160.png │ │ ├── favicon-16x16.png │ │ ├── favicon-196x196.png │ │ ├── favicon-32x32.png │ │ └── favicon-96x96.png │ ├── index.pug │ ├── logo.png │ ├── logo.svg │ ├── paraview_lite.png │ └── paraview_lite.svg ├── data │ └── menu.yml └── tpl │ ├── __en__ │ └── __sidebar__ ├── package-lock.json ├── package.json ├── prettier.config.js ├── public ├── ParaView.png ├── ParaView.svg ├── icons │ ├── kitware-logo.svg │ ├── kitware.svg │ ├── lite-dark.svg │ ├── lite-small-dark.svg │ ├── lite-small.svg │ ├── lite.svg │ ├── paraview-dark.svg │ ├── paraview.svg │ └── vtkjs.svg ├── index.html ├── pv-lite-bg.jpg └── version.js ├── server ├── launcher-template.json ├── lite_protocols.py ├── proxies.json └── pvw-lite.py ├── src ├── components │ ├── core │ │ ├── AboutBox │ │ │ ├── index.vue │ │ │ ├── script.js │ │ │ ├── style.css │ │ │ └── template.html │ │ ├── ActionModules │ │ │ ├── index.vue │ │ │ ├── script.js │ │ │ ├── style.css │ │ │ └── template.html │ │ ├── App │ │ │ ├── index.vue │ │ │ ├── script.js │ │ │ └── template.html │ │ ├── BrowserIssues │ │ │ ├── index.vue │ │ │ ├── script.js │ │ │ ├── style.css │ │ │ └── template.html │ │ ├── ControlsDrawer │ │ │ ├── index.vue │ │ │ ├── script.js │ │ │ ├── style.css │ │ │ └── template.html │ │ ├── ErrorBox │ │ │ ├── index.vue │ │ │ ├── script.js │ │ │ ├── style.css │ │ │ └── template.html │ │ ├── GlobalSettings │ │ │ ├── index.vue │ │ │ ├── script.js │ │ │ ├── style.css │ │ │ └── template.html │ │ ├── Landing │ │ │ ├── index.vue │ │ │ ├── script.js │ │ │ ├── style.css │ │ │ └── template.html │ │ ├── LayoutView │ │ │ ├── index.vue │ │ │ ├── script.js │ │ │ ├── style.css │ │ │ └── template.html │ │ ├── RepresentationToolbar │ │ │ ├── index.vue │ │ │ ├── script.js │ │ │ ├── style.css │ │ │ └── template.html │ │ ├── RootNode │ │ │ ├── index.vue │ │ │ ├── script.js │ │ │ ├── style.css │ │ │ └── template.html │ │ ├── View-deprecated │ │ │ ├── index.vue │ │ │ ├── script.js │ │ │ ├── style.css │ │ │ └── template.html │ │ └── View │ │ │ ├── index.vue │ │ │ ├── script.js │ │ │ ├── style.css │ │ │ └── template.html │ └── widgets │ │ ├── CollapsableItem │ │ ├── index.vue │ │ ├── script.js │ │ ├── style.css │ │ └── template.html │ │ ├── FloatingLookupTable │ │ ├── index.vue │ │ ├── script.js │ │ ├── style.css │ │ └── template.html │ │ ├── GitTree │ │ ├── index.vue │ │ ├── script.js │ │ ├── style.css │ │ └── template.html │ │ ├── LookupTableToolbar │ │ ├── index.vue │ │ ├── script.js │ │ ├── style.css │ │ └── template.html │ │ ├── PalettePicker │ │ ├── index.vue │ │ ├── script.js │ │ ├── style.css │ │ └── template.html │ │ ├── PiecewiseFunctionEditor │ │ ├── index.vue │ │ ├── script.js │ │ ├── style.css │ │ └── template.html │ │ ├── ProgressBar │ │ ├── index.vue │ │ ├── script.js │ │ ├── style.css │ │ └── template.html │ │ ├── SvgIcon │ │ ├── index.vue │ │ ├── script.js │ │ ├── style.css │ │ └── template.html │ │ └── TreeView │ │ ├── Node │ │ ├── index.vue │ │ ├── script.js │ │ └── template.html │ │ ├── index.vue │ │ ├── script.js │ │ ├── style.css │ │ └── template.html ├── constants.js ├── io │ ├── Client.js │ └── protocols │ │ ├── ColorManager.js │ │ ├── FileListing.js │ │ ├── KeyValuePairStore.js │ │ ├── Lite.js │ │ ├── MouseHandler.js │ │ ├── ProgressUpdate.js │ │ ├── ProxyManager.js │ │ ├── SaveData.js │ │ ├── TimeHandler.js │ │ ├── ViewPort.js │ │ ├── ViewPortGeometryDelivery.js │ │ ├── ViewPortImageDelivery.js │ │ ├── VtkGeometryDelivery.js │ │ ├── VtkImageDelivery.js │ │ └── index.js ├── main.js ├── modules │ ├── Clip │ │ ├── index.vue │ │ ├── module.js │ │ ├── script.js │ │ └── template.html │ ├── Cone │ │ ├── index.vue │ │ ├── module.js │ │ ├── script.js │ │ └── template.html │ ├── Contour │ │ ├── index.vue │ │ ├── module.js │ │ ├── script.js │ │ └── template.html │ ├── Default │ │ ├── index.vue │ │ ├── module.js │ │ ├── script.js │ │ └── template.html │ ├── Files │ │ ├── index.vue │ │ ├── module.js │ │ ├── script.js │ │ └── template.html │ ├── Slice │ │ ├── index.vue │ │ ├── module.js │ │ ├── script.js │ │ └── template.html │ ├── Sources │ │ ├── index.vue │ │ ├── module.js │ │ ├── script.js │ │ └── template.html │ ├── Sphere │ │ ├── index.vue │ │ ├── module.js │ │ ├── script.js │ │ └── template.html │ ├── StreamTracer │ │ ├── index.vue │ │ ├── module.js │ │ ├── script.js │ │ └── template.html │ ├── Threshold │ │ ├── index.vue │ │ ├── module.js │ │ ├── script.js │ │ └── template.html │ ├── commonStyles.css │ └── registerModules.js ├── palette.js ├── proxyHelper.js ├── shortcuts.js └── stores │ ├── busy.js │ ├── color.js │ ├── contexts.js │ ├── index.js │ ├── modules.js │ ├── network.js │ ├── proxy.js │ ├── time.js │ └── view.js └── vue.config.js /.editorconfig: -------------------------------------------------------------------------------- 1 | [*.{js,jsx,ts,tsx,vue}] 2 | indent_style = space 3 | indent_size = 2 4 | end_of_line = lf 5 | trim_trailing_whitespace = true 6 | insert_final_newline = true 7 | max_line_length = 100 8 | -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | /build/ 2 | /dist/ -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | root: true, 3 | env: { 4 | node: true, 5 | }, 6 | extends: ['plugin:vue/essential', '@vue/airbnb', '@vue/prettier'], 7 | rules: { 8 | 'import/extensions': 0, 9 | 'no-console': 0, 10 | 'no-plusplus': 0, 11 | 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off', 12 | // May want to fix later when time is available 13 | 'prefer-destructuring': 0, 14 | }, 15 | parserOptions: { 16 | parser: 'babel-eslint', 17 | }, 18 | }; 19 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | custom: ["https://www.kitware.com/contact-us/", kitware.com] 4 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: 🐞 Bug report 3 | about: Report a reproducible bug or regression. 4 | title: '' 5 | labels: 'type: bug 🐞' 6 | assignees: '' 7 | 8 | --- 9 | 15 | 16 | ### High-level description 17 | 18 | 19 | ### Steps to reproduce 20 | 28 | 29 | ### Detailed behavior 30 | 35 | 36 | ### Expected behavior 37 | 38 | 39 | ### Environment 40 | - **ParaView Lite**: 41 | - **OS**: 42 | - **Browser**: 43 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | blank_issues_enabled: false 2 | contact_links: 3 | - name: Help and Support 4 | url: https://discourse.paraview.org/c/web-support/10 5 | about: Please use the forum if you have questions or need help. -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: 💡 Feature request 3 | about: Suggest an idea for the project. 4 | title: '' 5 | labels: 'type: feature request 💡' 6 | assignees: '' 7 | 8 | --- 9 | 15 | 16 | ### Need 17 | 18 | 19 | ### Feature 20 | 25 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/performance_issue.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: ⚡️ Performance issue 3 | about: Report an abnormally slow behavior. 4 | title: '' 5 | labels: 'type: performance ⚡️' 6 | assignees: '' 7 | 8 | --- 9 | 15 | 16 | ### High-level description 17 | 18 | 19 | ### Steps to reproduce 20 | 28 | 29 | ### Current behavior 30 | 36 | 37 | ### Environment 38 | - **ParaView Lite**: 39 | - **OS**: 40 | - **Browser**: 41 | -------------------------------------------------------------------------------- /.github/pull_request_template.md: -------------------------------------------------------------------------------- 1 | 6 | 7 | ### PR and Code Checklist 8 | 11 | - [ ] [semantic-release](https://github.com/semantic-release/semantic-release) commit messages 12 | - [ ] Run `npm run lint` to have correctly formatted code 13 | 14 | ### Context 15 | 20 | 21 | ### Changes 22 | 28 | 29 | ### Results 30 | 35 | 36 | ### Testing 37 | 40 | - [ ] This change adds or fixes unit tests 41 | - [ ] All tests complete without errors on the following environment: 42 | - **ParaView Lite**: 43 | - **OS**: 44 | - **Browser**: 45 | 46 | 47 | _This contribution is funded by [Example](https://example.com)._ 48 | -------------------------------------------------------------------------------- /.github/workflows/publish.yml: -------------------------------------------------------------------------------- 1 | name: Release 2 | on: 3 | push: 4 | branches: 5 | - master 6 | 7 | jobs: 8 | publish: 9 | name: Publish 10 | runs-on: ubuntu-20.04 11 | steps: 12 | - name: Checkout 13 | uses: actions/checkout@v2 14 | with: 15 | fetch-depth: 0 16 | - name: Setup node 17 | uses: actions/setup-node@v1 18 | with: 19 | node-version: 12 20 | - name: Install dependencies 21 | run: npm ci 22 | - name: Lint 23 | run: npm run lint 24 | - name: Build 25 | run: npm run build 26 | - name: Release 27 | env: 28 | GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} 29 | GH_TOKEN: ${{ secrets.GH_TOKEN }} 30 | NPM_TOKEN: ${{ secrets.NPM_TOKEN }} 31 | run: | 32 | git config --global user.name "Github Actions" 33 | git config --global user.email "sebastien.jourdain@kitware.com" 34 | npm run semantic-release 35 | - name: Publish docs 36 | if: github.ref == 'refs/heads/master' 37 | env: 38 | GIT_PUBLISH_URL: https://${{ secrets.GH_TOKEN }}@github.com/Kitware/paraview-lite.git 39 | run: npm run doc:publish 40 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | *.pyc 4 | .DS_Store 5 | .DS_Store? 6 | ._* 7 | .Spotlight-V100 8 | .Trashes 9 | ehthumbs.db 10 | Thumbs.db 11 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | .gitmodules 3 | .npmrc 4 | .sass-cache 5 | .travis.yml 6 | documentation 7 | npm-debug.log 8 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | Contributing to ParaView-Lite 2 | ================================ 3 | 4 | This page documents at a very high level how to contribute to ParaView-Lite. 5 | 6 | 1. The ParaView-Lite source is maintained on Github at [github.com/kitware/paraview-lite](https://github.com/kitware/paraview-lite) 7 | 8 | 2. [Fork ParaView-Lite] into your user's namespace on Github. 9 | 10 | 3. Create a local clone of the main repository: 11 | 12 | ```sh 13 | $ git clone https://github.com/kitware/paraview-lite.git 14 | $ cd paraview-lite 15 | ``` 16 | 17 | The main repository will be configured as your `origin` remote. 18 | 19 | 4. Run the setup script to prepare ParaView-Lite: 20 | ```sh 21 | $ npm install 22 | ``` 23 | 24 | 5. Edit files and create commits (repeat as needed): 25 | ```sh 26 | $ edit file1 file2 file3 27 | $ git add file1 file2 file3 28 | $ npm run commit 29 | ``` 30 | 31 | 6. Push commits in your topic branch to your fork in Github: 32 | ```sh 33 | $ git push 34 | ``` 35 | 36 | 7. Visit your fork in Github, browse to the "**Pull Requests**" link on the left, and use the "**New Pull Request**" button in the upper right to create a Pull Request. 37 | 38 | For more information see: [Create a Pull Request] 39 | 40 | 41 | ParaView-Lite uses Github for code review and Travis-CI to test proposed patches before they are merged. 42 | 43 | Our [DevSite] is used to document features, flesh out designs and host other documentation. There are also a [forum] to coordinate development and to provide support. 44 | 45 | 46 | [Fork ParaView-Lite]: https://help.github.com/articles/fork-a-repo/ 47 | [Create a Pull Request]: https://help.github.com/articles/creating-a-pull-request/ 48 | [DevSite]: http://kitware.github.io/paraview-lite 49 | [forum]: https://discourse.paraview.org/ 50 | -------------------------------------------------------------------------------- /COPYRIGHT: -------------------------------------------------------------------------------- 1 | Copyright (c) 2018, Kitware, Inc. 2 | All rights reserved. 3 | 4 | Redistribution and use in source and binary forms, with or without 5 | modification, are permitted provided that the following conditions are met: 6 | 7 | * Redistributions of source code must retain the above copyright notice, 8 | this list of conditions and the following disclaimer. 9 | 10 | * Redistributions in binary form must reproduce the above copyright notice, 11 | this list of conditions and the following disclaimer in the documentation 12 | and/or other materials provided with the distribution. 13 | 14 | * Neither name of Ken Martin, Will Schroeder, or Bill Lorensen nor the names 15 | of any contributors may be used to endorse or promote products derived 16 | from this software without specific prior written permission. 17 | 18 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS'' 19 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 20 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 21 | ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR 22 | ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 23 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 24 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 25 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 26 | OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | BSD 3-Clause License 2 | 3 | Copyright (c) 2017, Kitware, Inc. 4 | All rights reserved. 5 | 6 | Redistribution and use in source and binary forms, with or without 7 | modification, are permitted provided that the following conditions are met: 8 | 9 | * Redistributions of source code must retain the above copyright notice, this 10 | list of conditions and the following disclaimer. 11 | 12 | * Redistributions in binary form must reproduce the above copyright notice, 13 | this list of conditions and the following disclaimer in the documentation 14 | and/or other materials provided with the distribution. 15 | 16 | * Neither the name of the copyright holder nor the names of its 17 | contributors may be used to endorse or promote products derived from 18 | this software without specific prior written permission. 19 | 20 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 21 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 22 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 24 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 26 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 27 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 28 | OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ![ParaView Lite](documentation/content/paraview_lite.png) 2 | 3 | Introduction 4 | ============ 5 | [ParaView Lite][] is an open-source, javascript visualization application created by [Kitware][], based on [ParaView][], and intended to serve a more refined and dedicated UI for controlling data processing and visualization remotely via a Web page. It is part of the [ParaView Web][] suite of tools. 6 | 7 | [ParaView Lite]: https://kitware.github.io/paraview-lite/ 8 | [ParaView Web]: http://www.paraview.org/web 9 | [ParaView]: http://www.paraview.org 10 | [VTK]: http://www.vtk.org 11 | [Kitware]: http://www.kitware.com 12 | 13 | Learning Resources 14 | ================== 15 | 16 | * General information is available at the [ParaView][] and [ParaView Web][] homepages. 17 | 18 | * Community discussion takes place on the [ParaView Discourse][]. 19 | 20 | * Commercial [support][Kitware Support] and [training][Kitware Training] are available from [Kitware][]. 21 | 22 | * Additional documentation is being created and will be released as it is created on our [documentation pages][ParaView Lite GitHub.io]. 23 | 24 | [ParaView Discourse]: https://discourse.paraview.org/ 25 | [Kitware Support]: http://www.kitware.com/products/support.html 26 | [Kitware Training]: http://www.kitware.com/products/protraining.php 27 | [ParaView Lite GitHub.io]: https://kitware.github.io/paraview-lite/ 28 | 29 | 30 | Live Demonstrations 31 | =================== 32 | 33 | As a server based web application, ParaView Lite can be run by starting the server process using the ParaView binaries and connecting to it with any browser at the appropriate URL. 34 | 35 | Building for development 36 | ======================== 37 | 38 | The prerequisites are [git][] and [node 8.12+][]. To manage node, we recommend using [nvm][]. 39 | 40 | If you wish to view, enhance, or adapt this application in any way, you can access and run the freely available source code from any platform using the following commands: 41 | 42 | 43 | ``` 44 | $ git clone https://github.com/Kitware/paraview-lite.git 45 | $ cd paraview-lite/ 46 | $ npm install 47 | $ npm run serve 48 | ``` 49 | 50 | This will build a development version inside the `./dist` directory. You will have to point the ParaView process to use that directory as web content. (i.e.: `$ pvpython ./server/pvw-lite.py --content ./dist --data ~ --port 1234`) 51 | 52 | `open http://localhost:8080/?sessionURL=ws://localhost:1234/ws` assuming the serve command started using port 8080. 53 | 54 | To generate a production build, use the following commands: 55 | 56 | ``` 57 | $ npm run build 58 | ``` 59 | 60 | This will output the final bundle and assets to `dist/`. 61 | 62 | [git]: https://git-scm.com 63 | [node 8.12+]: https://nodejs.org/en 64 | [nvm]: https://github.com/creationix/nvm 65 | 66 | 67 | Reporting Bugs and Making Contributions 68 | ======================================= 69 | 70 | If you have found a bug or have a suggestion for improving ParaView Lite: 71 | 72 | 1. If you have source code to contribute, please fork the github repository into your own github account, create a branch with your changes, and then create a merge request with the main repo. 73 | 74 | 2. If you have a bug to report or a feature to request, please open an entry in the [ParaView Lite Issue Tracker][]. 75 | 76 | [ParaView Lite Issue Tracker]: https://github.com/kitware/paraview-lite/issues 77 | 78 | 79 | License 80 | ======= 81 | 82 | ParaView Lite is distributed under the OSI-approved BSD 3-clause License. See [COPYRIGHT][] and [LICENSE][] for details. For additional licenses, refer to [ParaView Licenses][]. 83 | 84 | [COPYRIGHT]: COPYRIGHT 85 | [LICENSE]: LICENSE 86 | [ParaView Licenses]: http://www.paraview.org/paraview-license/ 87 | -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: ['@vue/cli-plugin-babel/preset'], 3 | }; 4 | -------------------------------------------------------------------------------- /build/writeVersion.js: -------------------------------------------------------------------------------- 1 | const fs = require('fs'); 2 | const path = require('path'); 3 | 4 | const packageJson = path.resolve(__dirname, '..', 'package.json'); 5 | const versionFile = path.resolve(__dirname, '..', 'dist', 'version.js'); 6 | 7 | const version = require(packageJson).version || 'master'; 8 | fs.writeFileSync(versionFile, `window.PARAVIEW_LITE_VERSION = "${version}";\n`); 9 | -------------------------------------------------------------------------------- /documentation/.gitignore: -------------------------------------------------------------------------------- 1 | build-tmp 2 | -------------------------------------------------------------------------------- /documentation/config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | baseUrl: '/paraview-lite', 3 | work: './build-tmp', 4 | api: ['../src'], 5 | examples: [], 6 | config: { 7 | title: 'ParaView Lite', 8 | description: '"Visualize your data in the Web"', 9 | subtitle: '"Enable scientific visualization in the Web."', 10 | author: 'Kitware Inc.', 11 | timezone: 'UTC', 12 | url: 'https://kitware.github.io/paraview-lite', 13 | root: '/paraview-lite/', 14 | github: 'kitware/paraview-lite', 15 | google_analytics: 'UA-90338862-13', 16 | }, 17 | copy: [], 18 | }; 19 | -------------------------------------------------------------------------------- /documentation/content/api/index.md: -------------------------------------------------------------------------------- 1 | title: API 2 | --- 3 | 4 | This documentation provides more detailed information about the API and will be particularly helpful for people who want to use VTK.js into their application. 5 | 6 | -------------------------------------------------------------------------------- /documentation/content/docs/compatibility.md: -------------------------------------------------------------------------------- 1 | title: Version Compatibility 2 | --- 3 | ParaView Lite depends on ParaView, which can be downloaded [here](http://www.paraview.org/download/). 4 | The table below indicates which versions of ParaView and ParaView Lite work together. 5 | 6 | | ParaView | Bundled version | ParaView Lite | 7 | |:--------:|:---------------:|:-------------:| 8 | | 5.6 | 1.2.0 | <= 1.2.5 | 9 | | 5.10 | 1.5.0 | >= 1.4.6 | 10 | | 5.12 | 1.5.0 | <= master | 11 | | 5.13 | Removed from bundle | <= master | 12 | -------------------------------------------------------------------------------- /documentation/content/docs/contributing.md: -------------------------------------------------------------------------------- 1 | title: Contributing 2 | --- 3 | 4 | We welcome your contributions to the development of ParaView Lite. This document will help you with the process. 5 | 6 | ## Before You Start 7 | 8 | Please follow the coding style: 9 | 10 | - Follow [Airbnb JavaScript Style Guide](https://github.com/airbnb/javascript). 11 | - Use soft-tabs with a two space indent. 12 | - Don't put commas first. 13 | 14 | ## Workflow 15 | 16 | 1. Fork [kitware/paraview-lite](https://github.com/kitware/paraview-lite). 17 | 2. Clone the repository to your computer and install dependencies. 18 | 19 | {% code %} 20 | $ git clone https://github.com//paraview-lite.git 21 | $ cd paraview-lite 22 | $ npm install 23 | {% endcode %} 24 | 25 | 3. Create a feature branch. 26 | 27 | {% code %} 28 | $ git checkout -b new_feature 29 | {% endcode %} 30 | 31 | 4. Start hacking. 32 | 5. Use Commitizen for commit message 33 | 34 | {% code %} 35 | $ npm run commit 36 | {% endcode %} 37 | 38 | 6. Push the branch: 39 | 40 | {% code %} 41 | $ git push origin new_feature 42 | {% endcode %} 43 | 44 | 6. Create a pull request and describe the change. 45 | 46 | ## Notice 47 | 48 | - Don't modify the version number in `package.json`. It is modified automatically. 49 | - Your pull request will only get merged when tests have passed. Don't forget to run tests before submission. 50 | 51 | {% code %} 52 | $ npm test 53 | {% endcode %} 54 | 55 | ## Updating Documentation 56 | 57 | The ParaView Lite documentation is part of the code repository. 58 | 59 | ## Reporting Issues 60 | 61 | When you encounter a problems with ParaView Lite, please check on [GitHub](https://github.com/kitware/paraview-lite/issues) or [ParaView Discourse](https://discourse.paraview.org/c/web-support) first then ask your question in either communication channel. 62 | -------------------------------------------------------------------------------- /documentation/content/docs/launching_examples/pvw-deploy-opt-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kitware/paraview-lite/85962465082ecf55dde48e6fac648763690db6f1/documentation/content/docs/launching_examples/pvw-deploy-opt-1.png -------------------------------------------------------------------------------- /documentation/content/docs/launching_examples/pvw-deploy-opt-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kitware/paraview-lite/85962465082ecf55dde48e6fac648763690db6f1/documentation/content/docs/launching_examples/pvw-deploy-opt-2.png -------------------------------------------------------------------------------- /documentation/content/docs/launching_examples/pvw-deploy-opt-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kitware/paraview-lite/85962465082ecf55dde48e6fac648763690db6f1/documentation/content/docs/launching_examples/pvw-deploy-opt-3.png -------------------------------------------------------------------------------- /documentation/content/docs/multi_user_setup.md: -------------------------------------------------------------------------------- 1 | # Multi-user Setup Guide 2 | 3 | ## Introduction 4 | 5 | This document describes the three components required to deploy ParaViewWeb in a multi-user environment. These three components are depicted in the following image, and include 1) a front end to act as a single point of entry for all clients, 2) a launcher which can start a new visualization process for each client who requests one, and 3) ParaViewWeb itself. 6 | 7 |
8 | 9 |
10 | 11 | The shortest path to getting all these components set up and working together is the recommended approach, using Ubuntu 16.04 LTS, Apache >= 2.4.7, and the Python launcher that is included with ParaViewWeb. 12 | 13 | However, the recommended approach is not by any means the only one. The rest of this document is dedicated to describing the three main components in a bit more detail, and providing pointers to relevant in-depth documentation in each section. While there is really only one option for the ParaViewWeb component (that is ParaViewWeb itself), there are many technologies which can serve as a front end component, and the same is true for the launcher component. 14 | 15 | ## Front End 16 | 17 | The point of the front end is to serve static content as well as to do network forwarding, so that there is a single point of entry through which all clients communicate. The front end must be able to forward certain requests to the launcher when a new client wants to start a new visualization session, and then it must be able to learn from the launcher how to map subsequent session requests from that client to the port where the clients visualization session is listening. 18 | 19 | While we recommend Apache (a version >= 2.4.7) as a front end component, there are really any number of potential options here. 20 | 21 | We have provided a detailed guide on using [Apache as a front end](apache_front_end.html). 22 | 23 | ## Launcher 24 | 25 | The launcher component (sometimes previously called the "Session Manager") is responsible for launching a ParaViewWeb process for each user who requests one, and also for communicating the session ID and an associated port number to the front end component. This allows the front end component to know how to forward future requests from each client to the correct port where that clients visualization session is listening. 26 | 27 | Currently ParaViewWeb includes our recommended [Python launcher](python_launcher.html) which is based on Twisted. Also, many other approaches for launching visualization processes have been developed for specific applications and specific deployments. Please see the [Laucher RESTful API](/paraviewweb/docs/launcher_api.html) guide for information about the API that should be implemented by any launcher. 28 | 29 | ## ParaViewWeb 30 | 31 | ParaViewWeb is simply ParaView, compiled with the Python option turned on. Any machine where it is to be run must either have a suitable graphics environment, or else ParaView must also be compiled with OSMesa support so that it can do offscreen (software) rendering. 32 | 33 | There is some basic information about getting up and running with ParaViewWeb in the [Setup](/paraviewweb/docs/setup.html) guide. 34 | 35 | ### Rendering environment 36 | 37 | Perhaps the first task to be undertaken is to decide whether you want hardware or software rendering. There is a great deal of information available throughout these guides regarding how to do either task. 38 | 39 | #### Software rendering 40 | 41 | For instructions on how to compile ParaView for software rendering, see [Offscreen OSMesa ParaViewWeb](/paraviewweb/docs/os_mesa.html). The ParaView wiki [section](http://www.paraview.org/Wiki/ParaView_And_Mesa_3D) on Mesa 3D also has a lot of information on this topic. 42 | 43 | #### Hardware rendering 44 | 45 | For instructions on how to set up a hardware rendering environment, there are also many sources of information. Again, the ParaView [wiki](http://www.paraview.org/Wiki/ParaView) is one such source. We have also compiled instructions for setting up an environment suitable for hardware rendering on several kinds of Amazon EC2 AMI images running on g2.2xlarge instances. That information can be found in the [EC2 Graphics Setup](/paraviewweb/docs/graphics_on_ec2_g2.html) guide. 46 | 47 | ### Server configuration 48 | 49 | Even the most basic ParaViewWeb server application comes out-of-the-box with a lot of configurable options, currently available as command line arguments. 50 | -------------------------------------------------------------------------------- /documentation/content/docs/multi_user_setup/pvw-3comp-resize.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kitware/paraview-lite/85962465082ecf55dde48e6fac648763690db6f1/documentation/content/docs/multi_user_setup/pvw-3comp-resize.png -------------------------------------------------------------------------------- /documentation/content/docs/troubleshooting.md: -------------------------------------------------------------------------------- 1 | title: Troubleshooting 2 | --- 3 | In case you're experiencing problems with using ParaView Lite feel free to ask question on [ParaView Discourse](https://discourse.paraview.org/c/web-support) on the Web topic or [open an issue](https://github.com/Kitware/paraview-lite/issues) on the Github project. 4 | -------------------------------------------------------------------------------- /documentation/content/gallery/01-pv-lite-landing-light.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kitware/paraview-lite/85962465082ecf55dde48e6fac648763690db6f1/documentation/content/gallery/01-pv-lite-landing-light.jpg -------------------------------------------------------------------------------- /documentation/content/gallery/02-pv-lite-landing-dark.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kitware/paraview-lite/85962465082ecf55dde48e6fac648763690db6f1/documentation/content/gallery/02-pv-lite-landing-dark.jpg -------------------------------------------------------------------------------- /documentation/content/gallery/03-pv-lite-about-light.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kitware/paraview-lite/85962465082ecf55dde48e6fac648763690db6f1/documentation/content/gallery/03-pv-lite-about-light.jpg -------------------------------------------------------------------------------- /documentation/content/gallery/04-pv-lite-about-dark.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kitware/paraview-lite/85962465082ecf55dde48e6fac648763690db6f1/documentation/content/gallery/04-pv-lite-about-dark.jpg -------------------------------------------------------------------------------- /documentation/content/gallery/05-pv-lite-light-A.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kitware/paraview-lite/85962465082ecf55dde48e6fac648763690db6f1/documentation/content/gallery/05-pv-lite-light-A.jpg -------------------------------------------------------------------------------- /documentation/content/gallery/06-pv-lite-dark-A.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kitware/paraview-lite/85962465082ecf55dde48e6fac648763690db6f1/documentation/content/gallery/06-pv-lite-dark-A.jpg -------------------------------------------------------------------------------- /documentation/content/gallery/07-pv-lite-light-C.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kitware/paraview-lite/85962465082ecf55dde48e6fac648763690db6f1/documentation/content/gallery/07-pv-lite-light-C.jpg -------------------------------------------------------------------------------- /documentation/content/gallery/08-pv-lite-dark-B.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kitware/paraview-lite/85962465082ecf55dde48e6fac648763690db6f1/documentation/content/gallery/08-pv-lite-dark-B.jpg -------------------------------------------------------------------------------- /documentation/content/gallery/index.md: -------------------------------------------------------------------------------- 1 | title: Gallery 2 | --- 3 | 4 | 14 | 15 | 25 | 26 | 27 | [a]: 01-pv-lite-landing-light.jpg 28 | [b]: 02-pv-lite-landing-dark.jpg 29 | [c]: 03-pv-lite-about-light.jpg 30 | [d]: 04-pv-lite-about-dark.jpg 31 | [e]: 05-pv-lite-light-A.jpg 32 | [f]: 06-pv-lite-dark-A.jpg 33 | [g]: 07-pv-lite-light-C.jpg 34 | [h]: 08-pv-lite-dark-B.jpg 35 | -------------------------------------------------------------------------------- /documentation/content/icon/favicon-160x160.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kitware/paraview-lite/85962465082ecf55dde48e6fac648763690db6f1/documentation/content/icon/favicon-160x160.png -------------------------------------------------------------------------------- /documentation/content/icon/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kitware/paraview-lite/85962465082ecf55dde48e6fac648763690db6f1/documentation/content/icon/favicon-16x16.png -------------------------------------------------------------------------------- /documentation/content/icon/favicon-196x196.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kitware/paraview-lite/85962465082ecf55dde48e6fac648763690db6f1/documentation/content/icon/favicon-196x196.png -------------------------------------------------------------------------------- /documentation/content/icon/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kitware/paraview-lite/85962465082ecf55dde48e6fac648763690db6f1/documentation/content/icon/favicon-32x32.png -------------------------------------------------------------------------------- /documentation/content/icon/favicon-96x96.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kitware/paraview-lite/85962465082ecf55dde48e6fac648763690db6f1/documentation/content/icon/favicon-96x96.png -------------------------------------------------------------------------------- /documentation/content/index.pug: -------------------------------------------------------------------------------- 1 | layout: index 2 | description: ParaView client that works in your browser 3 | subtitle: A customizable Web client for ParaView 4 | cmd: pvpython -m paraview.apps.lite 5 | comments: false 6 | --- 7 | 8 | ul#intro-feature-list 9 | li.intro-feature-wrap 10 | .intro-feature 11 | .intro-feature-icon 12 | i.fa.fa-cloud-download 13 | h3.intro-feature-title 14 | a(href="https://www.npmjs.com/package/paraview-lite").link Releases 15 | img(style="padding-left: 25px",src="https://badge.fury.io/js/paraview-lite.svg") 16 | p.intro-feature-desc 17 | | ParaView Lite is client application that connect to a ParaView server to perform data processing and visualization. It is designed to be customizable in term of UI and visualization workflow. 18 | | ParaView Lite is available inside 19 | a(href="https://www.paraview.org/download/").link ParaView 20 | | and can be run via its Python environment (pvpython) using the command line listed above. 21 | 22 | 23 | li.intro-feature-wrap 24 | .intro-feature 25 | .intro-feature-icon 26 | i.fa.fa-life-ring 27 | h3.intro-feature-title 28 | a(href="http://www.kitware.com/products/support.html").link Support and Services 29 | p.intro-feature-desc Kitware offers advanced software R&D solutions and services. Find out how we can help with your next project. 30 | 31 | 32 | center 33 | img(style="margin: 0.5%", src="/paraview-lite/gallery/08-pv-lite-dark-B.jpg", width="90%") 34 | -------------------------------------------------------------------------------- /documentation/content/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kitware/paraview-lite/85962465082ecf55dde48e6fac648763690db6f1/documentation/content/logo.png -------------------------------------------------------------------------------- /documentation/content/logo.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | logofavicon 5 | Created with Sketch. 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /documentation/content/paraview_lite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kitware/paraview-lite/85962465082ecf55dde48e6fac648763690db6f1/documentation/content/paraview_lite.png -------------------------------------------------------------------------------- /documentation/data/menu.yml: -------------------------------------------------------------------------------- 1 | docs: /docs/ 2 | gallery: /gallery/ 3 | -------------------------------------------------------------------------------- /documentation/tpl/__en__: -------------------------------------------------------------------------------- 1 | menu: 2 | docs: Documentation 3 | gallery: Gallery 4 | api: API 5 | examples: Examples 6 | news: News 7 | search: Search 8 | 9 | index: 10 | get_started: Get started 11 | 12 | page: 13 | contents: Contents 14 | back_to_top: Back to Top 15 | improve: Improve this doc 16 | prev: Prev 17 | next: Next 18 | last_updated: "Last updated: %s" 19 | 20 | sidebar: 21 | docs: 22 | getting_started: Getting Started 23 | basic_usage: Basic Usage 24 | roadmap: Roadmap 25 | releases: Releases 26 | import: Import 27 | tools: Developer guide 28 | overview: Overview 29 | setup: Setup 30 | miscellaneous: Miscellaneous 31 | troubleshooting: Troubleshooting 32 | contributing: Contributing 33 | pvw_server: Server 34 | version_compatibility: Version Compatibility 35 | multi_user_setup: Multi-user setup 36 | apache_front_end: Using Apache 37 | launchers: Launchers 38 | python_launcher: Python 39 | launching_examples: Examples 40 | -------------------------------------------------------------------------------- /documentation/tpl/__sidebar__: -------------------------------------------------------------------------------- 1 | docs: 2 | getting_started: 3 | overview: index.html 4 | version_compatibility: compatibility.html 5 | miscellaneous: 6 | troubleshooting: troubleshooting.html 7 | contributing: contributing.html 8 | pvw_server: 9 | multi_user_setup: multi_user_setup.html 10 | apache_front_end: apache_front_end.html 11 | launchers: 12 | python_launcher: python_launcher.html 13 | launching_examples: launching_examples.html 14 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "paraview-lite", 3 | "version": "0.0.0-semantically-release", 4 | "description": "Lite ParaView client for Scientific Visualization on the Web", 5 | "author": "Kitware", 6 | "scripts": { 7 | "serve": "vue-cli-service serve", 8 | "build": "vue-cli-service build", 9 | "lint": "vue-cli-service lint", 10 | "commit": "git cz", 11 | "doc": "kw-doc -c ./documentation/config.js", 12 | "doc:publish": "kw-doc -c ./documentation/config.js -mp", 13 | "doc:www": "kw-doc -c ./documentation/config.js -s", 14 | "prepublishOnly": "npm run version", 15 | "semantic-release": "semantic-release", 16 | "version": "node ./build/writeVersion.js" 17 | }, 18 | "dependencies": { 19 | "@mdi/font": "5.9.55", 20 | "commitizen": "^4.2.4", 21 | "core-js": "^3.6.5", 22 | "material-design-icons-iconfont": "3.0.3", 23 | "mousetrap": "^1.6.5", 24 | "semantic-release": "^17.4.5", 25 | "typeface-roboto": "1.1.13", 26 | "vtk.js": "^19.2.3", 27 | "vue": "^2.6.14", 28 | "vue-vtk-js": "^1.1.4", 29 | "vuetify": "^1.5.24", 30 | "vuex": "^3.6.2", 31 | "wslink": "^1.0.5" 32 | }, 33 | "devDependencies": { 34 | "@vue/cli-plugin-babel": "~4.5.13", 35 | "@vue/cli-plugin-eslint": "~4.5.13", 36 | "@vue/cli-plugin-vuex": "~4.5.0", 37 | "@vue/cli-service": "~4.5.13", 38 | "@vue/eslint-config-airbnb": "^5.0.2", 39 | "@vue/eslint-config-prettier": "^6.0.0", 40 | "babel-eslint": "^10.1.0", 41 | "eslint": "^6.7.2", 42 | "eslint-plugin-import": "^2.20.2", 43 | "eslint-plugin-prettier": "^3.3.1", 44 | "eslint-plugin-vue": "^6.2.2", 45 | "kw-doc": "3.1.0", 46 | "prettier": "^2.2.1", 47 | "vue-template-compiler": "^2.6.14", 48 | "vuetify-loader": "^1.7.2" 49 | }, 50 | "bugs": { 51 | "url": "https://github.com/kitware/paraview-lite/issues" 52 | }, 53 | "config": { 54 | "commitizen": { 55 | "path": "./node_modules/cz-conventional-changelog" 56 | } 57 | }, 58 | "homepage": "https://github.com/kitware/paraview-lite#readme", 59 | "keywords": [ 60 | "3d", 61 | "visualization", 62 | "scientific", 63 | "paraview", 64 | "vtk" 65 | ], 66 | "license": "BSD-3-Clause", 67 | "repository": { 68 | "type": "git", 69 | "url": "git+https://github.com/kitware/paraview-lite.git" 70 | } 71 | } 72 | -------------------------------------------------------------------------------- /prettier.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | printWidth: 80, 3 | singleQuote: true, 4 | trailingComma: 'es5', 5 | arrowParens: 'always', 6 | }; 7 | -------------------------------------------------------------------------------- /public/ParaView.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kitware/paraview-lite/85962465082ecf55dde48e6fac648763690db6f1/public/ParaView.png -------------------------------------------------------------------------------- /public/ParaView.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | ParaView 5 | Created with Sketch. 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /public/icons/kitware-logo.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 8 | 9 | 10 | 12 | 13 | 14 | 16 | 17 | 18 | 20 | 21 | 23 | 25 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /public/icons/lite-dark.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 7 | 8 | 9 | 13 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 28 | 35 | 38 | 45 | 46 | 47 | 52 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | -------------------------------------------------------------------------------- /public/icons/lite-small-dark.svg: -------------------------------------------------------------------------------- 1 | 2 | image/svg+xml 33 | -------------------------------------------------------------------------------- /public/icons/lite-small.svg: -------------------------------------------------------------------------------- 1 | 2 | image/svg+xml 33 | -------------------------------------------------------------------------------- /public/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | ParaView Lite 9 | 10 | 11 | 17 | 18 | 19 | 20 | 23 |
24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /public/pv-lite-bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kitware/paraview-lite/85962465082ecf55dde48e6fac648763690db6f1/public/pv-lite-bg.jpg -------------------------------------------------------------------------------- /public/version.js: -------------------------------------------------------------------------------- 1 | window.PARAVIEW_LITE_VERSION = 'Developement'; 2 | -------------------------------------------------------------------------------- /server/launcher-template.json: -------------------------------------------------------------------------------- 1 | { 2 | "configuration": { 3 | "host" : "localhost", 4 | "port" : 8080, 5 | "endpoint": "paraview", 6 | "content": "PARAVIEW_LITE_WWW", 7 | "proxy_file" : "PARAVIEW_LITE_SERVER/proxy.txt", 8 | "sessionURL" : "ws://${host}:${port}/ws", 9 | "timeout" : 5, 10 | "log_dir" : "PARAVIEW_LITE_SERVER", 11 | "fields" : [] 12 | }, 13 | "resources" : [ { "host" : "localhost", "port_range" : [9001, 9005] } ], 14 | "properties" : { 15 | "dataDir": "PARAVIEW_DATA", 16 | "python_exec" : "PARAVIEW_PVPYTHON" 17 | }, 18 | "apps": { 19 | "paraview-lite": { 20 | "cmd": [ 21 | "${python_exec}", "-dr", "PARAVIEW_LITE_SERVER/pvw-lite.py", 22 | "--port", "${port}", "--data", "${dataDir}", "--authKey", "${secret}" 23 | ], 24 | "ready_line" : "Starting factory" 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /server/proxies.json: -------------------------------------------------------------------------------- 1 | { 2 | "sources": [ 3 | { "name": "AnnotateTime", "label": "Annotate Time" }, 4 | { "name": "Cone" }, 5 | { "name": "Sphere" }, 6 | { "name": "Text" }, 7 | { "name": "Wavelet" }, 8 | { "name": "Box" }, 9 | { "name": "Cylinder" } 10 | ], 11 | 12 | "filters": [ 13 | { "name": "Calculator" }, 14 | { "name": "CellDatatoPointData", "label": "Cell Data To Point Data" }, 15 | { "name": "Clip" }, 16 | { "name": "Contour" }, 17 | { "name": "D3" }, 18 | { "name": "ExtractCTHParts" }, 19 | { "name": "ProcessIdScalars" }, 20 | { "name": "Reflect" }, 21 | { "name": "Slice" }, 22 | { "name": "StreamTracer" }, 23 | { "name": "Threshold" }, 24 | { "name": "Transform" }, 25 | { "name": "Tube" }, 26 | { "name": "Ribbon" }, 27 | { "name": "WarpByScalar", "label": "Warp By Scalar" }, 28 | { "name": "WarpByVector", "label": "Warp By Vector" }, 29 | { "name": "ExtractBlock", "label": "Extract Blocks" } 30 | ], 31 | 32 | "readers": [ 33 | { "name": "LegacyVTKReader", "extensions": [ "vtk" ], "method": "FileNames" }, 34 | { "name": "VERAOUTReader", "extensions": [ "h5" ], "method": "FileName" } 35 | ] 36 | } 37 | -------------------------------------------------------------------------------- /src/components/core/AboutBox/index.vue: -------------------------------------------------------------------------------- 1 |