View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0015494 | VTK | (No Category) | public | 2015-05-27 13:16 | 2016-08-12 09:55 | ||||
Reporter | David Gobbi | ||||||||
Assigned To | David Gobbi | ||||||||
Priority | low | Severity | minor | Reproducibility | have not tried | ||||
Status | closed | Resolution | moved | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0015494: Faulty logic when wrapping templated VTK objects | ||||||||
Description | When the python wrappers encounter a parameter that is a pointer to a class template, they seem to assume that the class is derived from vtkObjectBase via vtkTypeTemplate. As a result, the wrappers generate a typeid() call, because vtkTypeTemplate uses typeid() in its GetClassName() method. Of course, this typeid() call should _only_ be used for classes that use vtkTypeTemplate. It is inapplicable to any other templated classes. Hence, I need to add some code that checks whether a class uses vtkTypeTemplate, or whether a class is derived from such a class. I've added a "quick and dirty" fix for the vtkSmartPointer<>, because it's the only wrapper-breaking template that I've seen so far: a4a1d20e. However, a better fix will eventually be needed. | ||||||||
Tags | No tags attached. | ||||||||
Project | TBD | ||||||||
Type | incorrect functionality | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0036169) David Gobbi (developer) 2016-07-06 10:50 |
This issue currently isn't causing any problems. It can be re-examined in the future. |
(0037391) Kitware Robot (administrator) 2016-08-12 09:55 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2015-05-27 13:16 | David Gobbi | New Issue | |
2015-05-27 13:16 | David Gobbi | Assigned To | => David Gobbi |
2016-07-06 10:50 | David Gobbi | Note Added: 0036169 | |
2016-07-06 10:50 | David Gobbi | Status | backlog => expired |
2016-07-06 10:50 | David Gobbi | Resolution | open => suspended |
2016-08-12 09:55 | Kitware Robot | Note Added: 0037391 | |
2016-08-12 09:55 | Kitware Robot | Status | expired => closed |
2016-08-12 09:55 | Kitware Robot | Resolution | suspended => moved |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |