The change in image geometries also applies for MITK in the SVN version.
But it should not affect the display of anything besides a shift of half a 
voxel.
Image coordinates just shifted according to ITK (Corner-based for Index 
coordinates, center-based for World).
Please note that the SVN version of MITK is therefore not compatible to ITK 
versions < 3.16.

Just to let you know, I don't think this is the reason of your problem.

Best regards,
Tobias


------------------------------------------------------------
Tobias Schwarz
DKFZ
German Cancer Research Center (Deutsches Krebsforschungszentrum)
Member of the Helmholtz Association
Division of Medical & Biological Informatics E130
Im Neuenheimer Feld 280
D-69120 Heidelberg
Phone: 49-(0)6221-42-2353
Fax: 49-(0)6221-42-2345
E-Mail: [email protected]<mailto:[email protected]>
Web: 
http://www.dkfz.de/en/mbi/<https://dkfzowa0.dkfz-heidelberg.de/owa/redir.aspx?C=6ebb39f6c3b94e03a77eca6c5e2e87a9&URL=http%3a%2f%2fwww.dkfz.de%2fen%2fmbi%2f>
Confidentiality Note: This message is intended only for the use of the named 
recipient(s) and may obtain confidential and/or privileged information. If you 
are not the intended recipient, please contact the sender and delete the 
message. Any unauthorized use of the information contained in this message is 
prohibited.


________________________________
Von: Neuhaus Jochen [[email protected]]
Gesendet: Mittwoch, 12. Mai 2010 13:46
An: 'Tobias Bergen'; '[email protected]'
Betreff: Re: [mitk-users] Error displaying PolyData

Hi Tobias,

This is a strange error. I just tried the same with a current checkout and it 
works as expected on my computer. Please try to load an image before starting 
the igt example, e.g.  Testing/Data/Pic3D.pic.gz.

I remember that there was some fundamental change in image geometries in 
ITK3.14. Maybe you could try to use ITK 3.16 or 3.18? And if you're on it, try 
the current svn checkout of MITK at http://svn2.mitk.org/trunk/mitk

Best regards,
 Jochen

> -----Ursprüngliche Nachricht-----
> Von: Tobias Bergen [mailto:[email protected]]
> Gesendet: Mittwoch, 5. Mai 2010 11:28
> An: [email protected]
> Betreff: [mitk-users] Error displaying PolyData
>
> Hi,
>
> I encounter problems when trying to display vtkPolyData. This is e.g.
> the case when using the IsoSurface-Plugin. If I load an image and use
> the plugin to create an iso-surface, no result is displayed and in the
> vtkOutputWindows I get the messages:
>
> ERROR: In .\vtkPolyDataMapper.cxx, line 61
> vtkOpenGLPolyDataMapper (0AD70458): Mapper has no input.
>
> ERROR: In .\vtkDemandDrivenPipeline.cxx, line 803
> vtkStreamingDemandDrivenPipeline (0814ECD8): Input for connection index
> 0 on input port index 0 for algorithm vtkImageThreshold(08249108) is
> NULL, but a vtkImageData is required.
>
> This same error seems to always occur when trying to display
> vtkPolyData. This applys to my own code as well as code of the
> ExtBundles within the MITK directory. Interestingly, when using the
> windows-binary version of MITK, it works fine. Since I do not think
> that
> there is any difference in the code between the windows binary and the
> binarys I compiled myself from the MITK source, I assume, that the
> problem is due to some configuration issue.
>
> Does anyone have any idea how to solve this problem?
> Thanks,
> Tobias
>
> The environment:
> MITK 0.14
> CMAKE 2.8
> VTK 5.4.2
> ITK 3.14
> Windows XP 32
>
>
>
> -----------------------------------------------------------------------
> -------
> _______________________________________________
> mitk-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mitk-users



------------------------------------------------------------------------------

_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to