Hi,
I just went back working on this project, the integratevariable filter is
sloving my problem and giving nice results. Thank you very much for the help.
Regards,islem
Le Jeudi 7 avril 2016 15h23, Favre Jean <[email protected]> a écrit :
#yiv0363527107 P {margin-top:0;margin-bottom:0;}I recommend using the
IntegrateVariables filter which will give the correct answer for wedges and
pyramids. The output is put into an unstructured mesh with a single vertex
cell, holding the "Volume" in its Cell Data. The implemented is in
vtkIntegrateAttributes which triangulates the non-trivial cells into
tetrahedra, performing the sum of all volumes within the cell.
The reason you get a -1 using the python calculator can be linked to the
implementation of vtkCellQuality returning this->GetUnsupportedGeometry()
(equal to -1) for wedges and pyramids.
-----------------
Jean
_______________________________________________
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
Search the list archives at: http://markmail.org/search/?q=ParaView
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview