[Paraview] Flipped mhd vector fields

Max Schoebinger m.schoebinger at dkfz-heidelberg.de
Fri May 13 09:05:01 EDT 2005


Hi,

I've compiled a patched version of Paraview and everything works fine
for me now!

Thanks,

Max

Mathieu Malaterre wrote:
> Max,
> 
>     Are you using ParaView from source ? If so can you recompile 
> paraview after having patch the following file"
> 
> 
> Index: vtkMetaImageReader.cxx
> ===================================================================
> RCS file: /cvsroot/ParaView/ParaView/VTK/IO/vtkMetaImageReader.cxx,v
> retrieving revision 1.17
> diff -u -3 -p -r1.17 vtkMetaImageReader.cxx
> --- vtkMetaImageReader.cxx      28 Mar 2005 21:09:31 -0000      1.17
> +++ vtkMetaImageReader.cxx      12 May 2005 15:50:52 -0000
> @@ -616,6 +616,7 @@ int vtkMetaImageReader::GetFileInformati
>      this->SetFileDimensionality(3);
>      this->SetDataSpacing(spacing);
>      this->SetDataOrigin(origin);
> +    this->FileLowerLeftOn();
> 
>      if ( bigendian )
>        {
> 
> 
> HTH
> Mathieu
> 
> Max Schoebinger wrote:
> 
>> Hi,
>>
>> if I load vector fields stored in Meta Image Data Files (*.mha), and 
>> use the glyph filter, the result seems to be flipped along the y-Axis. 
>> Is this an intended behaviour for mhd files or is there any way around 
>> this Problem?
>>
>> Best regards,
>>
>> Max
>> _______________________________________________
>> ParaView mailing list
>> ParaView at paraview.org
>> http://www.paraview.org/mailman/listinfo/paraview
>>
> 
> 


-- 
Dipl.-Inform. Med. Max Schöbinger
Deutsches Krebsforschungszentrum       (German Cancer Research Center)
Div. Medical & Biological Informatics          Tel: (+49) 6221-42 2370
Im Neuenheimer Feld 280                        Fax: (+49) 6221-42 2345
D-69120 Heidelberg                       E-Mail: M.Schoebinger at dkfz.de



More information about the ParaView mailing list