<html><head></head><body><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div><div>Hi Robby</div><div><br></div><div>Yes. vtkVector2i is a template based (generic) class, so it isn't wrapped.<br></div><div><br></div><div>You could add a couple of helper methods to VTK</div><div><span>int GetPolygonPointCount();</span><br></div><div>void GetPolygonPoint(int index, int &x, int &y);<br></div><div><br></div><div class="ydpb8f41a2signature"><div style="font-size:16px;"><div>Todd Martin, Ph.D.<br></div><div>Freelance Engineer/Software Architect.</div><br></div></div></div>
            <div><br></div><div><br></div><div>
            
            </div><div id="yahoo_quoted_4110649957" class="yahoo_quoted">
                <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                    
                    <div>
                        On Wednesday, April 11, 2018, 8:37:04 AM GMT+12, Robby Aungst <robert.aungst@gmail.com> wrote:
                    </div>
                    <div><br></div>
                    <div><br></div>
                    <div><div id="yiv9175688072"><div dir="ltr"><div><div>I'm trying to implement vtkInteractorStyleDrawPolygon in Python and I'm following the test: <a rel="nofollow" target="_blank" href="https://www.vtk.org/gitweb?p=VTK.git;a=blob;f=Rendering/Core/Testing/Cxx/TestPolygonSelection.cxx">https://www.vtk.org/gitweb?p=VTK.git;a=blob;f=Rendering/Core/Testing/Cxx/TestPolygonSelection.cxx</a><br><br></div>But, 
vtkInteractorStyleDrawPolygon 

doesn't have a method for 'GetPolygonPoints' in Python. It's in the header, source and documentation, but python doesn't know about it. Is it because it returns a vtkVector2i? I'm using VTK 8.1. Any ideas?<br><br></div>Thanks! <br></div></div>_______________________________________________<br>Powered by www.kitware.com<br><br>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br><br>Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br><br>Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" target="_blank">http://markmail.org/search/?q=vtkusers</a><br><br>Follow this link to subscribe/unsubscribe:<br><a href="https://vtk.org/mailman/listinfo/vtkusers" target="_blank">https://vtk.org/mailman/listinfo/vtkusers</a><br></div>
                </div>
            </div></div></body></html>