[Paraview] Append DataSet Filter and Exodus Files

John Biddiscombe biddisco at cscs.ch
Thu May 7 02:55:33 EDT 2009


David

The exodus reader is no doubt exporting multiblock data, so the 
SafeDownCast will fail. Add an extra test for Multiblock and then use an 
iterator to loop over blocks and then safedowncast and do what you need

JB
> Hi,
>
>
> Is there a way to make the Append DataSet Filter work with exodus files?
> I have several that I want to append to use the calculator on.
>
>
> I tried modifying the source to create a plugin
>
> VTK/Graphics/vtkAppendFilter.cxx
>
> but I always seem to be getting a null pointer from the SafeDownCast?
>
>   vtkInformation *inInfo = inputVector[0]->GetInformationObject(idx);
>   vtkDataSet *ds 
> vtkDataSet::SafeDownCast(inInfo->Get(vtkDataObject::DATA_OBJECT()));
>
>
>
>
> thank you,
> David Fuentes
> _______________________________________________
> 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


-- 
John Biddiscombe,                            email:biddisco @ cscs.ch
http://www.cscs.ch/
CSCS, Swiss National Supercomputing Centre  | Tel:  +41 (91) 610.82.07
Via Cantonale, 6928 Manno, Switzerland      | Fax:  +41 (91) 610.82.82




More information about the ParaView mailing list