[Insight-developers] itkPoint
Brad King
brad.king@kitware.com
Fri, 11 May 2001 10:59:04 -0400 (EDT)
> I looked at the example you directed me to, which is using exactly the
> type of function i need: GetCoords(). Problem is, that is not a
> function in itk...i believe that example is using vtk points in the
> itkMesh. It yields:
> F:\Projects\gui\glMesh.cpp(139) : error C2039: 'GetCoords' : is not a member
> of 'Point<float,3>'
>
> Was there something else i was supposed to see in that code?
That example is out of date since itk::Point is now derived from
itk::Array. You should be able to get to the individual coordinates of a
point with the indexing operator.
-Brad