[vtkusers] Help about VTK_DATA_ROOT (python)

mozendi mozendi at gmail.com
Tue Apr 16 07:59:38 EDT 2019

Dear VTK Users,

Recently I installed python version of the VTK. I am trying to run the
for my project. 
In my project, I am trying to visualize points (TEZ_INCII.xyz) with their
intensity value which varies between 0-1. However, I do not know how to set
up *reader.SetFileName("" + str(VTK_DATA_ROOT) + "/Data/Particles.raw")* .
I tried to set the file name as *reader.SetFileName("TEZ_INCII.xyz")* ,where
TEZ_INCII.xyz is the point cloud file,  but the render window shows up and
then disappears suddenly. 
I printed the VTK_DATA_ROOT and I got *../../../../VTKData*. I searched the
folder VTKData in my computer but it does not exist. In all other script
examples that input any file, the VTK_DATA_ROOT is used. If I can fix this
issue, I will be able to modify examples for my own files.
Can you please help me about this issue?
I am looking forward to hearing from you


Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html

More information about the vtkusers mailing list