[Insight-developers] an itkImage "Hello world"

Bill Hoffman bill.hoffman@kitware.com
Fri, 13 Apr 2001 15:26:28 -0400


I like the style of using ::New with no arguments, then
calling SetSize, it is more clear than figuring out what the
arguments to a constructor mean.

-Bill

At 03:21 PM 4/13/2001 -0400, Miller, James V (CRD) wrote:


>It would be nice, if at constructor time you could specify the size of the image as a width, height
>depth construct.  So the call to the New() method could be something like:
>
>Blox3D::Pointer image = Blox3D::New(10, 10, 10);