<div dir="ltr"><p style="padding:0px;margin:0px;color:rgb(0,0,0);font-family:Arial,Helvetica,'Luxi Sans',sans-serif;font-size:14.4px;white-space:pre-wrap">Hello EVERYONE!

</p><p style="padding:0px;margin:0px;color:rgb(0,0,0);font-family:Arial,Helvetica,'Luxi Sans',sans-serif;font-size:14.4px;white-space:pre-wrap">my environment is  : CPU: Xeon E5-2680 v3 @2.50 GHz, GTX750 + GTX TITAN X , VTK 7.0,  QT 5.3.2,  VS2013, Windows7 x64</p><p style="padding:0px;margin:0px;color:rgb(0,0,0);font-family:Arial,Helvetica,'Luxi Sans',sans-serif;font-size:14.4px;white-space:pre-wrap"><br></p><p style="padding:0px;margin:0px;color:rgb(0,0,0);font-family:Arial,Helvetica,'Luxi Sans',sans-serif;font-size:14.4px;white-space:pre-wrap">Now my program run on GTX750 ,i want to run the program on GTX TITAN X.</p><p style="padding:0px;margin:0px;color:rgb(0,0,0);font-family:Arial,Helvetica,'Luxi Sans',sans-serif;font-size:14.4px;white-space:pre-wrap"><br></p><p style="padding:0px;margin:0px;color:rgb(0,0,0);font-family:Arial,Helvetica,'Luxi Sans',sans-serif;font-size:14.4px;white-space:pre-wrap"><span style="font-size:14.4px">Could you please tell me if it is possible to choose graphics card in my program? </span></p><p style="padding:0px;margin:0px;color:rgb(0,0,0);font-family:Arial,Helvetica,'Luxi Sans',sans-serif;font-size:14.4px;white-space:pre-wrap">
</p><p style="padding:0px;margin:0px;color:rgb(0,0,0);font-family:Arial,Helvetica,'Luxi Sans',sans-serif;font-size:14.4px;white-space:pre-wrap"> I find the code below in vtkRenderWindow.h file:

</p><p style="padding:0px;margin:0px;color:rgb(0,0,0);font-family:Arial,Helvetica,'Luxi Sans',sans-serif;font-size:14.4px;white-space:pre-wrap">  // Description:

</p><p style="padding:0px;margin:0px;color:rgb(0,0,0);font-family:Arial,Helvetica,'Luxi Sans',sans-serif;font-size:14.4px;white-space:pre-wrap">  // If there are several graphics card installed on a system,

</p><p style="padding:0px;margin:0px;color:rgb(0,0,0);font-family:Arial,Helvetica,'Luxi Sans',sans-serif;font-size:14.4px;white-space:pre-wrap">  // this index can be used to specify which card you want to render to.

</p><p style="padding:0px;margin:0px;color:rgb(0,0,0);font-family:Arial,Helvetica,'Luxi Sans',sans-serif;font-size:14.4px;white-space:pre-wrap">  // the default is 0. This may not work on all derived render window and

</p><p style="padding:0px;margin:0px;color:rgb(0,0,0);font-family:Arial,Helvetica,'Luxi Sans',sans-serif;font-size:14.4px;white-space:pre-wrap">  // it may need to be set before the first render.

</p><p style="padding:0px;margin:0px;color:rgb(0,0,0);font-family:Arial,Helvetica,'Luxi Sans',sans-serif;font-size:14.4px;white-space:pre-wrap">  vtkSetMacro(<strong style="padding:2px;background-color:rgb(221,255,118)">DeviceIndex</strong>,int);

</p><p style="padding:0px;margin:0px;color:rgb(0,0,0);font-family:Arial,Helvetica,'Luxi Sans',sans-serif;font-size:14.4px;white-space:pre-wrap">  vtkGetMacro(<strong style="padding:2px;background-color:rgb(221,255,118)">DeviceIndex</strong>,int);

</p><p style="padding:0px;margin:0px;color:rgb(0,0,0);font-family:Arial,Helvetica,'Luxi Sans',sans-serif;font-size:14.4px;white-space:pre-wrap">  // Description:

</p><p style="padding:0px;margin:0px;color:rgb(0,0,0);font-family:Arial,Helvetica,'Luxi Sans',sans-serif;font-size:14.4px;white-space:pre-wrap">  // Returns the number of devices (graphics cards) on a system.

</p><p style="padding:0px;margin:0px;color:rgb(0,0,0);font-family:Arial,Helvetica,'Luxi Sans',sans-serif;font-size:14.4px;white-space:pre-wrap">  // This may not work on all derived render windows.

</p><p style="padding:0px;margin:0px;color:rgb(0,0,0);font-family:Arial,Helvetica,'Luxi Sans',sans-serif;font-size:14.4px;white-space:pre-wrap">  virtual int GetNumberOfDevices()

</p><p style="padding:0px;margin:0px;color:rgb(0,0,0);font-family:Arial,Helvetica,'Luxi Sans',sans-serif;font-size:14.4px;white-space:pre-wrap">  {

</p><p style="padding:0px;margin:0px;color:rgb(0,0,0);font-family:Arial,Helvetica,'Luxi Sans',sans-serif;font-size:14.4px;white-space:pre-wrap">    return 0;

</p><p style="padding:0px;margin:0px;color:rgb(0,0,0);font-family:Arial,Helvetica,'Luxi Sans',sans-serif;font-size:14.4px;white-space:pre-wrap">  }

</p><p style="padding:0px;margin:0px;color:rgb(0,0,0);font-family:Arial,Helvetica,'Luxi Sans',sans-serif;font-size:14.4px;white-space:pre-wrap">  
</p><p style="padding:0px;margin:0px;color:rgb(0,0,0);font-family:Arial,Helvetica,'Luxi Sans',sans-serif;font-size:14.4px;white-space:pre-wrap"> I  tried changing the <strong style="padding:2px;background-color:rgb(221,255,118)">DeviceIndex</strong> variable to different values but with no
 effect.my code is: renWin->SetDeviceIndex(1);

</p><p style="padding:0px;margin:0px;color:rgb(0,0,0);font-family:Arial,Helvetica,'Luxi Sans',sans-serif;font-size:14.4px;white-space:pre-wrap">hoping for help!</p><p style="padding:0px;margin:0px;color:rgb(0,0,0);font-family:Arial,Helvetica,'Luxi Sans',sans-serif;font-size:14.4px;white-space:pre-wrap"><br></p><p style="padding:0px;margin:0px;color:rgb(0,0,0);font-family:Arial,Helvetica,'Luxi Sans',sans-serif;font-size:14.4px;white-space:pre-wrap">Thank you!</p><div><br></div></div>