[vtk-developers] slight reshuffling of vtk3DWidget children
Charl P. Botha
c.p.botha at its.tudelft.nl
Thu Jun 6 10:51:23 EDT 2002
Dear developers,
I wish to add a vtkPolyDataSourceWidget to the vtk3DWidget hierarchy. This
would be a child of vtk3DWidget and a parent of vtk{Line,Plane,Sphere}Widget
and all subsequent vtk3DWidgets that are essentially "active" forms of
simple vtkPolyDataSources.
vtkPolyDataSourceWidget would then have a SetPolyDataSource() method which
can be used instead of SetInput() or SetProp3D(). When PlaceWidget(bounds)
is called, the widget's underlying polydatasource is manipulated to be
identical to the one supplied with SetPolyDataSource().
This will be entirely backwards compatible and won't break any existing code
making use of the widgets, as PlaceWidget(bounds) will still fall back to
old behaviour if no SetPolyDataSource() has been called.
Unless there are any objections, I would like to do this as soon as possible.
Thanks,
Charl
--
charl p. botha http://cpbotha.net/ http://visualisation.tudelft.nl/
More information about the vtk-developers
mailing list