<HTML>
<HEAD>
<TITLE>Re: [Paraview] vtkDataObjectAlgorithm with multiple inputs</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>You might also consider subclassing vtkPassInputTypeAlgorithm instead. That should set up the output object the way you want (the same type as the input) for you.<BR>
<BR>
-Ken<BR>
<BR>
<BR>
On 8/24/09 11:35 AM, "burlen" <<a href="burlen.loring@gmail.com">burlen.loring@gmail.com</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>How did you implement RequestDataObject?<BR>
Did you set the keys:<BR>
<BR>
vtkDataObject::DATA_TYPE_NAME()<BR>
vtkDataObject::DATA_OBJECT()<BR>
vtkDataObject::DATA_EXTENT_TYPE()<BR>
<BR>
?<BR>
<BR>
<BR>
Paul Edwards wrote:<BR>
> Hi,<BR>
><BR>
> I am creating a filter that calculates the difference between all<BR>
> scalar values for two inputs. The filter assumes that both the inputs<BR>
> have the sames number of points (and same block structure if<BR>
> multi-block). I want to work with both single and multi-block so I<BR>
> have subclassed vtkDataObjectAlgorithm but when I just set the output<BR>
> as a DeepCopy of the first input I just get an empty output with an<BR>
> "Unknown type". Does anyone know what I am doing wrong?<BR>
><BR>
> Thanks,<BR>
> Paul<BR>
><BR>
><BR>
> ------------------------------------------------------------------------<BR>
><BR>
> _______________________________________________<BR>
> Powered by www.kitware.com<BR>
><BR>
> Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><BR>
><BR>
> Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a><BR>
><BR>
> Follow this link to subscribe/unsubscribe:<BR>
> <a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><BR>
> <BR>
<BR>
_______________________________________________<BR>
Powered by www.kitware.com<BR>
<BR>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><BR>
<BR>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a><BR>
<BR>
Follow this link to subscribe/unsubscribe:<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>