[Insight-users] error

Tina Wang tina06992003 at yahoo.com
Tue May 17 12:35:05 EDT 2005


hi,

I am defining a vector type as:

typedef itk::Vector< float, 3 > MeasurementVectorType;

Now I want to change 3 with different value by
repalcing it with a variable such as
int size = 4;
typedef itk::Vector< float, size
>MeasurementVectorType;

but I always get an error message "error C2973:
'Vector' : invalid template argument
'NVectorDimension'",
Could anyone tell me  how to define or change the
MeasurementVectorType with diefferent size.

Thanks,

tina


		
Yahoo! Mail
Stay connected, organized, and protected. Take the tour:
http://tour.mail.yahoo.com/mailtour.html



More information about the Insight-users mailing list