Re: Handle Graphics and visualisation applications in Octave.

Dragan Tubic <[email protected]> Sat, 24 Jan 2004 10:35:07 -0500
Newsgroups gmane.comp.gnu.octave.graphics
Message-ID <[email protected]>
> That would be great: vtk classes power + high level plotting functions.
> Now, if there is a lightweight vtk pipeline editor, that would be even
> better.
>
> To achieve this, would it be by creating highlevel VTK classes, that
> resemble to the basic matlab objects, for example ?

No, I'm implementing this in octave. The only new object I create is a static 
array of figures (in octave). Figures are octave structures that contain a 
renderer, render window, interactor, axes and bounding box. I updated octaviz  
so you can grab it and check it out if you want (I'm still experimenting with 
this so there is a lot of stuff missing). 

There is now support for trisurf, plot3, (very basic) plot and figure. The 
function "figure" creates a new figure with axes and the bounding box. When 
something is displayed axes are updated automatically. Hold on/hold off are 
missing (it is allways on).

(try for example
vtk_plot( rand(10,10) );
demo3
demo3 (repeat a couple of times)
somb

Regards,

Dragan