[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vtkusers
Subject:    Re: [vtkusers] vtkChartXY + setTitle + Tcl
From:       Mario Rodriguez <biomates () telefonica ! net>
Date:       2015-12-26 17:07:13
Message-ID: 567EC941.2060001 () telefonica ! net
[Download RAW message or body]



El 26/12/15 a las 00:08, Jorge Perez escribió:
> Hello Mario,

Hello Jorge,

> not all method are exported (wrapped) to Tcl. The Tcl wrapping 
> capability is not receiving attention (only python). The method 
> SetTitle that you are mentioning is one of those methods.

This is bad news for our project.

>
> When I need to invoke a method which is not wrapped what I usually do 
> is implement (in C++) a helper procedure to invoke that method. 
> Attached you can find an example which expose the SetTitle method for 
> an object of class vtkAxis.
> ....
> If you find this approach useful, I can provide you a full code (based 
> on CMake) to create the tcl library to expose the method you are needing.

Thanks, but this is not a viable solution, at least for the moment. Our 
program must be build with any Common Lisp compiler and end users should 
only care on satisfying some additional dependencies (Tcl, Gnuplot, 
VTK). For the moment, as I see it, we have two alternatives:

a) Make 2d plots with vtkChartXY without the ability of changing axes 
labels and title, waiting for a better Tcl support in Vtk, or
b) Use vtkXYPlotActor instead. I have some vtkXYPlotActor examples 
worked out with Tcl which work fine with strings.

At this moment, I am in favor of a).

Since Maxima (maxima.sf.net) became GNU-GPL, we have used Gnuplot as our 
common graphics renderer. The problem is that Gnuplot is not good at 3D 
modeling, and that's why I started to work with Vtk. People is now 
interested in using Maxima together with Vtk, and I'd like to offer end 
users the possibility of 2D graphics with Vtk with the same Maxima 
syntax used for Gnuplot.

Kind regards, and thanks again for your clarifications.

--
Mario
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic