[vtkusers] display image on vtkplanewidget
amir k.
kacakici at hotmail.com
Thu Jun 21 09:33:04 EDT 2012
Hello,
I would like to display image on my vtkPlaneWidget, and trying to do this
with qvtkWidget. so basically, here is what I do:
vtkResliceImageViewer *resliceImageViewer = vtkResliceImageViewer::New():
vtkPlaneWidget *planeWidget = vtkPlaneWidget::New();
/../
resliceImageViewer->SetInput(planeWidget->GetResliceOutput());
this->ui.qvtkWidget->SetRenderWindow(resliceImageViewer->GetRenderWindow());
this->ui.qvtkWIdget->Show();
but nothing show on my qvtkWidget. Just blank black.
I am sure some of you have tried this before. I have checked the exemple of
QtVTKRenderWindows.cxx but I would like to stay with my c++ project
algorithm and really understand what I am doing.
I've been thinking something like signal-slot with thread principe but I
still don't really understand the principe. Forgive your noob here.
Thank you for your helps and suggestions.
--
View this message in context: http://vtk.1045678.n5.nabble.com/display-image-on-vtkplanewidget-tp5714062.html
Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers
mailing list