[Insight-developers] Run-time polymorphism and Insight
Josh Cates
cates at rolle.engr.utk.edu
Tue Jun 13 16:11:28 EDT 2000
Hello developers,
How do I up-cast or down-cast an Insight object? Since we are using
smart pointers, I can't think of a way to use any of the conventional
methods such as dynamic_cast.
For example, say I want to treat an itkImage::Pointer as an
itkObject::Pointer, etc,.
In other words, how can I get polymorphic behavior from Insight objects?
Thanks,
Josh.
+--+--+--+--+--+--+--+--+--+--+--+--
Josh Cates
Dept. of Electrical Engineering
University of Tennessee, Knoxville
Email: jecates at utk.edu
Phone: (865) 974-0694
URL: www.cs.utk.edu/~cates
--+--+--+--+--+--+--+--+--+--+--+---
More information about the Insight-developers
mailing list