[Insight-developers] itkPoint

C. Aaron Cois cacst11+@pitt.edu
Fri, 11 May 2001 10:34:00 -0400


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?


Aaron Cois

University of Pittsburgh
----- Original Message -----
From: "Bill Hoffman" <bill.hoffman@kitware.com>
To: "C. Aaron Cois" <cacst11@pitt.edu>;
<insight-developers@public.kitware.com>
Sent: Thursday, May 10, 2001 3:42 PM
Subject: Re: [Insight-developers] itkPoint


> This example might help you:
>
> Insight/Unsupported/vtk/vtk2itk.cxx
>
> At 03:38 PM 5/10/2001 -0400, C. Aaron Cois wrote:
> >I have been tyring to use itkMesh for the past few days, and in trying to
> >get the coordinates of points in a mesh, i have become stuck.  I can get
> >them in terms of an itkPoint, but can't figure out how to get the
individual
> >coordinates from this object.  I thought that perhaps it could be
accessed
> >using [] like a normal array due to the overloads in the class, but it
> >doesn't seem to work that way.  Am i missing some obvious method to do
this?
> >
> >
> >Aaron Cois
> >
> >University of Pittsburgh
> >
> >
> >_______________________________________________
> >Insight-developers mailing list
> >Insight-developers@public.kitware.com
> >http://public.kitware.com/mailman/listinfo/insight-developers
>
>
> _______________________________________________
> Insight-developers mailing list
> Insight-developers@public.kitware.com
> http://public.kitware.com/mailman/listinfo/insight-developers
>