[vtk-developers] A Widget Related Question

John Biddiscombe jbiddiscombe at skippingmouse.co.uk
Tue May 14 08:44:31 EDT 2002


The 3D widgets don't export the things I'd expect them to do. for example.
the Plane Widget ought to export an implicit function representing a plane
as well as the polydata of the plane itself. Likewise the box widget should
export a vtkPlanes object &etc etc. (I can see that the plane function would
be infinite but the representation finite as a mnior niggle...but...)

Also the GetPolyData() does a shallow copy of the planesource->GetOutput()
rather than simply exporting the polydata directly.

Was there a specific reason why the polydata representations are
shallowcopied rather than directly exported? (I'd like to simply use
widget->GetPolyData() as it can be wrapped in GUI directly and pumped into
another pipeline) and is there any objection to exporting some implicit
functions too?

thanks

JB







More information about the vtk-developers mailing list