[Paraview] example of max probe

Moreland, Kenneth kmorel at sandia.gov
Thu Dec 17 08:51:35 EST 2009


You should be able to do it by applying a descriptive statistics filter and then selecting the row containing the variable you want and ploting the selection over time.  However, I see that several pieces of that are broken right now.  I'll start raising bugs to fix them.

-Ken


On 12/17/09 2:39 AM, "Biddiscombe, John A." <biddisco at cscs.ch> wrote:

> Is it possible to find the point that holds the maximum and/or minimum
> values at any time step?

Yes.

But not without writing code. If you look at vtkExtractDataOverTime (I don't recall the precise name from memory), it builds up an array of values one per time step. The trouble is if you want to change the code to pick the max at each time step, then at the end, scan each to return the real max (or update as it iterates over each step), then you need to modify the class (i.e. copy and paste most of it then edit the bits you want to change). I have several almost identical filters which do ExtractXXXOverTime and the code duplication is pointless. I have a plan to create some kind of adaptor class which ExtractsXXXOverTime with the user supplying the class to run at each time step so that all you need to do is override some functor like object to do the small bit of real code, and the donkey work is managed by the holder class.

JB

_______________________________________________
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




   ****      Kenneth Moreland
    ***      Sandia National Laboratories
***********
*** *** ***  email: kmorel at sandia.gov
**  ***  **  phone: (505) 844-8919
    ***      web:   http://www.cs.unm.edu/~kmorel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20091217/c9ddcff4/attachment.htm>


More information about the ParaView mailing list