[vtkusers] data on cells, faces, edges?
Nico Schlömer
nico.schloemer at gmail.com
Fri Jul 20 11:12:42 EDT 2012
Ah right, VTK having no intrinsic understanding of faces or edges
sounds familiar.
I came to think about it as I looked at Exodus files containing edge
data, apparently also implemented in VTK,
http://www.vtk.org/doc/nightly/html/classvtkExodusIIReader.html#a40a1c5f7b9c88442e2b4b017ecb20b497
--Nico
On Fri, Jul 20, 2012 at 5:04 PM, David E DeMarle
<dave.demarle at kitware.com> wrote:
> Cells yes, faces and edges generally no, but the new vtkPolyhedron
> cell type may allow it.
>
> http://www.vtk.org/Wiki/VTK/Polyhedron_Support
>
> David E DeMarle
> Kitware, Inc.
> R&D Engineer
> 21 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-881-4909
>
>
> On Fri, Jul 20, 2012 at 10:46 AM, Nico Schlömer
> <nico.schloemer at gmail.com> wrote:
>> Hi,
>>
>> in (Python) VTK, it is possible to associate data with nodes in a
>> given mesh, e.g.,
>>
>> a = [... create my VTK array ...]
>> my_vtk_mesh.GetPointData().AddArray(a)
>>
>> Is the same thing possible for data that is associated with cells,
>> faces, or edges?
>>
>> Cheers,
>> Nico
>> _______________________________________________
>> 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
More information about the vtkusers
mailing list