[vtkusers] VTK with wxWidgets

Nelson gnjoseph at gmail.com
Fri Jan 28 01:51:53 EST 2011


Yes you are right. The following code works perfectly

m_pOrientationMarkerWidget = vtkOrientationMarkerWidget::New();
	m_pOrientationMarkerWidget->SetOutlineColor( 0.9300, 0.5700, 0.1300 );
	m_pOrientationMarkerWidget->SetOrientationMarker( m_axes );
	m_pOrientationMarkerWidget->SetInteractor( m_pRenderWindowInteractor );
	m_pOrientationMarkerWidget->SetViewport( 0.0, 0.0, 0.2, 0.2 );
	m_pOrientationMarkerWidget->SetEnabled( 1 );

Could you tell me using vtkSmartPointer is advisable or not? Please tell me.


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



More information about the vtkusers mailing list