[Paraview] Adding custom chart view
Moreland, Kenneth
kmorel at sandia.gov
Tue Jan 13 11:37:42 EST 2009
Nehme,
It sounds like you do not need to create a custom view. You should be able to create a filter that generates the data and then use the existing bar chart and x-y plot views. You can specify a "Hint" in the server manager xml for a filter to tell it which view to go to. See the implementation of vtkPExtractHistogram and the corresponding ExtractHistogram entry in filters.xml for more details.
-Ken
On 1/13/09 8:16 AM, "Nehme Bilal" <nbilal at mirarco.org> wrote:
Hello,
I'm trying yo create a filter to plot a histogram or a
curve. The output of this filter will look like the one
used for histogram filter.
I read the documentation on the wiki about how to create a
custom view, and I think this is my start point. Is that
true ? if yes, from witch class should myView inherits
from ? pqGenericViewModule ? pqChartLayer ? pqView ? pqxxx
?
How my pqMyView class will be linked to my vtkMyFilter
Class ? how to pass my vtkDataArrays from my vtkMyFilter
class to my pqMyView class ?
Thank you,
Nehme
_______________________________________________
ParaView mailing list
ParaView at paraview.org
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/20090113/21c7eee9/attachment.htm>
More information about the ParaView
mailing list