[vtkusers] program crashes on vtkOrientationMarkerWidget

Nelson gnjoseph at gmail.com
Fri Jan 28 06:45:30 EST 2011


David,

I am applying rotation to the vtkActor and it is rotated, but the
vtkOrientationMarkerWidget is not getting rotated. Could you help me?

This is my part of the code:
.
.
.
m_pOrientationMarkerWidget = vtkOrientationMarkerWidget::New();
m_pOrientationMarkerWidget->SetOrientationMarker( m_axes );
m_pOrientationMarkerWidget->SetInteractor( m_pRenderWindowInteractor );
m_pOrientationMarkerWidget->SetCurrentRenderer( m_pRenderer );
m_pOrientationMarkerWidget->SetEnabled( 1 );
m_pOrientationMarkerWidget->InteractiveOff();
.
.
.
m_pActor->RotateX( 100 );  \
RefreshVTKCanvas();            | Event Handling part ( Button )
                                          /

-----
Best Regards,
Nelson
-- 
View this message in context: http://vtk.1045678.n5.nabble.com/program-crashes-on-vtkOrientationMarkerWidget-tp3357419p3361297.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list