[vtk-developers] Python wrapping & factory methods

Timothy Shead tshead at sandia.gov
Fri Apr 29 17:41:33 EDT 2011


On 4/29/11 3:24 PM, David Gobbi wrote:
> On Fri, Apr 29, 2011 at 3:10 PM, Timothy Shead<tshead at sandia.gov>  wrote:
>>
>> 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?
>
> Not any time soon.  I'll add GetQueryInstance to my topic branch.
>
> I recommend that you open a bug report on mantis, and each time you
> find another leaky method you can add a note.  We'll need a list of
> them for when the hinting is enabled, anyway.

Done!

http://public.kitware.com/Bug/view.php?id=12139

Cheers,
Tim

-- 
Timothy M. Shead
Sandia National Laboratories
1461, Scalable Analysis and Visualization




More information about the vtk-developers mailing list