[Paraview] pqMultiSliceView bug?
Reuter, Michael A.
reuterma at ornl.gov
Mon Jan 14 10:57:42 EST 2013
Yes, that does make sense. Is there any case where it would not be (0,0,0)? I don't see one based on your explanation, but I want to be sure.
Cheers,
M
From: Sebastien Jourdain <sebastien.jourdain at kitware.com<mailto:sebastien.jourdain at kitware.com>>
Date: Thursday, January 10, 2013 7:04 PM
To: Michael Reuter <reuterma at ornl.gov<mailto:reuterma at ornl.gov>>
Cc: "paraview at paraview.org<mailto:paraview at paraview.org>" <paraview at paraview.org<mailto:paraview at paraview.org>>
Subject: Re: [Paraview] pqMultiSliceView bug?
The origin is "always" 0 as we rely on the slice offset. So in order to figure out easily where each slice is, it is better to have an origin at 0, so the offset become the location on any slice.
Does that make sense ?
Seb
On Thu, Jan 10, 2013 at 1:02 PM, Michael Reuter <reuterma at ornl.gov<mailto:reuterma at ornl.gov>> wrote:
Hi,
I'm using the new pqMultiSliceView in our C++ application. Everything seems to work fine except when I use the information from GetSliceOrigin(). It always returns (0,0,0) even when the sliceOffsetOnAxis in the sliceClicked() signal shows the correct slice location on the particular axis. I can create an origin vector using the normal vector from GetSliceNormal() (which is correct), but I think GetSliceOrigin() should return the right thing.
Thanks,
M
--
Dr. Michael Reuter
Data Analaysis and Visualization Group
Neutron Data Analysis and Visualization Division
Oak Ridge National Laboratory
Office: 1-865-241-7216<tel:1-865-241-7216>
Fax: 1-865-574-6080<tel:1-865-574-6080>
Email: reuterma at ornl.gov<mailto:reuterma at ornl.gov>
_______________________________________________
Powered by www.kitware.com<http://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