[ITK] [ITK-users] Pointers and New()

Abdul Abdul abdul.sw84 at gmail.com
Fri Oct 24 05:54:53 EDT 2014


Hello,

I noticed that when we want to use "New()" in itk with some type, we use
"Pointer" with that type. Like for instance:

SomeType::Pointer st = SomeType::New();

In "itk", is this always the case? Is it because in order to access the
"functions" with a a type in itk, this can only be done through pointers?

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20141024/6650cadb/attachment-0002.html>
-------------- next part --------------
_____________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/insight-users


More information about the Community mailing list