[vtkusers] program crashes on vtkOrientationMarkerWidget
David Doria
daviddoria at gmail.com
Tue Feb 22 08:56:04 EST 2011
On Fri, Jan 28, 2011 at 6:45 AM, Nelson <gnjoseph at gmail.com> wrote:
>
> 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 )
Can you provide the shortest possible compilable demonstration of the problem?
David
More information about the vtkusers
mailing list