[Paraview] pqMultiSliceView bug?

Sebastien Jourdain sebastien.jourdain at kitware.com
Mon Jan 14 18:38:14 EST 2013


ParaView will always set it by default to (0,0,0), although the user can
override it from the python if it wants to.
A use case, could be if your data is not centered on (0,0,0) and you want
the offset of be relative to your dataset.
But this really depends on the user goal. The ParaView UI is made to work
with origin set to (0,0,0)

Seb


On Mon, Jan 14, 2013 at 10:57 AM, Reuter, Michael A. <reuterma at ornl.gov>wrote:

> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20130114/2c544151/attachment-0001.htm>


More information about the ParaView mailing list