[vtkusers] ID of vtkCellArray

Kimmel, Jason jason.kimmel at albint.com
Mon Aug 15 12:57:47 EDT 2016


Hi Saeed,

I’ve added extra per-point application data to my VTK models using the vtkFieldData addArray/getArray methods.  The data can be stored in the vtkDataSet (vtkPolyData in my case) or in the vtkCellData that accompanies it and can be any type of your choosing.

I can provide some concrete examples if that sounds more like what you’re trying to do.

-Jason

From: vtkusers [mailto:vtkusers-bounces at vtk.org] On Behalf Of Saeed Bakhshmand
Sent: Monday, August 15, 2016 11:09 AM
To: Paul Kibet Korir <pkorir at ebi.ac.uk>
Cc: vtkusers at vtk.org
Subject: Re: [vtkusers] ID of vtkCellArray

Hi Paul,

Thanks, GetNextCell returns content of the cell. I was trying to see if anyhow there is an identification for each cell(a label, or number) that can be accessed or changed.

Regards,
Saeed

On Mon, Aug 15, 2016 at 4:55 AM, Paul Kibet Korir <pkorir at ebi.ac.uk<mailto:pkorir at ebi.ac.uk>> wrote:

Hi Saeed,

I'm no expert but if you're working with C++ this might come in handy...

http://www.vtk.org/doc/release/7.0/html/classvtkCellArray.html#a2253ca799437434fd77b02de260196b4



Best wishes,

Paul

On 12/08/2016 20:14, Saeed Bakhshmand wrote:
Hello Experts,
Does someone know how ID of the Cells in the vtkCellArray can be accessed and modified?
Best,
Saeed



_______________________________________________

Powered by www.kitware.com<http://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



Search the list archives at: http://markmail.org/search/?q=vtkusers



Follow this link to subscribe/unsubscribe:

http://public.kitware.com/mailman/listinfo/vtkusers

--
With kind regards,

Dr. Paul K Korir, PhD
Scientific Programmer
EMBL-EBI
Main Building, A2-35,
WTGC, Hinxton, Cambridge CB10 1SD
P: +44 1223 49 44 22
F: +44 1223 49 44 68

_______________________________________________
Powered by www.kitware.com<http://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

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160815/42fabce9/attachment.html>


More information about the vtkusers mailing list