[Paraview] How to bound values of a variable as a function of a given array?

Fred Fred stan1313 at hotmail.fr
Tue Jan 5 04:30:50 EST 2010


The problem is I can put any value in the lineedit widget, ie without any constraint.
I would like to obtain the same interface as in Threshold, ie a slider + a lineedit with constraints such that only a value in the range of the scalar array may be entered.

> Date: Mon, 4 Jan 2010 10:50:27 -0500
> Subject: Re: [Paraview] How to bound values of a variable as a function of a 	given array?
> From: utkarsh.ayachit at kitware.com
> To: stan1313 at hotmail.fr
> CC: paraview at paraview.org
> 
> What;s the problem that you are seeing?
> 
> Utkarsh
> 
> On Mon, Jan 4, 2010 at 10:41 AM, Fred Fred <stan1313 at hotmail.fr> wrote:
> > I would like that the possible values of variable TimeStep be chosen in the
> > range of the selected scalar array, for instance thanks to a slider.
> >
> >
> >> Date: Mon, 4 Jan 2010 10:37:05 -0500
> >> Subject: Re: [Paraview] How to bound values of a variable as a function of
> >> a given array?
> >> From: utkarsh.ayachit at kitware.com
> >> To: stan1313 at hotmail.fr
> >> CC: paraview at paraview.org
> >>
> >> Can you be a bit more elaborate on what you are trying to achieve here
> >> please?
> >> Thanks.
> >>
> >> Utkarsh
> >>
> >> On Mon, Jan 4, 2010 at 10:26 AM, Fred Fred <stan1313 at hotmail.fr> wrote:
> >> > I would like May anybody tell me what is wrong in my XML code?
> >> >
> >> >       <StringVectorProperty
> >> >      name="SelectInputScalars"
> >> >      command="SetInputArrayToProcess"
> >> >      number_of_elements="5"
> >> >      element_types="0 0 0 0 2"
> >> >      animateable="0"
> >> >      label="Scalars">
> >> >     <ArrayListDomain name="array_list" attribute_type="Scalars">
> >> >           <RequiredProperties>
> >> >             <Property name="Input" function="Input"/>
> >> >           </RequiredProperties>
> >> >     </ArrayListDomain>
> >> >     </StringVectorProperty>
> >> >
> >> >       <DoubleVectorProperty
> >> >      name="TimeStep"
> >> >          label="Time Step"
> >> >      command="SetTimeStep"
> >> >      number_of_elements="1"
> >> >          default_values="0">
> >> >     <ArrayRangeDomain name="scalar_range">
> >> >           <RequiredProperties>
> >> >             <Property name="Input" function="Input"/>
> >> >             <Property name="SelectInputScalars"
> >> > function="ArraySelection"/>
> >> >           </RequiredProperties>
> >> >     </ArrayRangeDomain>
> >> >       </DoubleVectorProperty>
> >> >
> >> >
> >> > ________________________________
> >> > Gagnez au cadeau par jour avec Hotmail Magic Moment ! Cliquez ici !
> >> > _______________________________________________
> >> > 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
> >> >
> >> >
> >
> > ________________________________
> > Vous êtes étudiants ? Bénéficiez de Windows 7 à 35? !  Découvrez notre offre
> > !
 		 	   		  
_________________________________________________________________
Windows 7 à 35€ pour les étudiants !
http://www.windows-7-pour-les-etudiants.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20100105/7d87ee66/attachment-0001.htm>


More information about the ParaView mailing list