[Paraview-developers] BEWARE: Assumptions about datatypes...

Berk Geveci berk.geveci at kitware.com
Wed, 04 Feb 2004 11:41:58 -0500


Please do not assume that the only allowable data (output) types are
sub-classes of vtkDataSet. For example, when you create an internal
filter such as vtkLabeledDataMapper that accepts only sub-classes of
vtkDataSet, make sure that you disable it if the input is not. I
encountered this problem when working with the AMR datasets (which are
sub-classes of vtkDataObject). We have plans for supporting other data
types that inherit directly from vtkDataObject in ParaView.

-Berk