Comments (9)
ParaViewWeb is meant to be used with Paraview or VTK on the server side for data processing and rendering. So by using either you will be able to read anything that they can read such as a VTK file. But that setup usually require a server with a GPU for good performance. See RemoteRenderer example for more details.
But if you are looking at a more "full JavaScript" for doing so, you should look for vtk.js or even ParaView Glance.
from paraviewweb.
The issue is right there:
this.reader = vtkHttpDataSetReader.newInstance();
this.reader.setUrl(`http://localhost:3000/Assets/cube_ascii.vtp`).then(() => {
The reader for vtp file is not vtkHttpDataSetReader but this one instead.
from paraviewweb.
Please be more careful when reading/writing code. They are a lot of examples out there that works on the vtk.js site. I know it is not obvious for beginners, but as much as we love helping the community it is time consuming to figure out the simple typo on random codes. Like the one below vtkOpenGLRenderWindow != FullScreenRenderWindow
...
import vtkOpenGLRenderWindow from 'vtk.js/Sources/Rendering/Misc/FullScreenRenderWindow';
I guess you should look at that specific example
from paraviewweb.
Oh wow,
Sorry about that. That seemed to fix it thank you very much.
from paraviewweb.
I can't debug your code... The issue is not in vtk.js. I would suggest more investigation on your end...
from paraviewweb.
This is my attempt to use straight vtk.js but it is still not working. Im getting an error saying:
TypeError: view.setRenderable is not a function
from paraviewweb.
I made the edit but the same problem still persists. That said the vtp file is actually showing up in the network tab so it did probably fix a future problem.
from paraviewweb.
Ok I thought it was fixed but not quite, there still seems to be an issue with the reader. I keep getting an error.
I thought it was a sync issue, so I used loadData().then, however it is still not working.
from paraviewweb.
Sorry,
Thought it wouldnt hurt to ask. Thanks for all the help
from paraviewweb.
Related Issues (20)
- File missing in tools/docker/visaulizer/DockerFile
- Get "SyntaxError ... Unexpected token" message when importing React Component in a Create-React-App project.
- failed: Error during WebSocket handshake HOT 3
- pvpython : ImportError: libgfortran.so.4 HOT 1
- Hover Points/Cells On Function HOT 1
- Cant not build ParaViewWeb project! HOT 25
- Setting up visualizer with ssh using pvw via a docker container HOT 28
- Error while opening openFoam file HOT 8
- vtkWSLinkClient + sessionmanagerurl HOT 5
- ParaviewWeb behind Nginx HOT 9
- MouseHandler limitations HOT 2
- The automated release is failing 🚨
- npm install --save tries to execute bash script using cmd.exe on Windows HOT 4
- Minified reaction error #31 and websocket connection error HOT 1
- npm install since v3.2.15 broken on windows HOT 4
- npm install的时候报错 ./config/prebuild.sh '.' 不是内部或外部命令,也不是可运行的程序 或批处理文件。
- An error occurred when npm install was installed。./config/prebuild.sh '.' is not an internal or external command, nor is it a executable program Or batch file. HOT 1
- Hello, which is the project start command, there is no tutorial
- How to run ParaViewWeb V3.2.21 on Windows10 HOT 3
- cann'nt run HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from paraviewweb.