Hello List,
For those who would like to start testing MITK with ITKv4, find below my
findings:
- use std::stringstream instead of itk::OStringStream all around the
project (search and replace project wide)
- itkVtkAbstractTransform.h cannot be instantiated since three methods
in its paren class, itk::Transform, are purely virtual.
As a workaround, you may reimplement them just like:
virtual void SetParameters(const ParametersType &) {};
virtual void SetFixedParameters(const ParametersType &) {};
virtual const JacobianType & GetJacobian(const InputPointType &)
const { return m_Jacobian; };
- int mitkGeometry3D.h, fill the template like:
itk::Math::RoundHalfIntegerUp<int, double>
- in the IGT module, rename m_TimeStamp to m_NavigationTimeStamp and
replace accordingly in all files in the module (straightforward)
- histogram issues: there are several. either tackle them with patience
or use itkScalarImageToHistogramGenerator.h instead of
itkMITKScalarImageToHistogramGenerator.h in mitkHistogramGenerator and
try making it compile
- use index[0] = static_cast<HistogramType::IndexValueType> (i); in
QmitkHistogramWidget.cpp
- imageIO->SetPixelTypeInfo( *(pixelType.GetItkTypeId()) ) (could not
make it work yet)
And finally, some libs from the old InsightToolkit (ITKBasicFilters,
ITKIO, etc) are still added to the Solution, together with the new ones
from ITKv4. I´m using VS 2008 on winXP with the old CMakeList, before
the switch to SuperBuild, but with MITK GIT up-to-date repo
thank you,
sebastian
------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its
next-generation tools to help Windows* and Linux* C/C++ and Fortran
developers boost performance applications - including clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users