[vtkusers] VTK with wxWidgets
Nelson
gnjoseph at gmail.com
Thu Jan 27 08:15:10 EST 2011
Dear Nicolas,
Thank you very much for your help.
The program crashes while running the following code snippets
vtkSmartPointer<vtkAxesActor> axes = vtkSmartPointer<vtkAxesActor>::New();
vtkSmartPointer<vtkOrientationMarkerWidget> widget =
vtkSmartPointer<vtkOrientationMarkerWidget>::New();
widget->SetOutlineColor( 0.9300, 0.5700, 0.1300 );
widget->SetOrientationMarker( axes );
widget->SetInteractor( m_pRenderWindowInteractor );
widget->SetViewport( 0.0, 0.0, 0.2, 0.2 );
widget->SetEnabled( 1 );
widget->InteractiveOn();
Could you please tell me what is wrong in the above code?
m_pRenderWindowInteractor is the object of wxVTKRenderWindowInteractor
-----
Best Regards,
Nelson
--
View this message in context: http://vtk.1045678.n5.nabble.com/VTK-with-wxWidgets-tp3330391p3359683.html
Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers
mailing list