View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014882VTK(No Category)public2014-07-23 11:512014-08-25 21:58
ReporterCharles doutriaux 
Assigned ToDavid Gobbi 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version6.0.0 
Target VersionFixed in Version6.2.0 
Summary0014882: some Python function are not returning Python object but rather a string to a C pointer (which you can't use I guess)
Descriptionp = vtk.vtkPoints2D()
p.SetNumberOfPoints(1)
p.SetPoint(2.,3.)
p.GetPoint(0)
'_00000000022b9c70_void_p'

or
renWin = vtk.vtkRenderWindow()
In [16]: renWin.GetScreenSize()
Out[16]: '_00000000034d0b20_void_p'

TagsNo tags attached.
ProjectTBD
Typeincorrect functionality
Attached Files

 Relationships

  Notes
(0033285)
David Gobbi (developer)
2014-08-23 22:53

This problem occurs when a method that returns a pointer is not listed in the wrapping "hints" file (VTK/Wrapping/Tools/hints).

I'll submit a patch to add these to the hints file. If you see any more of these, please report them.
(0033286)
David Gobbi (developer)
2014-08-24 18:56

Review Topic T45641488: 14882_add_wrapping_hints
Change I6d85df74: Add wrap hints for vtkPoints2D and vtkRenderWindow.
http://review.source.kitware.com/#/t/4564/ [^]
(0033288)
David Gobbi (developer)
2014-08-25 21:57

Merged into master (commit 0541472e).

 Issue History
Date Modified Username Field Change
2014-07-23 11:51 Charles doutriaux New Issue
2014-08-23 22:53 David Gobbi Note Added: 0033285
2014-08-23 22:53 David Gobbi Assigned To => David Gobbi
2014-08-23 22:53 David Gobbi Status backlog => active development
2014-08-24 18:56 David Gobbi Note Added: 0033286
2014-08-24 18:56 David Gobbi Status active development => gerrit review
2014-08-25 21:57 David Gobbi Note Added: 0033288
2014-08-25 21:57 David Gobbi Status gerrit review => closed
2014-08-25 21:58 David Gobbi Resolution open => fixed
2014-08-25 21:58 David Gobbi Fixed in Version => 6.2.0


Copyright © 2000 - 2018 MantisBT Team