[Insight-developers] SpatialObject Spacing still double[3]

Kent Williams norman-k-williams at uiowa.edu
12 Jan 2004 16:27:33 -0600


This I noticed today, when I tried to compile some code that went
something like this:

itk::TubeSpatialObjectType tube;
itk::ImageType image;

tube->SetSpacing(image->GetSpacing());

This didn't work so hot because SpatialObject still defines SetSpacing
this way:

void SetSpacing( const double
spacing[itkGetStaticConstMacro(ObjectDimension)] )]);

Is this an oversight?