Memory: vtkClipPolyData initiates ReferenceCount of 3

Robert Riviere Robert.Riviere at
Mon Sep 6 08:19:49 EDT 1999


> vtkClipPolyData, which initializes to a reference count of 3.
> Witness the output from this code snippet:
>     vtkClipPolyData *test = vtkClipPolyData::New();
>     printf ("test->GetReferenceCount(); %d
> \n",test->GetReferenceCount());
> output:     test->GetReferenceCount(); 3

That's strange, if I do the same thing under the tcl interface with 
vtk2.3 under Linux everything goes well :

% vtkClipPolyData t
% t GetReferenceCount


This is the private VTK discussion list.  Please keep messages on-topic.
Check the FAQ at: <>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at>.  For help, send message body containing
"info vtkusers" to the same address.     Live long and prosper.

More information about the vtkusers mailing list