[Insight-users] itk::Transform<double, 3u, 3u>’ is not a direct base of ...

motes motes mort.motes at gmail.com
Sun Feb 21 04:03:24 EST 2010


The error:

error: type ‘itk::Transform<double, 3u, 3u>’ is not a direct base of
‘itk::MyTransform<double, 3u, 3u>’

 is related to this (the constructor in MyTransform):

// Constructor with default arguments
template<class TScalarType, unsigned int NDimensions, unsigned int VSplineOrder>
MyTransform<TScalarType, NDimensions, VSplineOrder>
::MyTransform():Superclass(SpaceDimension,0) // This line gives the
base class error!
{




I guess it has something to do with the following structure which
happens when I subclass BSplineDeformableTransform:


Transform
   --> BSplineDeformableTransform
             --> MyTransform



More information about the Insight-users mailing list