<div dir="ltr"><div><div><div><div><div><div><br></div>Investigating<br><div><br>​GetPlanes()
: <a class="el" href="http://www.vtk.org/doc/nightly/html/classvtkBoxRepresentation.html#a215b315283dbd5bf07d9e998d6e423bd">vtkBoxRepresentation</a>
, <a class="el" href="http://www.vtk.org/doc/nightly/html/classvtkBoxWidget.html#aff329326cf6d9539bdf73d8471034623">vtkBoxWidget</a>
, <a class="el" href="http://www.vtk.org/doc/nightly/html/classvtkClipConvexPolyData.html#a9c8386b8399a92d7715ca0accde83d7b">vtkClipConvexPolyData</a>
, <a class="el" href="http://www.vtk.org/doc/nightly/html/classvtkFrustumSource.html#ad258e57d67508896a08a24c4c9e1b88a">vtkFrustumSource</a><br><br></div><div>a little further reveals<br><br>virtual <a class="el" href="http://www.vtk.org/doc/nightly/html/classvtkPlaneCollection.html">vtkPlaneCollection</a>* vtkClipConvexPolyData::GetPlanes 
          (
          )
          <br><br></div><div>is not the same as <br></div><div><br>void vtkBoxRepresentation::GetPlanes 
          (
          <a class="el" href="http://www.vtk.org/doc/nightly/html/classvtkPlanes.html">vtkPlanes</a> * 
          <em>planes</em>)
          <br><br></div>and<br><br>void vtkBoxWidget::GetPlanes 
          (
          <a class="el" href="http://www.vtk.org/doc/nightly/html/classvtkPlanes.html">vtkPlanes</a> * 
          <em>planes</em>)
          <br><br></div>and hey... why would it be for consistency sake?<br><br></div>or for that matter: <br><br>virtual <a class="el" href="http://www.vtk.org/doc/nightly/html/classvtkPlanes.html">vtkPlanes</a>* vtkFrustumSource::GetPlanes 
          (
          )<br><br></div>Not that I need a Frustrum.<br><br></div>So I look into vtkClipConvexPolyData and vtkPlaneCollecion to see if I can get vtkPlanes* and of course I can't.  I get the feeling that vtk is a bit fractured. <br><br></div>Can someone explain to me why what is seemingly similar things in vtk have such different interfaces that don't seem to play nice with (itself) it's own api?<br><br><div><div><div><div><br><br><br><br><br><div><br><div><br> <br></div><div><br></div></div></div></div></div></div></div>