[Paraview] ParaviewWeb : Adding interactive slice filter to pipeline

Sebastien Jourdain sebastien.jourdain at kitware.com
Tue May 3 22:04:30 EDT 2011


Hi Raj,

It's true that you will get a better precision with a slider. For that you
can use the JQuery library, it is lighter than Dojo.
Dojo is the one I used in two of our sample application.

Seb

On Tue, May 3, 2011 at 7:49 PM, Rajvikram Singh <rajvikrams at yahoo.com>wrote:

> Great .. yes the colors show up correctly and though now the interactive
> widget has disappeared I think I'm going to work around it by having a UI
> slider which lets the users slice through the data in X, Y or Z..
>
> Thanks once again for all the patience and help.
>
> Raj
>
>
>
> --- On *Wed, 4/5/11, Sebastien Jourdain <sebastien.jourdain at kitware.com>*wrote:
>
>
> From: Sebastien Jourdain <sebastien.jourdain at kitware.com>
> Subject: Re: [Paraview] ParaviewWeb : Adding interactive slice filter to
> pipeline
> To: "Rajvikram Singh" <rajvikrams at yahoo.com>
> Cc: paraview at paraview.org
> Date: Wednesday, 4 May, 2011, 4:29 AM
>
>
> Hi Raj,
>
> I managed to show the correct color by executing that:
>
> sliceType.setNormal(0,0,1);
> sliceType.setOrigin(view1.getCenterOfRotation());
> pv.SetDisplayProperties( {proxy : slice, view  : view1, Representation :
> 'Surface', ColorArrayName : 'ImageFile'} );
>
> In fact you shouldn't set any normal/origin on the widget, but instead set
> them on the plan of the Slice filter.
> The reason why you couldn't select the ColorArrayName was because the plane
> was outside the bound of your dataset which was producing no output and
> therefore no data array.
>
> Seb
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20110503/b4718e07/attachment.htm>


More information about the ParaView mailing list