|
a |
|
b/src/WRAP_antsApplyTransformsToPoints.cxx |
|
|
1 |
#include <nanobind/nanobind.h> |
|
|
2 |
#include <nanobind/stl/vector.h> |
|
|
3 |
#include <nanobind/stl/string.h> |
|
|
4 |
|
|
|
5 |
#include "antscore/antsApplyTransformsToPoints.h" |
|
|
6 |
|
|
|
7 |
namespace nb = nanobind; |
|
|
8 |
using namespace nb::literals; |
|
|
9 |
|
|
|
10 |
using StrVector = std::vector<std::string>; |
|
|
11 |
|
|
|
12 |
int antsApplyTransformsToPoints( std::vector<std::string> instring ) |
|
|
13 |
{ |
|
|
14 |
return ants::antsApplyTransformsToPoints(instring, NULL); |
|
|
15 |
} |
|
|
16 |
|
|
|
17 |
void wrap_antsApplyTransformsToPoints(nb::module_ &m) { |
|
|
18 |
m.def("antsApplyTransformsToPoints", &antsApplyTransformsToPoints); |
|
|
19 |
} |