[vtkusers] VTK without the V(isualization)
Brian Davis
bitminer at gmail.com
Tue Jan 31 23:44:04 EST 2017
Investigating
GetPlanes() : vtkBoxRepresentation
<http://www.vtk.org/doc/nightly/html/classvtkBoxRepresentation.html#a215b315283dbd5bf07d9e998d6e423bd>
, vtkBoxWidget
<http://www.vtk.org/doc/nightly/html/classvtkBoxWidget.html#aff329326cf6d9539bdf73d8471034623>
, vtkClipConvexPolyData
<http://www.vtk.org/doc/nightly/html/classvtkClipConvexPolyData.html#a9c8386b8399a92d7715ca0accde83d7b>
, vtkFrustumSource
<http://www.vtk.org/doc/nightly/html/classvtkFrustumSource.html#ad258e57d67508896a08a24c4c9e1b88a>
a little further reveals
virtual vtkPlaneCollection
<http://www.vtk.org/doc/nightly/html/classvtkPlaneCollection.html>*
vtkClipConvexPolyData::GetPlanes ( )
is not the same as
void vtkBoxRepresentation::GetPlanes ( vtkPlanes
<http://www.vtk.org/doc/nightly/html/classvtkPlanes.html> * *planes*)
and
void vtkBoxWidget::GetPlanes ( vtkPlanes
<http://www.vtk.org/doc/nightly/html/classvtkPlanes.html> * *planes*)
and hey... why would it be for consistency sake?
or for that matter:
virtual vtkPlanes <http://www.vtk.org/doc/nightly/html/classvtkPlanes.html>*
vtkFrustumSource::GetPlanes ( )
Not that I need a Frustrum.
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.
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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170131/3eee6c34/attachment.html>
More information about the vtkusers
mailing list