[vtkusers] Reference counting not work !!!

Walter Herrera walter at lncc.br
Tue Feb 6 13:37:53 EST 2001


Hi users,
I am beginning to use vtk with Tcl/tk and I ve tested the following:

vtkConeSource cone
   cone SetResolution 8
vtkPolyDataMapper coneMapper
   coneMapper SetInput [cone GetOutput]
vtkActor coneActor
   coneActor SetMapper coneMapper

cone Delete

[coneMapper GetInput] GetReferenceCount

and I do not understand why the result of the last command is 2...
wouldn't the result must be 1?

Would like help!

Many thanks
Walter











More information about the vtkusers mailing list