[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: handle graphics
From: |
Ole Jacob Hagen |
Subject: |
Re: handle graphics |
Date: |
Sun, 17 Jul 2005 21:39:10 +0000 |
User-agent: |
Mozilla Thunderbird 1.0 (X11/20041206) |
Hi
I believe that Octave should not be aware of "handle
graphics"-properties, since handle graphics should be handled by each
visualisation application/plugin.
Octave should provide a "handle-graphics"-layer, that should be used by
each visualisation application.
As you know, Oplot and Props is implemented in this way.
Octave (as m-script) checks if data is of correct type, and sends the
data to Oplot. Communication layer of Oplot receives these data, and set
the respective Props-data.
Since visualisation classes in Oplot inherites the property-callbacks
from Props, the callbacks are executed. Each visualisation classes
handles each of this callbacks separately.
Another point.
If Octave is aware of handle graphics object, wouldn't this result in
multiple duplications of same data, both in Octave, and visualisation
application?
This should be avoided. Or do people want handle graphics to be
implemented as references to datasets?
An example:
v = randn(1,100);
h = plot(v)
would then result in one instance of v, and h-g implementation in Octave
gives a reference/pointer to v?
In visualisation application the same data would exist both in
application and graphics card?
If I implement the behaviour found in CMO into Props, Oplot could send
back to Octave, and not only as replies, since a event-loop on Octave
side is required.
Cheers,
Ole J.
- Re: handle graphics, (continued)
- Re: handle graphics, Jonathan Stickel, 2005/07/13
- Re: handle graphics, Ole Jacob Hagen, 2005/07/13
- Re: handle graphics, jswensen, 2005/07/13
- Re: handle graphics, Bill Denney, 2005/07/13
- Re: handle graphics, Shai Ayal, 2005/07/14
- Re: handle graphics, John W. Eaton, 2005/07/14
- Re: handle graphics, Shai Ayal, 2005/07/15
- Re: handle graphics, Paul Thomas, 2005/07/15
- Re: handle graphics, Paul Kienzle, 2005/07/15
- Re: handle graphics, Shai Ayal, 2005/07/16
- Re: handle graphics,
Ole Jacob Hagen <=
- Re: handle graphics, Daniel J Sebald, 2005/07/13
Re: handle graphics, jswensen, 2005/07/13