Re: [Paraview] rotating and shifting image data

2009-11-25 Thread François Bissey
On Thu, 26 Nov 2009 07:57:16 Martin Luessi wrote:
> However, the "vtkImageReslice" filter
> does not seem to be present in the VTK version that comes with
> ParaView (3.6.1-r1 on Gentoo). (Apart from this I couldn't figure out
> how to use VTK filters on "simple.ImageReader")
> 
vtkImageReslice seems to be in the source tarball on my Gentoo system.
There is a few issues on Gentoo may be you should file a bug.
Actually speaking of bugs can you take a screenshot? I cannot I get
"failed to create pixmap" and then a segfault. I cannot quite figure
what's wrong apart may be a bug in my openGL drivers.

Francois
___
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] rotating and shifting image data

2009-11-25 Thread Martin Luessi
On Wed, Nov 25, 2009 at 3:13 PM, François Bissey
 wrote:
> On Thu, 26 Nov 2009 07:57:16 Martin Luessi wrote:
>> However, the "vtkImageReslice" filter
>> does not seem to be present in the VTK version that comes with
>> ParaView (3.6.1-r1 on Gentoo). (Apart from this I couldn't figure out
>> how to use VTK filters on "simple.ImageReader")
>>
> vtkImageReslice seems to be in the source tarball on my Gentoo system.
> There is a few issues on Gentoo may be you should file a bug.
> Actually speaking of bugs can you take a screenshot? I cannot I get
> "failed to create pixmap" and then a segfault. I cannot quite figure
> what's wrong apart may be a bug in my openGL drivers.
>
> Francois

Thanks Francois, I will try to find out why vtkImageReslice is
missing. About the screenshot, this seems to have something to do with
you graphics driver. For me, it only work with ati-drivers (Radeon
HD4830), it does not work with xf86-video-intel (Intel X3100) and
xf86-video-radeonhd (ATI X1300). It seems to have something to do with
this bug:

http://bugs.gentoo.org/show_bug.cgi?id=279060

I'm getting the "GL_VERSION_1_4_DEPRECATED" on the systems where it
doesn't work.



-- 
__
Martin Luessi, M.S.
Ph.D. Candidate
Department of Electrical Engineering and Computer Science
Northwestern University
http://ivpl.eecs.northwestern.edu/people/mluessi
___
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] rotating and shifting image data

2009-11-25 Thread Martin Luessi
Ok, I found the vtkImageReslice filter:

from paraview.vtk.imaging import vtkImageReslice

I didn't realize that it was "hidden" in the imaging module. This
brings me back to the question on how to use vtkImageReslice with the
simple.ImageReader object. Is this possible, or do I have to use the
vtkImageReader instead?

best,

Martin



-- 
__
Martin Luessi, M.S.
Ph.D. Candidate
Department of Electrical Engineering and Computer Science
Northwestern University
http://ivpl.eecs.northwestern.edu/people/mluessi
___
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