text
3D VISUALIZATION SYSTEM FOR OCTAVE
About
News
Download
Documentation
Screenshots
Project page
Octaviz consists of two parts: wrappers for all VTK classes and high-level Octave functions that hide VTK internals and provide visualization capabilities without requiring any VTK knowledge. The High level functions provide similar visualization capability as M**lab. Some of the implemented functions are (this list may not be up-to-date):

vtk_arrows3.m
vtk_axis.m
vtk_clear.m
vtk_close.m
vtk_cone3.m
vtk_contour3.m
vtk_figure.m
vtk_imshow.m
vtk_line3.m
vtk_mesh.m
vtk_meshc.m
vtk_plot.m
vtk_plot3.m
vtk_poly3.m
vtk_polycut.m
vtk_print.m
vtk_quiver3.m
vtk_scalarbar.m
vtk_surf.m
vtk_surfc.m
vtk_title.m
vtk_trimesh.m
vtk_trisurf.m
vtk_update.m

Manual pages for those functions are available here.
Building instructions are here.

VTK windows initiated by octaviz have hotkeys and mouse actions. For a list, look here (scroll down to the text). Not all of the hotkeys may be active.

VTK classes can be used in Octave as easily as they are used in Python and with the same syntax. Unlike other scripts or toolboxes for octave, octaviz uses object-oriented syntax. Octaviz wraps each VTK class into an Octave function of the same name. Those function are used as objects: An instance of a VTK class are created by calling corresponding octave function without parameters. For example, command "ren = vtkRenderer();" creates an instance of vtkRenderer class that is kept in octave variable "ren". Methods within a class are accessed directly using C++ (or Python) syntax. For example, using the above created object ren, the method Render is accessible as "ren.Render()". Online help is available for each class and method: vtkClass("Help") displays the description of vtkClass, while vtkClass("MethodName","Help") displays help for the method vtkClass.MethodName. List of available methods for a class can be obtained as vtkClass("List"). Online documentation for VTK is available here.