ITK/Release 4/Wrapping/Tasks: Difference between revisions
From KitwarePublic
Jump to navigationJump to search
Agouaillard (talk | contribs) (→Ashish) |
Agouaillard (talk | contribs) |
||
Line 10: | Line 10: | ||
* Write the result on a wiki page. | * Write the result on a wiki page. | ||
==move the customization code in python's main CMakeLists.txt to swig macros in pyBase.i== | |||
==set up the 64 bit build on CoSMoTest-Win7 with MSVC 10== | |||
==reply to all related to wrapping on the mailing lists== | |||
==test gerrit changes related to wrapping== | |||
==MetadataDictionary access from target languages== | |||
* modify itkMetaDataDictionary.h to add those methods: | * modify itkMetaDataDictionary.h to add those methods: | ||
Line 32: | Line 32: | ||
+ a __iter__() method to return every elements in the dictionary one by one | + a __iter__() method to return every elements in the dictionary one by one | ||
==Tcl SmartPointers== | |||
If you have some time, look at how SmartPointers are replaced by swig proxy objects in python and java and explore the possibility to do the same in Tcl to decrease the build time of WrapITK. | If you have some time, look at how SmartPointers are replaced by swig proxy objects in python and java and explore the possibility to do the same in Tcl to decrease the build time of WrapITK. |
Revision as of 15:25, 1 May 2011
Current Tasks
TO UPDATE: Build WrapITK with ccache
- measure the build speedup
- write documentation on the wiki
TO UPDATE: Build WrapITK with WRAP_ITK_EXPLICIT
- compare the build time and the bin directory size
- Write the result on a wiki page.
move the customization code in python's main CMakeLists.txt to swig macros in pyBase.i
set up the 64 bit build on CoSMoTest-Win7 with MSVC 10
MetadataDictionary access from target languages
- modify itkMetaDataDictionary.h to add those methods:
+ MetaDataObjectBase::Pointer & Get(const std::string &) const; + void Set(const std::string &, MetaDataObjectBase * ); + std::vector< std::string > Keys() const;
- add a specific language customization for python, to make the metadata accessible in a more usual way.
+ a __setitem__() method to add/modify a metadata in the dictionary + a __len__() method to return the number of metadata in the dictionary + a __getitem__() method - this one should take care to down cast the object to its real type + a __str__() method to print the content of the dictionary + a __iter__() method to return every elements in the dictionary one by one
Tcl SmartPointers
If you have some time, look at how SmartPointers are replaced by swig proxy objects in python and java and explore the possibility to do the same in Tcl to decrease the build time of WrapITK.