[vtkusers] vtkGraphToTable
Jeff Baumes
jeff.baumes at kitware.com
Mon Apr 19 10:47:36 EDT 2010
You are right that vtkDataObjectToTable will not transfer points to
the table, because points are treated as a special array outside the
point (or vertex) data. It would be great to see a "TransferPoints"
option to vtkDataObjectToTable to take care of this case.
Jeff
On Fri, Apr 16, 2010 at 1:14 PM, Jason BELLONE <JBELLONE at unog.ch> wrote:
> Thanks Brian,
>
> I really appreciate your suggestions! Please forgive my ignorance, but I'm a
> bit unclear on parameterizing vtkDataObjectToTable. Using the
> vtkRandomGraphSource->vtkGraphLayout->vtkDataObjectToTable->vtkTableWriter
> pipeline, I get only a list of vertexIds (with SetFieldType(3)) - but no
> coordinates (posX, posY, posZ).
>
> P.S. I'm using VisTrails to simulate which doesn't have
> vtkDelimitedTextWriter
>
> For some background, the reason we're following this approach is to use vtk
> to produce graph data models as vtkTables. The table is used as source for a
> 3d game engine (OGRE) where the id, x, y, z records are used to generate
> null 3d points. Game assets are then attached to these points.
>
> Thank you very much for the assistance,
>
> JB
>
> _______________________________________________
> 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