[Paraview] Problem with loading the.mhd files on ParaView

2010-05-25 Thread Yusuf OEZBEK

Hello, 

I have saved the segmentation-outputs of two algorithms (itk-watershed and 
region growing) as. mhd file. Then I wanted to load the .mhd files with 
Paraview, but I get the following errors.

ERROR: In .. \ .. \ .. \ src \ server \ Filters \ vtkTexturePainter.cxx, line 
287 vtkTexturePainter (082D23E0): Incorrect dimensionality. and
ERROR: In .. \ .. \ .. \ src \ VTK \ IO \ vtkMetaImageReader.cxx, line 105 
vtkMetaImageReader (123D7000): Unknown data type: 11

Can someone please tell me what these errors mean.

http://www.wopsys.com/Outputs/RegionGrowing.mhd
http://www.wopsys.com/Outputs/RegionGrowing.raw

http://www.wopsys.com/Outputs/Watershed.mhd
http://www.wopsys.com/Outputs/Watershed.raw


Thanks


___
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


Re: [Paraview] Problem with loading the.mhd files on ParaView

2010-05-25 Thread Jérôme
Hi,
I don't have any errors with the RegionGrowing dataset: I loaded it
successfully.

The Watershed is 300MB, I don't have time to download it...

Good luck!
Jerome

2010/5/25 Yusuf OEZBEK nasil122...@yahoo.de:

 Hello,

 I have saved the segmentation-outputs of two algorithms (itk-watershed and
 region growing) as. mhd file. Then I wanted to load the .mhd files with
 Paraview, but I get the following errors.

 ERROR: In .. \ .. \ .. \ src \ server \ Filters \ vtkTexturePainter.cxx,
 line 287 vtkTexturePainter (082D23E0): Incorrect dimensionality.
 and
 ERROR: In .. \ .. \ .. \ src \ VTK \ IO \ vtkMetaImageReader.cxx, line 105
 vtkMetaImageReader (123D7000): Unknown data type: 11

 Can someone please tell me what these errors mean.

 http://www.wopsys.com/Outputs/RegionGrowing.mhd
 http://www.wopsys.com/Outputs/RegionGrowing.raw

 http://www.wopsys.com/Outputs/Watershed.mhd
 http://www.wopsys.com/Outputs/Watershed.raw


 Thanks


 ___
 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


___
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


Re: [Paraview] Minimal X Window System config

2010-05-25 Thread Paul McIntosh
An update... I have a solution :)

I think that twm hangs because it expects user interaction (i.e. a mouse
click) before creating the window. Debugging pvserver shows that it is
sitting waiting for XGetWindowAttributes and never gets them.

So I tried another tack and just ran pvserver without twm (or any window
manager) and used xinit to invoke the X Server. The following commands work
and will probably be useful for someone else...

1) Run a single instance (X Server shuts down when complete)
xinit fullpath/pvserver 

2) Run multiple instances (X Server shuts down when complete)
xinit fullpath/mpirun -np 16 ./pvserver

3) Run multiple instances across multiple GPUs (X Server shuts down when
complete)
xinit fullpath/mpirun -bynode -np 8 ./pvserver -display :0.0 : -np 8
./pvserver -display :0.1

Cheers,

Paul


-Original Message-
From: Paul McIntosh [mailto:paul.mcint...@internetscooter.com] 
Sent: Friday, 14 May 2010 12:36 PM
To: 'paraview@paraview.org'
Subject: Minimal X Window System config

Hi All,

Does any one have information they can share on a minimal X Window System
config (Centos 5.5 cluster nodes) for pvserver remote rendering to work?

I can install a very minimal system consisting of things like fonts,
xorg-x11-twm, glx-utils, xorg-x11-server-Xorg, xorg-x11-twm, xorg-x11-xinit,
xorg-x11-server-Xorg and xorg-x11-xauth.

If I run Specviewperf, glxgears or glxinfo the output is as expected.
However pvserver just hangs when I connect to it from a client. The weird
thing is that if I run pvserver or ParaView via VirtualGL in a TurboVNC
session it works!?

