| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0000540 | VTK | (No Category) | public | 2004-01-25 11:34 | 2012-12-13 13:56 | ||||
| Reporter | Dragan Tubic | ||||||||
| Assigned To | David Gobbi | ||||||||
| Priority | urgent | Severity | major | Reproducibility | always | ||||
| Status | closed | Resolution | fixed | ||||||
| Platform | OS | OS Version | |||||||
| Product Version | |||||||||
| Target Version | Fixed in Version | ||||||||
| Summary | 0000540: Wrong value conversion of vtkIdType in wrapper | ||||||||
| Description | vtkParse.l file defines vtkIdType conversion to LONG [line 157: "vtkIdType" return(LONG);] even if the configured type for vtkIdType is different (configured in vtkIdType.h) This is not a problem for the TCL wrapper since it does not wrap methods that have pointer arguments (for example method void SetArray (int *array, int size, int save); in vtkIdTypeArray class.) but Octave wrapper (filed as feature request) converts octave arrays into vtk arrays and vice versa and needs to know the exact type to be able to use pointers. The parser should either pass vtkIdType to the wrapper or use the configured type. | ||||||||
| Tags | No tags attached. | ||||||||
| Project | |||||||||
| Type | |||||||||
| Attached Files | |||||||||
| Relationships | |
| Relationships |
| Notes | |
|
(0002431) David Gobbi (developer) 2005-05-18 23:03 |
This bug has been fixed by the commits to the Wrapping directory on May 15, 2005. Within the wrappers, vtkIdType is identified using the hexadecimal digit A and vtkIdType* is identified as 0x30A. The Tcl and Java wrappers will still truncate vtkIdType to int. The Python wrappers have been adjusted to keep the full precision. |
| Notes |
| Issue History | |||
| Date Modified | Username | Field | Change |
| 2011-06-16 13:11 | Zack Galbreath | Category | => (No Category) |
| 2012-12-13 13:56 | David Gobbi | Status | customer review => closed |
| 2012-12-13 13:56 | David Gobbi | Assigned To | Ken Martin => David Gobbi |
| Issue History |
| Copyright © 2000 - 2018 MantisBT Team |