<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body>
<div style="font-family:'Calibri','sans-serif'">Hi,
<div><br>
<div>A quick way is to use cython to interface python and c++, see cyITK there:</div>
<div><a href="https://github.com/lantiga/cyitk">https://github.com/lantiga/cyitk</a></div>
<div><br>
</div>
<div>This is not the same as the SWIG bindings, but should be easier to setup.</div>
<div><br>
</div>
<div>Kind Regards,</div>
<div><br>
</div>
<div>Kevin</div>
<div><br>
</div>
</div>
<br>
<div id="htc_header">----- Reply message -----<br>
From: "Soren Christensen" <sorench@gmail.com><br>
To: "insight-users@itk.org" <insight-users@itk.org><br>
Subject: [ITK-users] python wrapping<br>
Date: Mon, Oct 12, 2015 19:14</div>
</div>
<br>
<div>
<div dir="ltr">Hi,
<div> I would like to export classes of my own that use ITK so that I can use them from python. What is the best way to go about this? Should I focus on learning SWIG and wrapping my class that way or is there a way to use the mechanism that ITK uses for python
wrapping directly (I realize this is SWIG too, but I figured there is some level of automation here)? Any links and pointers appreciated!</div>
<div><br>
</div>
<div>Thanks!</div>
<div>Soren</div>
</div>
</div>
</body>
</html>