[Paraview] vtkDataObjectAlgorithm with multiple inputs
Moreland, Kenneth
kmorel at sandia.gov
Mon Aug 24 13:43:54 EDT 2009
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.
-Ken
On 8/24/09 11:35 AM, "burlen" <burlen.loring at gmail.com> wrote:
How did you implement RequestDataObject?
Did you set the keys:
vtkDataObject::DATA_TYPE_NAME()
vtkDataObject::DATA_OBJECT()
vtkDataObject::DATA_EXTENT_TYPE()
?
Paul Edwards wrote:
> Hi,
>
> I am creating a filter that calculates the difference between all
> scalar values for two inputs. The filter assumes that both the inputs
> have the sames number of points (and same block structure if
> multi-block). I want to work with both single and multi-block so I
> have subclassed vtkDataObjectAlgorithm but when I just set the output
> as a DeepCopy of the first input I just get an empty output with an
> "Unknown type". Does anyone know what I am doing wrong?
>
> Thanks,
> Paul
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView
Follow this link to subscribe/unsubscribe:
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/20090824/93c2cc64/attachment.htm>
More information about the ParaView
mailing list