ITK/Release 4/Wrapping/Tasks
From KitwarePublic
Jump to navigationJump to search
Ashish
Build WrapITK
- on the workstation
- on the mac mini
- write documentation on the wiki
Build WrapITK with ccache
- measure the build speedup
- write documentation on the wiki
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
build WrapITK with WRAP_ITK_EXPLICIT ON and OFF
- compare the build time and the bin directory size
- Write the result on a wiki page.
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.
build a simple program to read an image and write it on disk with 16bit pixel type
- in c++
- in python
- in java
- write documentation on the wiki