[Paraview] Adding custom chart view

2009-01-13 Thread Nehme Bilal
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

Re: [Paraview] Adding custom chart view

2009-01-13 Thread Utkarsh Ayachit
Are you creating new new view for your filter, or do you want to simply show the output of the new filter in the current "BarChart" view used by the Histogram filter? If you are creating a totally new view, simply start by subclassing pqView. In the filter's XML you can use a hint as follows to in

Re: [Paraview] Adding custom chart view

2009-01-13 Thread Moreland, Kenneth
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 impleme

Re: [Paraview] Adding custom chart view

2009-01-20 Thread Nehme Bilal
Thanks Utkarsh and Moreland for your responses. I'm creating a totally new view, similar to the histogram view, but I want to use a different way to draw the histogram or the curve. 1- Should I create a custom diplay panel for my view or it's optional ? If it's optional, should I specify the

Re: [Paraview] Adding custom chart view

2009-01-20 Thread Nehme Bilal
Hi Again, I am able to create the new view, it was some errors in my xml file and cmake list. - How can I send the data from my vtk server class to myView class ? is it the same way that we normaly use to send data from server to qt custom panel ? is that mean I have to fetch all my data t