[vtk-developers] Python wrapping & factory methods
Timothy Shead
tshead at sandia.gov
Fri Apr 29 17:10:55 EDT 2011
On 4/29/11 2:24 PM, David Gobbi wrote:
> Hi Tim,
>
> I've pushed a fix for this that will work for most common factory
> methods within VTK, but not for new factory methods in e.g. ParaView.
> The latter will have to wait until I (or someone else?) has time to
> implement a hinting system for this.
>
> - David
>
David:
Working like a charm here. Of course, no good deed goes unpunished - I
just realized that this same issue affects
vtkSQLDatabase::CreateFromUrl() (static factory method for creating
database instances) and vtkSQLDatabase::GetQueryInstance() (non-static
factory method for creating database query objects from a database
instance).
I see where I could modify the hard-coded list in the wrapper-generator
code, or I could just wait for the hinting mechanism to show-up ... any
thoughts on how soon that might happen?
Cheers,
Tim
--
Timothy M. Shead
Sandia National Laboratories
1461, Scalable Analysis and Visualization
More information about the vtk-developers
mailing list