Andrzej,

Just to make sure I understand:

vtkCpCutter calculates slices aka contours on surface and also outputs
an array of  "max-distance"s. You want the user to be able to see
these values on the panel for this filter and then change them which
in turn affects some execution logic in vtkCpCutter. Is that correct?

Utkarsh

On Thu, May 26, 2016 at 7:30 AM, Andrzej Peczak <apec...@ara.co.uk> wrote:
> Hi Utkarsh
>
> Our use-case scenario is that we have our own filter based on vtkCpCutter 
> (both vtkPolyData on the input and output port) . We use this filter to 
> generate a set of slices on surface geometry. We then process the obtained 
> contours with vtkPlotEdges. For each contour (slice) we would like to compute 
> a scalar value, say max distance between two points in the contour and output 
> the values to the scalar list widget. Of course we also would like to modify 
> the distances and send it back to the filters. These values will be used to 
> update the output of the filter.
>
> Andrzej
>
>
> -----Original Message-----
> From: Utkarsh Ayachit [mailto:utkarsh.ayac...@kitware.com]
> Sent: 23 May 2016 14:58
> To: Andrzej Peczak
> Cc: ParaView
> Subject: Re: [Paraview] Custom panel widget
>
>> Is it possible to create a custom widget for a filter which would allow me 
>> to retrieve the results of its computation? I would like to reproduce the 
>> functionality of the pqDoubleVectorPropertyWidget and populate it with 
>> values computed by the filter. I know how to create and register the widget 
>> but I do not know how do I send values to it from the filter. In paraview 
>> code base  I found vtkEventQtSlotConnect but I do not know if it is of any 
>> use to my problem.
>
> There are several ways of skinning this cat. Can you elaborate of what 
> exactly is your use-case? Do you want the default values for this 
> double-vector-property (DVP) set using some values provided by the VTK 
> filter, but allow user to override using UI?
>
> **********************************************************************
> Please consider the environment. Only print this email if absolutely 
> necessary.
>
> This email contains information that is private and confidential and is 
> intended only for the addressee.
> If you are not the intended recipient please delete it and notify us 
> immediately by e-mailing the sender.
> Note: All email sent to or from this address may be accessed by someone other 
> than the recipient, for
> system management and security reasons.
> Aircraft Research Association Ltd.  Registered in England, Registration No 
> 503668 Registered Office:
> Manton Lane, Bedford MK41 7PF England VAT No GB 196351245
>
> **********************************************************************
_______________________________________________
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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview

Reply via email to