[Paraview] [EXTERNAL] different orientation of input files
David E DeMarle
dave.demarle at kitware.com
Thu May 17 10:14:59 EDT 2012
It shouldn't do that, certainly not randomly.
All the filter does is apply the transformation matrix you give it
(specified by the properties panel and/or by moving the box widget in
the 3D view) to the point coordinates and the vector and normal data
fields of the input data set to make a new data set.
Can you send a picture to the list to help diagnose what is going on?
Also, take a look at both the Rotate and Scale entries in the
Properties tab of the transform filter, and the Bounds field in the
information tab for both the input and output to the transform filter,
to make sure that you haven't unintentionally added any rotation or
scaling components to the transformation matrix.
David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909
On Wed, May 16, 2012 at 11:53 PM, Tom Schoenemann <toms at indiana.edu> wrote:
> OK, that worked. I've figured out how it works, following what you
> suggested.
>
> Unfortunately, Paraview didn't just shift the data over, leaving it in the
> same orientation, it also inexplicably changed the orientation by several
> degrees (??). Even if I am able to get the two boxes in basically the same
> location, the shifted orientation makes it impossible to be confident the
> data are overlaid in the right places. This is very frustrating.
> Apparently Paraview makes random changes to the orientation?? Why on earth
> would it do that?
>
> -Tom
>
> On May 16, 2012, at 5:18 PM, Scott, W Alan wrote:
>
> So, I just tried the following:
> *Sources/ Wavelet. Apply. Display this by Outline.
> * Filters/ Alphabetical/ Transform. Translate X by 10. Apply.
> * Leaving the Transform filter highlighted in the pipeline browser, Filters/
> Common/ Contor. Apply.
> * Now, if you turn on visibility of the original Wavelet, you see that the
> wavelet has moved along with the contour.
>
> Or are you saying you want to move the two different files? Then, you use
> two transforms – one per file.
>
> Alan
>
> From: paraview-bounces at paraview.org
> [mailto:paraview-bounces at paraview.org] On Behalf Of Tom Schoenemann
> Sent: Wednesday, May 16, 2012 2:41 PM
> To: Samuel Key
> Cc: paraview at paraview.org
> Subject: [EXTERNAL] Re: [Paraview] different orientation of input files
>
> I must be missing something. It only seems to move the bounding box, but
> not the location of the contour itself.. Not sure what that would be useful
> for, but in any case, I need to move the contour and/or data within the
> workspace, so the two overlap. Transform is only changing the box, not
> changing the location of the object within the box. Again, maybe I'm
> missing something.
>
> -Tom
>
> On May 16, 2012, at 2:32 PM, Samuel Key wrote:
>
>
> Tom,
>
> Will the Transform filter work for you? (Filters>Alphabetical>Transform)
>
> It works for me with unstructured meshes. I don't know if it will work with
> a surface mesh produced ITK-SNAP.
>
> Sam Key
>
> On 5/16/2012 10:29 AM, Tom Schoenemann wrote:
> Hi everyone,
>
> I have a question about changing/editing the orientation and origin
> information about an input file. Basically, the problem is this: I have a
> 3D volume (originally voxel data) file that contains statistics on its
> surface that I want to display color-coded. I can create a nice smoothed
> version of the surface using a different piece of software (ITK-SNAP), and
> this is the surface I'd like to use to display my stats (Paraview does not
> allow you to smooth the surface in the same way that ITK-SNAP does,
> eliminating the stair-step surface artifacts). I can indeed read both the
> stats file and the surface file from ITK-SNAP into Paraview, but
> unfortunately they now have different origins. That is, they don't overlap
> (the bounding box for the stats is completely outside the surface model that
> ITK-SNAP created.
>
> Originally, both files had the same orientation and origin: ITK-SNAP used
> the same file to create the beautiful surface that the stats were created
> with.
>
> So Paraview apparently does not read the header info the same way for the
> two types of files, even though ITK-SNAP does.
>
> Is there a way to change the origin and/or orientation of files in Paraview?
> I'm assuming there is a simple transform I could figure out by trial and
> error to get them to overlap again, but I don't know how or where I would do
> this.
>
> Thanks for any suggestions!
>
> -Tom
>
> _________________________________________________
> P. Thomas Schoenemann
>
> Associate Professor
> Department of Anthropology
> Indiana University
> Bloomington, IN 47405
> Phone: 812-855-8800
> E-mail: toms at indiana.edu
>
> Open Research Scan Archive (ORSA) Co-Director
> Consulting Scholar
> Museum of Archaeology and Anthropology
> University of Pennsylvania
>
> Homepage: http://mypage.iu.edu/~toms/
>
>
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
>
> 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
>
>
> _________________________________________________
> P. Thomas Schoenemann
>
> Associate Professor
> Department of Anthropology
> Indiana University
> Bloomington, IN 47405
> Phone: 812-855-8800
> E-mail: toms at indiana.edu
>
> Open Research Scan Archive (ORSA) Co-Director
> Consulting Scholar
> Museum of Archaeology and Anthropology
> University of Pennsylvania
>
> Homepage: http://mypage.iu.edu/~toms/
>
>
>
>
>
>
>
>
>
> _________________________________________________
> P. Thomas Schoenemann
>
> Associate Professor
> Department of Anthropology
> Indiana University
> Bloomington, IN 47405
> Phone: 812-855-8800
> E-mail: toms at indiana.edu
>
> Open Research Scan Archive (ORSA) Co-Director
> Consulting Scholar
> Museum of Archaeology and Anthropology
> University of Pennsylvania
>
> Homepage: http://mypage.iu.edu/~toms/
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> 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
>
More information about the ParaView
mailing list