Home »
Public Forums »
archive »
About iTools
Re: About iTools [message #48148 is a reply to message #47614] |
Fri, 31 March 2006 16:28  |
Michael Galloy
Messages: 1114 Registered: April 2006
|
Senior Member |
|
|
Antonio Santiago wrote:
> Also I made a little example from IDLitToolbase class. I remove some
> lines of code (some operations) and register a new little operation
> Resample (modified of the original IDLitopResample operation).
>
> I have registered this operation with REVERSIBLE_OPERATION=0 but when I
> apply this on a data it continues appearing into the Edit/Undo operation.
Not sure if you're still working on this, but if not maybe it will help
the "next guy."
REVERSIBLE_OPERATION is not doing what you think it's doing. Undo/redo
is automatic (one way or another) for all IDLitDataOperation operations.
If REVERSIBLE_OPERATION=1, then previous data will not be cached because
undo'ing will call the undoExecute method of the operation to be called.
If REVERSIBLE_OPERATION=0 then previous data will be cached because that
is the only way to provide undo.
But I'm not sure if this is what's causing your speed problem. The
itools haven't exactly been speedy for me. Though there were some
performance enhancements that affect iimage in IDL 6.2, I'm not sure
they would help either.
-Mike
|
|
|
Current Time: Fri Oct 10 15:46:43 PDT 2025
Total time taken to generate the page: 1.91268 seconds