[Ves] VTK pipelines in VES

Matthias Baitsch matthias.baitsch at uni-kassel.de
Wed Sep 4 06:26:59 EDT 2013


Dear VES developers,

we are working on a VES based iPad app where the data to be visualised is created and modified interactively (works great, thanks). However, we need to set up VTK style pipelines (source-filter-mapper-actor) which are updated automatically when rendering occurs.

As far as I can see, vesKiwiPolyDataRepresentation operates on a vtkPolyData object and cannot be connected to a VTK algorithm.

Did I miss something here?

Attached the code for our workaround, maybe it could be useful. We subclassed vesMapper and vesRenderer. The mapper class updates the pipeline and handles the conversion from vtkPolyData to vesGeometryData (using some code borrowed from Kiwi). Our renderer invokes the mapper's update method if needed (code attached).


Best,

Matthias





---
Vertr.-Prof. Dr.-Ing. Matthias Baitsch

Universität Kassel 
FB 14 – FG Baustatik
Raum 2512
Mönchebergstr. 7
D-34125 Kassel

Tel: +49 561 804 3475



-------------- next part --------------
A non-text attachment was scrubbed...
Name: mvesPolyDataMapper.h
Type: application/octet-stream
Size: 885 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/ves/attachments/20130904/b08ea127/attachment-0006.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mvesPolyDataMapper.cpp
Type: application/octet-stream
Size: 3985 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/ves/attachments/20130904/b08ea127/attachment-0007.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mvesRenderer.h
Type: application/octet-stream
Size: 1244 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/ves/attachments/20130904/b08ea127/attachment-0008.obj>


More information about the Ves mailing list