Hi all,<br><br>I am trying to create a no. of vtkplanes and store them some where for use later as section planes.<br><br>I have gone through the vtkPlaneCollection class documentation, the only way I see for retrieving<br>
a particular plane from this collection is to use GetItemAsObject() and using cast to convert the returned object to vtkPlane.<br>(am I right will that work? or would it be better to create my own map to store the planes)<br>
<br>my another Question is regarding this  function -----------<br><br>vtkPlane* vtkPlaneCollection::GetNextPlane (  vtkCollectionSimpleIterator &amp;  cookie  ) <br>Reentrant safe way to get an object in a collection. Just pass the same cookie back and forth.<br>
<br>i have seen this function in other collections also, can someone explain with a code snippet, how exactly is this function used.<br><br>thanks,<br><br>Shailender<br><br><br> <br>