[vtkusers] Extract cells that contain all of selected points

soheilghafurian soheilghafurian at yahoo.com
Mon Jun 18 15:26:08 EDT 2012


Hi everyone!

I am extracting a part of a mesh by selecting the points I want and using
vtkSelectionNode. The problem is that I want only those cells in which all
of the points are selected, but selectionNode returns also cells which have
at least one of the selected points, because I use

selectionNode->GetProperties()->Set(vtkSelectionNode::CONTAINING_CELLS(),
1);

If I don't use this line, the cells are not extracted and I will have only
points, however I want a surface.

Does anyone know how I should extract the cells in which all of the points
are selected?

Thanks a lot


--
View this message in context: http://vtk.1045678.n5.nabble.com/Extract-cells-that-contain-all-of-selected-points-tp5713983.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list