| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0009223 | VTK | (No Category) | public | 2009-06-30 19:09 | 2012-12-12 12:16 | ||||
| Reporter | ivan daschinsky | ||||||||
| Assigned To | David Gobbi | ||||||||
| Priority | normal | Severity | minor | Reproducibility | always | ||||
| Status | closed | Resolution | fixed | ||||||
| Platform | OS | OS Version | |||||||
| Product Version | |||||||||
| Target Version | Fixed in Version | 5.8.0 | |||||||
| Summary | 0009223: vtkTkPhotoImage.py - wrong call tcl command | ||||||||
| Description | I suggest to patch this file for proper calling tcl command vtkImageDataToTkPhoto This is my variant of method in class vtkTkPhotoImage from vtkTkPhotoImage module (tk-python widgets) def PutImageSlice ( self, image, z, orientation='transverse', window=256, level=128 ): t = image.__this__ s = 'vtkImageDataToTkPhoto %s %s %d %s %d %d' % ( t, self.name, z, orientation, window, level ) self.tk.eval ( s ) Previous version: def PutImageSlice ( self, image, z, orientation='transverse', window=256, level=128 ): t = image.__this__ s = 'vtkImageDataToTkPhoto %s %s %d %s %d %d' % ( t[:-2], self.name, z, orientation, window, level ) self.tk.eval ( s ) | ||||||||
| Tags | No tags attached. | ||||||||
| Project | |||||||||
| Type | |||||||||
| Attached Files | |||||||||
| Relationships | |
| Relationships |
| Notes | |
|
(0016792) ivan daschinsky (reporter) 2009-06-30 19:14 |
Sorry, I've made mistake. There is right version of this method def PutImageSlice ( self, image, z, orientation='transverse', window=256, level=128 ): import string t = string.replace(image.__this__,'_p','') s = 'vtkImageDataToTkPhoto %s %s %d %s %d %d' % ( t, self.name, z, orientation, window, level ) self.tk.eval ( s ) |
|
(0026202) David Gobbi (developer) 2011-04-17 01:37 |
Modified the vtkTkRenderWidget to be more flexible about the formatting of the mangled pointers. commit 97aef8bded8a1019b2ddfcb4e600051d8b303f9e Author: David Gobbi <david.gobbi@gmail.com> Date: Sat Apr 16 23:31:30 2011 -0600 |
| Notes |
| Issue History | |||
| Date Modified | Username | Field | Change |
| 2009-06-30 19:09 | ivan daschinsky | New Issue | |
| 2009-06-30 19:09 | ivan daschinsky | File Added: vtkTkPhotoImage.py | |
| 2009-06-30 19:14 | ivan daschinsky | Note Added: 0016792 | |
| 2011-02-26 10:22 | David Gobbi | Assigned To | => David Gobbi |
| 2011-02-26 10:22 | David Gobbi | Status | backlog => tabled |
| 2011-04-17 01:37 | David Gobbi | Note Added: 0026202 | |
| 2011-04-17 01:37 | David Gobbi | Status | tabled => @80@ |
| 2011-04-17 01:37 | David Gobbi | Resolution | open => fixed |
| 2011-06-16 13:11 | Zack Galbreath | Category | => (No Category) |
| 2012-12-12 12:16 | David Gobbi | Status | customer review => closed |
| 2012-12-12 12:16 | David Gobbi | Fixed in Version | => 5.8.0 |
| Issue History |
| Copyright © 2000 - 2018 MantisBT Team |