[vtk-developers] undo / redo for widgets
Karthik Krishnan
karthik.krishnan at kitware.com
Thu Nov 26 08:54:26 EST 2009
On Thu, Nov 26, 2009 at 8:12 AM, Dean Inglis <dean.inglis at camris.ca> wrote:
> I like the idea of keeping serialization out of the widget, although
> I don’t see how vtkAbstractWidgetStates would know what to serialize
> unless either TAbstractWidget implements its own Serialize/Unserialize
> to/from the history stream or there are child classed of
> vtkAbstractWidgetStates specific to each widget.
It calls the XML reader / writer for the class corresponding to
TAbstractWidget. As mentioned in the previous email, there would be an
XML reader/writer for each widget and representation, for instance
vtkXMLAngleWidgetReader / Writer
vtkXMLAngleRepresentation2DReader / Writer
...
Thanks
--
karthik
More information about the vtk-developers
mailing list