[Paraview] vtkCompositeDataSet::COMPOSITE_DATA_SET()

Jean Favre jfavre at cscs.ch
Tue Aug 7 03:59:15 EDT 2007


Randy Hudson wrote:
>
>
> Some time ago, I wrote a reader for paraview 2x that reads flash AMR 
> data into a vtkHierarchicalBoxDataSet.
>
> When I try to build it for paraview 3.1.0, the build fails because 
> vtkCompositeDataSet::COMPOSITE_DATA_SET() no longer exists.
>
> Is there a replacement method I can use, or do I have to change more 
> than just one call to get out of the woods here?

Here is what I use and my AMR reader compiles and runs fine under both 
ParaView2.6 and 3.1

  vtkDataObject* doOutput = info->Get(vtkCompositeDataSet::DATA_OBJECT());
  vtkHierarchicalBoxDataSet* hb = 
vtkHierarchicalBoxDataSet::SafeDownCast(doOutput);

-- 
Jean


More information about the ParaView mailing list