<HTML>
<HEAD>
<TITLE>Re: [Paraview] Adding custom chart view</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Nehme,<BR>
<BR>
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.<BR>
<BR>
-Ken<BR>
<BR>
<BR>
On 1/13/09 8:16 AM, "Nehme Bilal" <<a href="nbilal@mirarco.org">nbilal@mirarco.org</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hello,<BR>
<BR>
I'm trying yo create a filter to plot a histogram or a<BR>
curve. The output of this filter will look like the one<BR>
used for histogram filter.<BR>
I read the documentation on the wiki about how to create a<BR>
custom view, and I think this is my start point. Is that<BR>
true ? if yes, from witch class should myView inherits<BR>
from ? pqGenericViewModule ? pqChartLayer ? pqView ? pqxxx<BR>
?<BR>
<BR>
How my pqMyView class will be linked to my vtkMyFilter<BR>
Class ? how to pass my vtkDataArrays from my vtkMyFilter<BR>
class to my pqMyView class ?<BR>
<BR>
Thank you,<BR>
<BR>
Nehme<BR>
_______________________________________________<BR>
ParaView mailing list<BR>
<a href="ParaView@paraview.org">ParaView@paraview.org</a><BR>
<a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><BR>
<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'><BR>
**** Kenneth Moreland<BR>
*** Sandia National Laboratories<BR>
*********** <BR>
*** *** *** email: <a href="kmorel@sandia.gov">kmorel@sandia.gov</a><BR>
** *** ** phone: (505) 844-8919<BR>
*** web: <a href="http://www.cs.unm.edu/~kmorel">http://www.cs.unm.edu/~kmorel</a><BR>
</SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT>
</BODY>
</HTML>