thanks. I have solved the problem with the help of wxvtk-users list.<br>The wxvtk 1.3 class was not adjusted to new vtk versions. The wxvtk 1.3 is updated only until version 5.2 of VTK. But can be solved easily.<br><br>
The program does not crash after issuing the error and by pressing t for<br>
trackball mode you can use the program. <br><br>maybe the timer was
changed and this timer is needed for joystick mode which is the default. After pressing t the window works as expected,<br>You
can add the lines between the clip and clap comments to the frame constructor:<br>
<br>
MyFrame::MyFrame( const wxString& title,<br>
const wxPoint& pos,<br>
const wxSize& size )<br>
: wxFrame((wxFrame *)NULL, -1, title, pos, size, wxDEFAULT_FRAME_STYLE |<br>
wxMAXIMIZE)<br>
{<br>
...<br>
// ----- clip ------<br>
// We make use of trackball mode - joystick mode does not work<br>
vtkSmartPointer<<p style="margin: 0px;">vtkInteractorStyleSwitch> intStyle =<br>
vtkSmartPointer<vtkInteractorStyleSwitch>::New();<br>
intStyle->SetCurrentStyleToTrackballCamera();<br>
<br>
this->m_pVTKWindow = new wxVTKRenderWindowInteractor(this, MY_VTK_WINDOW);<br>
this->m_pVTKWindow->SetInteractorStyle(intStyle);<br>
this->m_pVTKWindow->UseCaptureMouseOn();<br>
// ----- clap ------<br>
...<br>
<br>
<br></p><br><br><div class="gmail_quote">2010/7/9 Héber de Padua Sousa <span dir="ltr"><<a href="mailto:hebersousa@gmail.com">hebersousa@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
hi, I need help.<br>I'm working in an aplication using vtk and wxvtk class.<br>In the sample wxSample occur a error while I drag the mouse. The interaction not works.<br><br>the log error is it:<br>ERROR: In ..\..\Rendering\vtkInteractorStyle.cxx, line 392 vtkInteractorStyleJoystickCamera (0957E070): Timer start failed<br>
<br>What can It is?<br><font color="#888888"><br clear="all"></font><br></blockquote></div><br clear="all"><br>