[vtk-developers] vtkArrayExtents (and others) Python wrapping

Eric E. Monson emonson at cs.duke.edu
Thu Sep 16 12:10:53 EDT 2010


Right now I'm only "testing it out" in the sense that I've been translating a few of the Titan text analysis tests into Python to see how they work wrapped, and some of them use the vtkArray methods in one or two spots. 

If I write anything that pushes on those classes a bit more, or if I have time to convert over any of the vtkArray cxx tests to Python, I'll definitely pass them along.

Talk to you later,
-Eric


On Sep 16, 2010, at 11:46 AM, David Gobbi wrote:

> Hi Eric,
> 
> If you have time, I'd love it if you could email me some code
> snippets.  There still aren't any tests for vtkArray in Python.
> 
>   David
> 
> On Thu, Sep 16, 2010 at 9:41 AM, Eric E. Monson <emonson at cs.duke.edu> wrote:
>> Hey David,
>> 
>> So far everything is working great -- wonderful job, again!!
>> 
>> Thanks,
>> -Eric
>> 
>> 
>> On Sep 14, 2010, at 2:46 PM, Eric E. Monson wrote:
>> 
>>> Thanks, David,
>>> 
>>> I'll take a look at it in the next day or two and let you know if I have any problems. I appreciate you addressing this so quickly.
>>> 
>>> Talk to you later,
>>> -Eric
>>> 
>>> 
>>> On Sep 14, 2010, at 9:27 AM, David Gobbi wrote:
>>> 
>>>> Hi Eric,
>>>> 
>>>> This morning I added some code that allows the python wrappers to
>>>> resolve typedefs, so those missing vtkArray methods are wrapped again.
>>>> Let me know if the new code works for you.
>>>> 
>>>> David
>>>> 
>>>> 
>>>> On Tue, Sep 7, 2010 at 7:47 PM, Eric E. Monson <emonson at cs.duke.edu> wrote:
>>>>> On Sep 7, 2010, at 7:02 PM, Timothy Shead wrote:
>>>>> 
>>>>>> On 9/7/10 1:38 PM, David Gobbi wrote:
>>>>>>> I'm fine with that.  Wrapper typedef support is something that I had
>>>>>>> planned from the start, I just didn't expect that it would be needed
>>>>>>> so soon.  What do you think of Eric's GetDimensionRange() method
>>>>>>> suggestion?  I'd prefer that there are always named-method
>>>>>>> alternatives to [ ] operator methods.
>>>>>> 
>>>>>> Makes sense, although I would strongly prefer vtkArrayExtents::GetExtent(...), for consistency with vtkArray::GetExtent(...), which returns the same value.
>>>>> 
>>>>> Ah, thank you -- I hadn't seen the vtkArray::GetExtent() option. I can get the values from that for now.
>>>>> 
>>>>> -Eric
>>>>> 
>>>>> 
>>> 
>>> _______________________________________________
>>> Powered by www.kitware.com
>>> 
>>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>>> 
>>> Follow this link to subscribe/unsubscribe:
>>> http://www.vtk.org/mailman/listinfo/vtk-developers
>> 
>> 




More information about the vtk-developers mailing list