[vtkusers] Unhandled exception at the time of Unregistering vtkSmartPointer

cel02000 cel02000 at yahoo.com
Fri Jun 8 20:37:29 EDT 2012


David,

I changed the function to the following but the first parameter which is the
output of the function does not change the passed argument to the function.
polydataOut is fine when I check it inside the function but when the
function ends and when I check the passed arguments it does not show any
pointdata in the main function.

int Calc(
vtkPolyData* polydataOut ,
vtkDoubleArray* in1,
vtkDoubleArray* in2,
vtkDoubleArray* in3); 

I did not have any problem with using vtkSmartPointer<vtkPolyData>&
polydataOut. However, I would like to use pointer instead of vtkSmartPointer
as it is better as you said.

Thanks.
Ahmad

--
View this message in context: http://vtk.1045678.n5.nabble.com/Unhandled-exception-at-the-time-of-Unregistering-vtkSmartPointer-tp5713691p5713699.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list