[vtkusers] Extract certain set of points from a vtkcellarray
shawn.waldon at kitware.com
Fri Jun 3 11:45:08 EDT 2016
If you have the dataset object there is a GetPoint(i)  function that
returns a point given its index in the list of points. You can call
GetPoint(i) with each of your indices to get the point at that index.
On Fri, Jun 3, 2016 at 11:30 AM, Saeed Mahdizadeh Bakhshmand <
saeedbakhshmand at gmail.com> wrote:
> Is there any trick to obtain a set of points from a vtkCellArray
> quickly?(in a real time fashion without using GetNextCell that loads all of
> the points one by one)?
> I have scanned all of the point sets of a vtkCellArray(inLines) in a first
> round (inLines.GetNextCell) and generated a list of favourite points (e.g
> [5,13,46]) that I want to extract as quickly as possible in a second round.
> I wonder if GetCell() method can be used for this purpose and how? Or maybe
> there is another way that I am not aware of?
> Powered by www.kitware.com
> Visit other Kitware open-source projects at
> Please keep messages on-topic and check the VTK FAQ at:
> Search the list archives at: http://markmail.org/search/?q=vtkusers
> Follow this link to subscribe/unsubscribe:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers