[Paraview] image data extents are not displayed in Information tab

2008-10-27 Thread Dominik Szczerba
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 What else then WHOLE_EXTENT, UPDATE_EXTENT and SetExtent and do I have to fill in RequestInformation/RequestData of my plugin reader (derived from vtkImageAlgorithm) in order for Paraview to see the dataset's extents? Only bounds are displayed in the I

Re: [Paraview] image data extents are not displayed in Information tab

2008-10-27 Thread Michael Jackson
Not sure if it is any help but here is a code snippet from my own HDF5 image reader code: outInfo->Set( vtkDataObject::ORIGIN(), DataOrigin, 3 ); outInfo->Set( vtkDataObject::SPACING(), DataSpacing, 3 ); this->DataExtent[0] = this->DataExtent[2] = this->DataExtent[4] = 0; this->DataExte

Re: [Paraview] image data extents are not displayed in Information tab

2008-10-28 Thread Dominik Szczerba
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thanks Mike, but this is exactly what I have. Are you sure you see both bounds and extents in Information? Dominik Michael Jackson wrote: > Not sure if it is any help but here is a code snippet from my own HDF5 > image reader code: > > outInfo->Se

Re: [Paraview] image data extents are not displayed in Information tab

2008-10-28 Thread Dominik Szczerba
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 One more question: where do you derive your reader from (maybe the parent class sets something for you)? Dominik Dominik Szczerba wrote: > Thanks Mike, but this is exactly what I have. > Are you sure you see both bounds and extents in Information? >

Re: [Paraview] image data extents are not displayed in Information tab

2008-10-28 Thread Michael Jackson
vtkImageAlgorithm _ Mike Jackson [EMAIL PROTECTED] BlueQuartz Softwarewww.bluequartz.net Principal Software Engineer Dayton, Ohio On Oct 28, 2008, at 5:31 AM, Dominik Szczerba wrote:

Re: [Paraview] image data extents are not displayed in Information tab

2008-10-28 Thread Dominik Szczerba
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 As I do. Please, can you check if you see both extents and bounds in Information? Dominik Michael Jackson wrote: > vtkImageAlgorithm > > _ > Mike Jackson [EMAIL PROTECTED] > Bl

Re: [Paraview] image data extents are not displayed in Information tab

2008-10-28 Thread Dominik Szczerba
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thanks Mike, Yeah, no doubt I am doing something wrong, but am clueless. At the end of RequestData this->GetOutput()->GetExtent(extent); gets a valid extent. But PV does not see it (and screws up some filters). Dominik Michael Jackson wrot

Re: [Paraview] image data extents are not displayed in Information tab

2008-10-28 Thread Michael Jackson
At the top of RequestData() method how are you getting the output object? Maybe that has something to do with it? You can take a look at my code and compare with your own. __

Re: [Paraview] image data extents are not displayed in Information tab

2008-10-28 Thread Dominik Szczerba
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thanks for the code, but I am doing all you are doing... (except my reader is static (no time), maybe this makes a difference?) Are you using PV 3.4 or CVS? Dominik Michael Jackson wrote: > At the top of RequestData() method how are you getting the o

Re: [Paraview] image data extents are not displayed in Information tab

2008-10-28 Thread Michael Jackson
PV 3.4 Release and CVS both work. Time shouldn't make a difference. Not sure at this point without seeing all your code. Maybe another set of "eyes" can spot the difference. _ Mike Jackson [EMAIL PROTECTED]

Re: [Paraview] image data extents are not displayed in Information tab

2008-10-28 Thread Dominik Szczerba
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I posted the plugin code under: http://www.vision.ee.ethz.ch/~domi/tmp/hdf5reader/ It works very well, only the Extent does not make it to PV Information tab - and some filters screw up. I would be very happy if someone proves me blind, I am frustra