<div dir="ltr"><div style>works! thanks!</div><div><br></div><div>SCRGP2$ cat Modules/Filtering/ImageFeature/wrapping/itkMaskFeaturePointSelectionFilter.wrap</div><div>itk_wrap_class(&quot;itk::MaskFeaturePointSelectionFilter&quot; POINTER_WITH_2_SUPERCLASSES)</div>
<div>  itk_wrap_image_filter(&quot;${WRAP_ITK_REAL}&quot; 1 3)</div><div>itk_end_wrap_class()</div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Apr 3, 2013 at 8:25 AM, David Fuentes <span dir="ltr">&lt;<a href="mailto:fuentesdt@gmail.com" target="_blank">fuentesdt@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks! that makes sense. I had a similar problem when using POINTER instead of POINTER_W_SUPERCLASS.<div>
<br></div><div>I saw a POINTER_W_2_SUPERCLASSES macro, but not sure if a POINTER_W_5_SUPERCLASSES was available.</div>
<div><br></div><div>I&#39;ll give it a try. </div><div>thanks again!<span class="HOEnZb"><font color="#888888"><br><div><div><br></div><div>df</div></div></font></span></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra">
<br><br><div class="gmail_quote">On Wed, Apr 3, 2013 at 7:31 AM, Bradley Lowekamp <span dir="ltr">&lt;<a href="mailto:blowekamp@mail.nih.gov" target="_blank">blowekamp@mail.nih.gov</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello David,<br>
<br>
My initial thought is that all of the superclasses are not wrapped in WrapITK with the required template parameters.<br>
<br>
Brad<br>
<div><div><br>
On Apr 2, 2013, at 6:23 PM, David Fuentes &lt;<a href="mailto:fuentesdt@gmail.com" target="_blank">fuentesdt@gmail.com</a>&gt; wrote:<br>
<br>
&gt;<br>
&gt; Hi,<br>
&gt;<br>
&gt; I&#39;m attempting to add a python wrapping for the MaskFeaturePointSelectionFilter class using:<br>
&gt;<br>
&gt; SCRGP2$ cat Modules/Filtering/ImageFeature/wrapping/itkMaskFeaturePointSelectionFilter.wrap<br>
&gt; itk_wrap_class(&quot;itk::MaskFeaturePointSelectionFilter&quot; POINTER_WITH_SUPERCLASS)<br>
&gt;   itk_wrap_image_filter(&quot;${WRAP_ITK_REAL}&quot; 1 3)<br>
&gt; itk_end_wrap_class()<br>
&gt;<br>
&gt; everything builds fine, but the Update method is missing ?<br>
&gt; I need to run update to get the feature points output.<br>
&gt; How do i expose the Update method ?<br>
&gt;<br>
&gt; In [2]: import itk<br>
&gt;<br>
&gt; In [3]: ScalarImageType  = itk.Image.F3<br>
&gt;<br>
&gt; In [4]: featureSelectionFilter = itk.MaskFeaturePointSelectionFilter[ScalarImageType].New()<br>
&gt;<br>
&gt; In [5]: featureSelectionFilter.Update()<br>
&gt; ---------------------------------------------------------------------------<br>
&gt; AttributeError                            Traceback (most recent call last)<br>
&gt; /workarea/fuentes/github/&lt;ipython-input-5-3f49bc774a25&gt;<br>
&gt; in &lt;module&gt;()<br>
&gt; ----&gt; 1 featureSelectionFilter.Update()<br>
&gt;<br>
&gt; AttributeError: &#39;itkMaskFeaturePointSelectionFilterIF3&#39; object has no<br>
&gt; attribute &#39;Update&#39;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; thanks,<br>
&gt; David<br>
</div></div>&gt; _____________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at<br>
&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Kitware offers ITK Training Courses, for more information visit:<br>
&gt; <a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the ITK FAQ at:<br>
&gt; <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
<br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>