[vtkusers] VTK with wxWidgets

Nelson gnjoseph at gmail.com
Mon Sep 5 05:53:44 EDT 2011


If I comment the code to create vtkOrientationMarkerWidget, then the overlaps
didnt occur.

I have commented the following code.

m_axes = vtkSmartPointer<vtkAxesActor>::New();
m_axes->SetNormalizedTipLength( 0.3, 0.3, 0.3 );
m_axes->SetNormalizedShaftLength( 1.0, 1.0, 1.0 );
m_axes->SetShaftTypeToLine();

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();

If I enable the above code, then the vtkWindow overlaps with wxWidgets'
statusbar.

Any suggestion to fix this problem would be helpful.

Thanks


-----
Regards,
Nelson
--
View this message in context: http://vtk.1045678.n5.nabble.com/VTK-with-wxWidgets-tp3330391p4769867.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list