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 display proxy information in my xml file ?

I did a first try and I got this error:
ERROR: In ..\..\..\trunk\Servers\ServerManager\vtkSMProxyManager.cxx, line 330 vtkSMProxyManager (07F8C570): No proxy that matches: group=views and proxy=pqPlotPropertiesOverTimeView were found.

Do I have to add my view name somewhere in Paraview core ?

here are my files:
https://mail.mirarco.org/~nbilal/PlotPropertiesOverTime.zip

Thank you,

Nehme



On Tue, 13 Jan 2009 11:28:58 -0500
 "Utkarsh Ayachit" <utkarsh.ayac...@kitware.com> wrote:
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 indicate to
ParaView which view to create by default for the filter.

   <Hints>
<!-- View can be used to specify the preferred view for the proxy -->
       <View type="MyViewsXMLName" />
    </Hints>


On Tue, Jan 13, 2009 at 10:16 AM, Nehme Bilal <nbi...@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@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


_______________________________________________
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to