ITK/Release 4/Wrapping/Tasks: Difference between revisions
From KitwarePublic
Jump to navigationJump to search
(Created page with " ==Ashish== ===Build WrapITK=== * on the workstation * on the mac mini * write documentation on the wiki ===Build WrapITK with ccache=== * measure the build speedup * write docum...") |
Agouaillard (talk | contribs) (→Ashish) |
||
Line 1: | Line 1: | ||
= | = Current Tasks = | ||
==TO UPDATE: Build WrapITK with ccache== | |||
== | |||
* measure the build speedup | * measure the build speedup | ||
* write documentation on the wiki | * 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=== | ===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=== | ===set up the 64 bit build on CoSMoTest-Win7 with MSVC 10=== | ||
===reply to all related to wrapping on the mailing lists=== | ===reply to all related to wrapping on the mailing lists=== | ||
===test gerrit changes related to wrapping=== | ===test gerrit changes related to wrapping=== | ||
===MetadataDictionary access from target languages=== | ===MetadataDictionary access from target languages=== | ||
* modify itkMetaDataDictionary.h to add those methods: | * modify itkMetaDataDictionary.h to add those methods: | ||
+ MetaDataObjectBase::Pointer & Get(const std::string &) const; | + MetaDataObjectBase::Pointer & Get(const std::string &) const; | ||
+ void Set(const std::string &, MetaDataObjectBase * ); | + void Set(const std::string &, MetaDataObjectBase * ); | ||
+ std::vector< std::string > Keys() const; | + std::vector< std::string > Keys() const; | ||
* add a specific language customization for python, to make the metadata accessible in a more usual way. | * 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 __setitem__() method to add/modify a metadata in the dictionary | ||
Line 26: | Line 31: | ||
+ a __str__() method to print the content of the dictionary | + a __str__() method to print the content of the dictionary | ||
+ 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=== | ===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:24, 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.