[vtkusers] Points in a cell with Python

Sebastien Jourdain sebastien.jourdain at kitware.com
Sat Jan 22 01:43:03 EST 2011


You can give a look at that thread:

http://markmail.org/thread/hduszwtsgbrl72m2

Seb

On Fri, Jan 21, 2011 at 8:54 AM, Bruno Lara Bottazzini <
bruno.bottazzini at cti.gov.br> wrote:

> I have been going through a problem that I can't get the points that was
> inserted in a cell.
> I could use:
> "GetCellPoints<http://www.vtk.org/doc/nightly/html/classvtkPolyData.html#ab0ad6b405ddf8fa590389e18f207a790>
>  (vtkIdType cellId, vtkIdType &npts, vtkIdType *&pts)*" *but in Python we
> can't access this method. I could access just the less efficient method "
> GetCellPoints<http://www.vtk.org/doc/nightly/html/classvtkPolyData.html#aad7a49a6329b3e7492ad3b343ce32470> (vtkIdType cellId, vtkIdList *ptIds)"
> and I went trought all vtk methods in vtkPolyData to see if I could use
> other method instead of GetCellPoints but, unfortunately I couldn't do
> anything.
> How can I use the "GetCellPoints<http://www.vtk.org/doc/nightly/html/classvtkPolyData.html#ab0ad6b405ddf8fa590389e18f207a790> (vtkIdType cellId, vtkIdType &npts, vtkIdType *&pts)"
> More efficient in python or how can i get the points form a cell?
>
> Thanks
>
> --
>
>
>
>
>
> _______________________________________________
> 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 VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110122/72a798ae/attachment.htm>


More information about the vtkusers mailing list