[Insight-users] Visual Assist and ITK

Michael Mai Michael.Mai at zeiss-oim.de
Tue Apr 14 08:43:53 EDT 2009


Hi,

I recently installed Visual Assist X (http://www.wholetomato.com/). And it works fine, most of the time.
I have some problems with itk::SmartPointer< ... > wrapped classes. I don't get the members of the class itself, sometimes the members of the baseclass or members from somewhere else.

+++
	typedef itk::Image< float > FloatImage;
	FloatImage::Pointer flIm = FloatImage::New();
	FloatImage::IndexType ix = {{ 0,0 }};
	flIm->SetPixel(ix, 1.2345);
+++

Compiles fine, but I don't get SetPixel() for flIm (via Visual Assist X).
Among others:
- I get for flIm->SetInput() (don't compile)
- I get for flIm->GetBufferPointer() (compile)

I already deleted the .ncb-file and recreated the visual assist cache.

I use Visual Studio 2008 on WinXPSP2.


Any hint would be fine,
Michael


More information about the Insight-users mailing list