My solution at the moment works but is big bang and overkill for a cluster
node:

yum groupinstall X Window System GNOME Desktop Environment

Note I have read the following:

Setting up a ParaView Server
http://www.paraview.org/Wiki/Setting_up_a_ParaView_Server

Step by step guide for the installation and configuration of a cluster to
run ParaView
http://www.iac.es/sieinvens/siepedia/pmwiki.php?n=HOWTOs.ParaviewInACluster


Cheers,

Paul
---
www.internetscooter.com 

___
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] Manta Plugin with ParaView 3.8.0 executable for windows

2010-05-25 Thread Natalie Happenhofer

Hi!

Is it possible that when installing paraview from the 
ParaView-3.8.0-RC2-Win32-x86.exe installer, the Manta Plugin is not supported?

Greets,
Natalie
  
_
Hotmail es el correo más eficiente. Tienes 25 GB gratis para organizar y 
compartir tus documentos.
http://mail.live.com/___
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


Re: [Paraview] Manta Plugin with ParaView 3.8.0 executable for windows

2010-05-25 Thread Utkarsh Ayachit
Yes, that's correct. Manta is not packaged with ParaView hence the
plugin is not enabled in the binaries.

Utkarsh

On Tue, May 25, 2010 at 6:15 AM, Natalie Happenhofer
natalieh...@hotmail.com wrote:
 Hi!

 Is it possible that when installing paraview from the
 ParaView-3.8.0-RC2-Win32-x86.exe installer, the Manta Plugin is not
 supported?

 Greets,
 Natalie

 
 ¿Tu casilla de email se queda sin espacio? Hotmail te ofrece 25 GB gratis.
 Registra tu cuenta aquí
 ___
 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


___
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] adding additional information in the paraview banner

2010-05-25 Thread Stephen Wornom

The top banner on all PV open windows reads
paraview 3.8.0-RC2

Is it possible on modifiy the banner so as to navigate more easily 
through different PV windows that are open?


Example, suppose I have four windows opened, I would like the banners to 
read

paraview 3.8.0-RC2 fine mesh
paraview 3.8.0-RC2 coarse mesh LES
paraview 3.8.0-RC2 coarse mesh VMS-LES
paraview 3.8.0-RC2 coarse mesh VMS-WALE
Thanks,
Stephen

--
stephen.wor...@sophia.inria.fr
2004 route des lucioles - BP93
Sophia Antipolis
06902 CEDEX

Tel: 04 92 38 50 54
Fax: 04 97 15 53 51

attachment: stephen_wornom.vcf___
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


Re: [Paraview] adding additional information in the paraview banner

2010-05-25 Thread Utkarsh Ayachit
Not currently. Feel free to add a feature request to the bug tracker,  however.

Utkarsh

On Tue, May 25, 2010 at 10:37 AM, Stephen Wornom
stephen.wor...@sophia.inria.fr wrote:
 The top banner on all PV open windows reads
 paraview 3.8.0-RC2

 Is it possible on modifiy the banner so as to navigate more easily through
 different PV windows that are open?

 Example, suppose I have four windows opened, I would like the banners to
 read
 paraview 3.8.0-RC2 fine mesh
 paraview 3.8.0-RC2 coarse mesh LES
 paraview 3.8.0-RC2 coarse mesh VMS-LES
 paraview 3.8.0-RC2 coarse mesh VMS-WALE
 Thanks,
 Stephen

 --
 stephen.wor...@sophia.inria.fr
 2004 route des lucioles - BP93
 Sophia Antipolis
 06902 CEDEX

 Tel: 04 92 38 50 54
 Fax: 04 97 15 53 51


 ___
 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


___
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


Re: [Paraview] Adding an interactive slice widget

2010-05-25 Thread Jenya Burstein
Utkarsh,

Thanks again, that worked.

Now that the widget shows and can be interacted with I need to register an
oberver with it. I am not sure how to do that, since, again, I don't see any
command properties defined for it in the XML resource file.

