Upload Code
loading-left
loading loading loading
loading-right

Loading

Profile
No self-introduction
codes (1)
ITK, VTK, Qt mixed programming, read the two-dimen
4.0
Based on the Qt interface, using ITK to read two-dimensional images, displayed on qvtkwidget with VTK, ITK is read ImageFileReader, ImageToVTKImageFilter treats ITK into VTK data, and then use vtkImageviewer to display images; Dynamic method to get the mouse using a vtkEventQtSlotConnect class that implements from Qt event to convert VTK events and slot slotUpdatefixedCoords (vtkObject*) extract the coordinate information. Connections_fixed->Connect(m_fixedWidget->GetRenderWindow()->GetInteractor(), vtkCommand::MouseMoveEvent,this,SLOT(slotUpdatefixedCoords( vtkObject* )) );
ocean414331
2016-08-23
1
1
No more~