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 
<[email protected]<mailto:[email protected]>>
Date: Thursday, January 10, 2013 7:04 PM
To: Michael Reuter <[email protected]<mailto:[email protected]>>
Cc: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
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 
<[email protected]<mailto:[email protected]>> 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: [email protected]<mailto:[email protected]>

_______________________________________________
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

_______________________________________________
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

Reply via email to