[vtkusers] Printing the values an vtkSmartPointer object

Shrabani Ghosh srbn.ghosh99 at gmail.com
Fri Aug 10 08:40:30 EDT 2018


I want to print all the elements of the VTKSmartPointer List. Like we can
print the elements of a list in C++. 

Like here : 
vtkSmartPointer<vtkIdList> organizedCellList =
orderCellList(unorderedCellList, pdata);


I want to see the size of the organizedCellList  and print all the elements
of it. 
Something like this,
cout << "list " << (int) organizedCellList.size()  << endl;



--
Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html


More information about the vtkusers mailing list