[Insight-users] Problems with fixedReader->Update();

Ramón Casero Cañas ramon.casero at comlab.ox.ac.uk
Tue Jul 21 19:05:15 EDT 2009


motes motes wrote:
> I tried adding:
> 
> std::cout << "COMPONENT: " << this->GetComponentType() << std::endl;
> 
> before the switch as you recommended but nothing gets printed. Should I
> rebuild ITK after adding that line?

Yes, please. It'd be a good idea to add a similar debug line somewhere 
in your code, to see what type it thinks it has, and whether it's the 
same type that the ITK function sees internally.

Cheers,

R.

-- 
Ramón Casero Cañas, DPhil

Computational Biology, Computing Laboratory
University of Oxford
Wolfson Building, Parks Rd
Oxford OX1 3QD

tlf     +44 (0) 1865 610807
web     http://web.comlab.ox.ac.uk/people/Ramon.CaseroCanas
photos  http://www.flickr.com/photos/rcasero/


More information about the Insight-users mailing list