[vtkusers] Unhandled exception error when using the function SetStereoType()

cel02000 cel02000 at yahoo.com
Thu Nov 15 14:47:33 EST 2012


Dear All,

I am using VTK along with Qt. My code does some computations and illustrates
the results in a QVTK widget. The code deals with two different inputs. One
of the cases runs perfectly and when the code finishes its computation, the
results including iso-surface, streamlines, and the outline of the solution
will be displayed with no problem.

But for the other case, the code finishes the computation with no problem
and I can visualize the results in other softwares (both TECPLOT and
MATLAB). However, for this case when the code reaches the function
SetStereoType I get the following error:
*Unhandled exception at 0x000000013f55109a in Flow3D.exe: 0xC0000005: Access
violation reading location 0xffffffffffffffff.*
Here is the part of the code for which I get the above error:
*vtkRenderWindow* renWin1 = ui.qvtkWidget->GetRenderWindow();
renWin1->SetStereoType( false );*

I would be grateful for any help.
Ahmad



--
View this message in context: http://vtk.1045678.n5.nabble.com/Unhandled-exception-error-when-using-the-function-SetStereoType-tp5717150.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list