[Paraview] Problems writing an .vtu file

2010-01-28 Thread s . habbinga
Hello everybody,

I've been trying to write a c++ function to convert my data into .vtu
files. Unfortunately, paraview isn't able to read my .vtu files. I get
the following error-message:

ERROR: In
/home/zam/domini/paraview/ParaView3src/VTK/Filtering/vtkExecutive.cxx,
line 757
vtkCompositeDataPipeline (0x8cf34b0): Algorithm
vtkXMLUnstructuredGridReader(0x8d915d0) returned failure for request:
vtkInformation (0x90c34e8)
  Debug: Off
  Modified Time: 383066
  Reference Count: 1
  Registered Events: (none)
  Request: REQUEST_INFORMATION
  FORWARD_DIRECTION: 0
  ALGORITHM_AFTER_FORWARD: 1


I'm obviously doing something wrong... can anyone help? I really can't
find the error. Below, you find a sample .vtu file.
Thanks in advance!!

Sonja



  

  

  1 1 1 1 1 1 1 1
  2 2 2 2 2 2 2 2
  3 3 3 3 3 3 3 3
  4 4 4 4 4 4 4 4
  5 5 5 5 5 5 5 5
  6 6 6 6 6 6 6 6
  0 0 0 0 0 0 0 0
  7 7 7 7 7 7 7 7
  8 8 8 8 8 8 8 8
  10 10 10 10 10 10 10 10
  9 9 9 9 9 9 9 9
  11 11 11 11 11 11 11 11


  
  
  
  

  0 -37.5 -225 37.5 -37.5 -225 0 0 -225 37.5 0 -225 0 -37.5 -75 37.5
-37.5 -75 0 0 -75 37.5 0 -75
  -37.5 0 -225 0 0 -225 -37.5 37.5 -225 0 37.5 -225 -37.5 0 -75 0 0
-75 -37.5 37.5 -75 0 37.5 -75
  0 0 -225 37.5 0 -225 0 37.5 -225 37.5 37.5 -225 0 0 -75 37.5 0 -75
0 37.5 -75 37.5 37.5 -75
  -37.5 -37.5 -75 0 -37.5 -75 -37.5 0 -75 0 0 -75 -37.5 -37.5 75 0
-37.5 75 -37.5 0 75 0 0 75
  0 -37.5 -75 37.5 -37.5 -75 0 0 -75 37.5 0 -75 0 -37.5 75 37.5
-37.5 75 0 0 75 37.5 0 75
  -37.5 0 -75 0 0 -75 -37.5 37.5 -75 0 37.5 -75 -37.5 0 75 0 0 75
-37.5 37.5 75 0 37.5 75
  -37.5 -37.5 -225 0 -37.5 -225 -37.5 0 -225 0 0 -225 -37.5 -37.5
-75 0 -37.5 -75 -37.5 0 -75 0 0 -75
  0 0 -75 37.5 0 -75 0 37.5 -75 37.5 37.5 -75 0 0 75 37.5 0 75 0
37.5 75 37.5 37.5 75
  -37.5 -37.5 75 0 -37.5 75 -37.5 0 75 0 0 75 -37.5 -37.5 225 0
-37.5 225 -37.5 0 225 0 0 225
  -37.5 0 75 0 0 75 -37.5 37.5 75 0 37.5 75 -37.5 0 225 0 0 225
-37.5 37.5 225 0 37.5 225
  0 -37.5 75 37.5 -37.5 75 0 0 75 37.5 0 75 0 -37.5 225 37.5 -37.5
225 0 0 225 37.5 0 225
  0 0 75 37.5 0 75 0 37.5 75 37.5 37.5 75 0 0 225 37.5 0 225 0 37.5
225 37.5 37.5 225


  
  

  0 1 2 3 4 5 6 7
  8 9 10 11 12 13 14 15
  16 17 18 19 20 21 22 23
  24 25 26 27 28 29 30 31
  32 33 34 35 36 37 38 39
  40 41 42 43 44 45 46 47
  48 49 50 51 52 53 54 55
  56 57 58 59 60 61 62 63
  64 65 66 67 68 69 70 71
  72 73 74 75 76 77 78 79
  80 81 82 83 84 85 86 87
  88 89 90 91 92 93 94 95



  8 16 24 32 40 48 56 64 72 80 88 96


  11 11 11 11 11 11 11 11 11 11 11 11

  

  





Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDir'in Baerbel Brumme-Bothe
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt


___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Using Paraview with 3 wall stereo-projection

2009-12-04 Thread s . habbinga
Hi,

I would like to use ParaView with our 3 channel passive stereo
projection screen. (See
http://www.fz-juelich.de/jsc/cv/vislab/vr/hardware#screen for details)
I'm using ParaView 3.6.1, which is installed with mpi support on all
machines of the cluster.
I already tried the following, but without success:

* CLIENT: ./paraview cave.pvx --render-module=CaveRenderModule

* SERVER:   mpirun  -machinefile
/home/demo/work/ParaView3/bin/machines.txt -env DISPLAY :0.0 -n 3
/home/demo/work/ParaView3/bin/pvserver
/home/demo/work/ParaView3/bin/cave.pvx --render-module=CaveRenderModule

with cave.pvx:


  
  
   
   
   
  


What am I doing wrong?






Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDir'in Baerbel Brumme-Bothe
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt


___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Implementing an "Interactive Reader"

2009-11-04 Thread s . habbinga
Hi,

I would like to write a reader plugin which allows some kind of
interaction: after reading the whole dataset (which is particle data and
will be mapped to a imagedata), the user should be able to select a
volume of interest. Thereupon, the reader has to reread the dataset and
map it to the imagedata with the new extent. I don't want to use the
"create subset" filter, because I don't want the VOI to be of a lower
resolution.
Any ideas how I could use a box-widget to specify a volume of interest
and cause the reader to reread the data mapping it to the new imagedata?

Thanks in advance,
Sonja






Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDir'in Baerbel Brumme-Bothe
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt


___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview