[vtkusers] data on cells, faces, edges?
Nico Schlömer
nico.schloemer at gmail.com
Tue Jul 24 12:01:16 EDT 2012
Frankly, this is leaving me a little restless as right now, I have to
go great lengths to get edge data into the model I'm using (and I
never considered edge data a particularly exotic use case).
Apparently VTK has some code for reading edge data from Exodus files, cf.
http://www.vtk.org/doc/nightly/html/classvtkExodusIIReader.html
The writer,
http://www.vtk.org/doc/nightly/html/classvtkExodusIIWriter.html
on the other hand, seems to lack that functionality. Is that correct
or would there be another canonical way of feeding edge data into the
writer? If not, are there any plans to add this?
Cheers,
Nico
On Fri, Jul 20, 2012 at 5:12 PM, Nico Schlömer <nico.schloemer at gmail.com> wrote:
> 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