octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GSoC project: new graphics backend


From: Michael Goffioul
Subject: Re: GSoC project: new graphics backend
Date: Sat, 28 Mar 2009 22:47:27 +0000

On Sat, Mar 28, 2009 at 1:07 PM, Arseniy Lartsev <address@hidden> wrote:
>> Can you explain what you mean by "abstract renderer" -- what would be
>> the input and output of it?
>> e.g. gl-render takes the octave object tree as input and produces
>> OpenGL output
> "Abstract renderer" takes octave object tree as input and has abstract methods
> for rendering like "DrawAxes", "DrawGrid", "DrawCurve", "DrawSurface", etc.
> The "Real renderer" is a derived class that implements all those abstract
> methods and therefore provides some output (it could be OpenGL as well as
> anything else).

Am I mistaken, or what you mean is taking the current "draw()" interface of
opengl_renderer class and put it into an abstract class, and make
opengl_renderer
inherit from it?

Michael.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]