[vtkusers] Displaying vtkPolyData while writing on it within Qt objects (QVTKWidget)
Darshan Pai
darshanpai at gmail.com
Fri Jun 18 14:07:25 EDT 2010
If you are just manipulating the points maybe you can try the
vtkprogrammableFilter . There is an example on the Wiki you can find .
Regards
DArshan
On Fri, Jun 18, 2010 at 11:22 AM, Barth, Sebastian <
sebastian.barth at iosb.fraunhofer.de> wrote:
> Hello vtkusers,
>
> my application uses the QVTKWidget with Qt 4.6.2 and VTK 5.6.0 as a part of
> it's window.
>
> I have a 3D visualisation of a cluster of points stored in a vtkPolyData.
> On my Qt window I can start a QTimer whose timeout() signal is connected to
> a slot which manipulates the points in the vtkPolyData and updates the
> visualisation pipeline with QVTKWidget::update().
>
> My vtkRendererWindow uses the default interactor style (trackball camera).
>
> While moving the camera (mouse interaction) the QVTKWindow gets updated,
> but the vtkPolyData does not.
> This of course, is a Qt problem, but I want to know if I have to do
> anything special if I want to write on the vtkPolyData object from out
> another thread (QThread) while I'm moving the camera and displaying the
> current written Data. Maybe there is a simplier solution, I don't know!
>
> It's the first time I work with VTK, QT and even threads and I appreciate
> every help!
>
>
> Thanks a lot,
>
> Sebastian
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100618/54dd8245/attachment.htm>
More information about the vtkusers
mailing list