[Kst] Filters
George Staikos
staikos at kde.org
Sat Dec 20 07:45:42 CET 2003
Filters are now working in CVS. It was extremely tricky to get them working
and stable, and I'm certain the compiler was working against me at least once
as well. Anyhow, feedback would be appreciated. There are still minor GUI
items that need to be cleaned up, and scalars can only be input as constants
right now. I will fix this over the weekend, along with adding support for
saving filters to kst files. Unfortunately the design of filters precludes
an optimization that I had in mind - "operator filters". These filters could
have operated on a given vector without producing a new output vector, so
would probably be quite efficient.
Filters are basically plugins as we already support - an XML file and a .so
file. The difference is that the API is somewhat narrowed to one input
vector, one output vector, and a set of scalars. The XML file only describes
the <intro> node, the <input> interface, and the intro must contain a
<filter/> node. Should this be contributed back to the moduledef DTD?
Oh and for now you can access the filter dialog from the data manager. You
can also quickly apply filters to vectors via the data manager context menu.
Andrew, if you need help porting any of the plugins to filters (if this even
applies....) please feel free to contact me.
--
George Staikos
KDE Developer http://www.kde.org/
Staikos Computing Services Inc. http://www.staikos.net/
More information about the Kst
mailing list