[Paraview] Flipped mhd vector fields

Mathieu Malaterre mathieu.malaterre at kitware.com
Thu May 12 11:50:21 EDT 2005


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
> 



More information about the ParaView mailing list