And another question - where or how would I find the information that, for
example a widget has to be added to a view before it can be enabled,  so
that I wouldn't be bugging others with my posts to the mailing list? Is
there a documentation or a set of examples?

Jenya


On Tue, May 25, 2010 at 12:09 PM, Utkarsh Ayachit 
utkarsh.ayac...@kitware.com wrote:

 Make sure you are changing the enabled state after the widget has been
 added to the view i.e. after the following code:

  pqSMAdaptor::addProxyProperty(
m_renderView-getProxy()-GetProperty(Representations),
 sliceWidget)
 m_renderView-getProxy()-UpdateVTKObjects();

 Utkarsh

 On Tue, May 25, 2010 at 2:57 PM, Jenya Burstein taijin...@gmail.com
 wrote:
  Utkarsh,
 
  Thank you for the response. I think that moved me one step closer to the
  solution.
 
  However, now I get the following runtime error in the Output window:
  ERROR: In ..\..\..\VTK\Widgets\vtkAbstractWidget.cxx, line 119
 
  vtkImplicitPlaneWidget2 (0D01C8C0): The interactor must be set
 prior
  to enabling the widget
 
 
 
  I don't see an Interactor property defined in the XML file for the
  ImplicitPlaneWidgetRepresentation and I get a zero pointer if I try to
 get
  it with:
vtkSMProperty* p = sliceWidget-GetProperty(Interactor);
 
  Jenya
  On Tue, May 25, 2010 at 11:39 AM, Utkarsh Ayachit
  utkarsh.ayac...@kitware.com wrote:
 
  pqSMAdaptor::setElementProperty(sliceWidget-GetProperty(Enabled), 1);
 

___
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


Re: [Paraview] Adding an interactive slice widget

2010-05-25 Thread Utkarsh Ayachit
Jenya,

Look at vtkSMNewWidgetRepresentationProxy::ExecuteEvent. It fires
events when one interacts with the widget. You can add observers for
those events.

As far as documentation for such things goes, the source code if your
best guide -- attaching debugger and back tracking to determine why
that error is being thrown serves as a good starting point.

Utkarsh




On Tue, May 25, 2010 at 4:32 PM, Jenya Burstein taijin...@gmail.com wrote:
 Utkarsh,

 Thanks again, that worked.

 Now that the widget shows and can be interacted with I need to register an
 oberver with it. I am not sure how to do that, since, again, I don't see any
 command properties defined for it in the XML resource file.

 And another question - where or how would I find the information that, for
 example a widget has to be added to a view before it can be enabled,  so
 that I wouldn't be bugging others with my posts to the mailing list? Is
 there a documentation or a set of examples?

 Jenya

 On Tue, May 25, 2010 at 12:09 PM, Utkarsh Ayachit
 utkarsh.ayac...@kitware.com wrote:

 Make sure you are changing the enabled state after the widget has been
 added to the view i.e. after the following code:

  pqSMAdaptor::addProxyProperty(
        m_renderView-getProxy()-GetProperty(Representations),
 sliceWidget)
 m_renderView-getProxy()-UpdateVTKObjects();

 Utkarsh

 On Tue, May 25, 2010 at 2:57 PM, Jenya Burstein taijin...@gmail.com
 wrote:
  Utkarsh,
 
  Thank you for the response. I think that moved me one step closer to the
  solution.
 
  However, now I get the following runtime error in the Output window:
  ERROR: In ..\..\..\VTK\Widgets\vtkAbstractWidget.cxx, line 119
 
  vtkImplicitPlaneWidget2 (0D01C8C0): The interactor must be set
  prior
  to enabling the widget
 
 
 
  I don't see an Interactor property defined in the XML file for the
  ImplicitPlaneWidgetRepresentation and I get a zero pointer if I try to
  get
  it with:
    vtkSMProperty* p = sliceWidget-GetProperty(Interactor);
 
  Jenya
  On Tue, May 25, 2010 at 11:39 AM, Utkarsh Ayachit
  utkarsh.ayac...@kitware.com wrote:
 
  pqSMAdaptor::setElementProperty(sliceWidget-GetProperty(Enabled),
  1);
 


___
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