I am editing pvw-visualizer.py to show my own objs in paraview-web browser. However I have met some problems.
- First of all, I have successfully shown models in web browser using polydata. But I can’t set the attributes like colors, or show models in vertexs, edges modes.
- Secondly, I want to show lines in this way, but failed finilly:
#Create two points, P0 and P1 p0 = [1.0, 0.0, 0.0] p1 = [0.0, 1.0, 0.0] lineSource = vtk.vtkLineSource() lineSource.SetPoint1(p0) lineSource.SetPoint2(p1) simple.Show(lineSource)
- And thirdly, I find there are many usefull functions in web front-end, just like this:
Could I use some API in pvw-visualizer.py about that?
So how can I figure out these problems? Anyone could show me help? Thanks!