I'm using the programmmable source to generate a simple mesh.
Until now, I was using vtk.vtkUnstructuredGrid.SetCells(int,
vtkCellArray) to set the generated mesh to the output. It work fine
for meshes of only one type.
now I am trying to generate a mesh with different elements types. but
I wasn't able to add meshes with different types to the output.
I am trying with the function:
V.SetCells(vtkUnsignedCharArray *cellTypes, vtkIdTypeArray
*cellLocations, vtkCellArray *Cells);
but I don't understand the cellLocations input variable.
-------------
How can I correctly use the vtkSphereSource in the programmable
Source?. Once the instance is correctly created, How do I extract the
mesh of the sphere to put it in the output?
Thanks
Felipe
_______________________________________________
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