GUISupport/Qt/QVTKWidget.cxx
void QVTKWidget::setDevice(vtkTDxDevice *device)
{
#ifdef Q_WS_X11
  if(this->GetInteractor()->GetDevice()!=device)
    {
    this->GetInteractor()->SetDevice(device);
    }
#else
  (void)device; // to avoid warnings.
#endif
}
// Description:
// Receive notification of the creation of the TDxDevice
Receive notification of the creation of the TDxDevice
Receive notification of the creation of the TDxDevice
void QVTKWidget::setDevice(vtkTDxDevice *device)
{
#ifdef Q_WS_X11
  if(this->GetInteractor()->GetDevice()!=device)
    {
    this->GetInteractor()->SetDevice(device);
    }
#else
  (void)device; 
#endif
}
void QVTKWidget :: setDevice ( vtkTDxDevice * device ) { #ifdef Q_WS_X11 if ( this -> GetInteractor ( ) -> GetDevice ( ) != device ) { this -> GetInteractor ( ) -> SetDevice ( device ) ; } #else ( void ) device ; #endif }
Description:
Receive notification of the creation of the TDxDevice
Description : Receive notification of the creation of the TDxDevice
// to avoid warnings.