[Insight-developers] [ITK + Wrapping] module name

Brad King brad.king at kitware.com
Fri Jun 17 11:51:00 EDT 2005


Benoit Regrain wrote:
> I'm observing the ITK wrapping. All wrapped classes are organized by 
> groups.
> But I don't understand the rules to choose the group name.
> 
> In ITK/Wrapping/CSwig/Common we can find files :
> 1- wrap_itkTransform.cxx : group name is itkTransform
> 1- wrap_itkVersorTransform.cxx : group name is itkVersorTransformGroup

The second one should not have "Group" on the end.  That is a mistake.

> 2- wrap_itkScaleTransform.cxx : group name begins with itk

There is an "itk::ScaleTransform" class to which this corresponds.

> 2- wrap_ITKRigidTransforms.cxx : group name begins with ITK

There is no "itk::RigidTransforms" class.  The file is meant for several 
classes, so the group gets an ITK prefix.

-Brad


More information about the Insight-developers mailing list